A Hubot script to meme generation with imgflip API
npm i -S hubot-memegeneration
add ["hubot-memegeneration"]
to external-scripts.json
.
Signup in imgflip (https://imgflip.com/signup) and set environment variables.
export IMGFLIP_USERNAME=<your imgflip username>
export IMGFLIP_PASSWORD=<your imgflip password>
hubot meme templates
- Get all templates availables
hubot meme generate <name> <text>
- Generate a meme with <name> and text on the bottom
hubot meme add <name> <id>
- Add new template with name and id