memegen

0.1.1 • Public • Published

MemeGen

npm version npm downloads

A meme generator.

How to use

Install

  • Install globally
# switch to root
$ sudo su
# and then install with option "--unsafe-perm"
$ npm install memegen --unsafe-perm --verbose memegen -g
# use 
$ memegen --help
  • Or use it locally
# install  
$ npm install memegen --save
# use (under same directory you use install command) 
$ node node_modules/memegen/main.js --help

Usage

Static Template (For Drake meme)

  • Example:
memegen -1 upper.png -2 lower.png -o output_dir -f output_filename -t png
  • See some example!
    • Bang!

Dynamic Configuration

memegen -c <config>.json -f <output_file_name> -t png -o <output_dir>
  • See some example, which generate from specific configuration file!

    • Cereal guy meme
      • configure file
      • memegen -c config_cereal.json -f use_config_cereal -t png -o output
    • Peter parker meme
      • configure file
      • memegen -c config.json -f use_config -t png -o output
  • or just using --help:

memegen --help

Readme

Keywords

Package Sidebar

Install

npm i memegen

Weekly Downloads

0

Version

0.1.1

License

GPL-3.0

Last publish

Collaborators

  • kevinbird61