Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toolbuddy/memegen
(๑•̀ㅂ•́)و✧ A meme generator ! (๑•̀ㅂ•́)و✧
https://github.com/toolbuddy/memegen
cli-tools generator meme
Last synced: about 1 month ago
JSON representation
(๑•̀ㅂ•́)و✧ A meme generator ! (๑•̀ㅂ•́)و✧
- Host: GitHub
- URL: https://github.com/toolbuddy/memegen
- Owner: toolbuddy
- License: gpl-3.0
- Created: 2018-01-21T12:08:59.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-22T02:51:30.000Z (almost 7 years ago)
- Last Synced: 2024-11-05T23:43:30.099Z (about 2 months ago)
- Topics: cli-tools, generator, meme
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/memegen
- Size: 2.7 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MemeGen
[![npm version](https://badge.fury.io/js/memegen.svg)](https://badge.fury.io/js/memegen)
[![npm downloads](https://img.shields.io/npm/dm/memegen.svg)](https://img.shields.io/npm/dm/memegen.svg)A meme generator.
![](./output/showcase.png)
# How to use
## Install
* Install globally
```bash
# 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
```bash
# 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:```bash
memegen -1 upper.png -2 lower.png -o output_dir -f output_filename -t png
```* See some example!
* Bang!
![](output/bang.png)---
### Dynamic Configuration
* [Config file format](https://github.com/toolbuddy/memegen/wiki/Configuration)* Example:
```bash
memegen -c .json -f -t png -o
```* See some example, which generate from specific configuration file!
* Cereal guy meme
* [configure file](config_cereal.json)
* `memegen -c config_cereal.json -f use_config_cereal -t png -o output`
![](output/use_config_cereal.png)
* Peter parker meme
* [configure file](config.json)
* `memegen -c config.json -f use_config -t png -o output`
![](output/use_config.png)* or just using `--help`:
```bash
memegen --help
```