Skip to content

toolbuddy/memeGen

Repository files navigation

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

About

(๑•̀ㅂ•́)و✧ A meme generator ! (๑•̀ㅂ•́)و✧

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published