hubot-memegeneration

3.0.0 • Public • Published

hubot-memegeneration

npm version npm downloads Build Status Coverage Status Code Climate devDependency Status

A Hubot script to meme generation with imgflip API

Installation

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>

Examples

hubot meme templates - Get all templates availables

hubot meme generate <template_name> <text> - Generate a meme with text on the bottom hubot meme generate <template_name> <text 1>|<text 2> - Generate a meme with text on the top (text1) and text on the bottom (text2)

hubot meme add <name> <id> - Add new template with name and id

How find new templates

Go to https://imgflip.com/memesearch.

Search image Select image Get id of image

License

MIT

Package Sidebar

Install

npm i hubot-memegeneration

Weekly Downloads

4

Version

3.0.0

License

MIT

Unpacked Size

23.1 kB

Total Files

7

Last publish

Collaborators

  • lgatica