0.1.1 • Published 6 years ago

memegen v0.1.1

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
6 years ago

MemeGen

npm version npm downloads

A meme generator.

npm.io

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! npm.io

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 npm.io
    • Peter parker meme
  • or just using --help:

memegen --help