JavaScript Ruby HTML
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 29 commits ahead, 4 commits behind aranasaurus:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
api
htdocs
README.md
config.js
meme.js

README.md

MOVED

The functionality of this project has moved to https://github.com/aaronpk/Meme-API and is no longer based on ZenIRCBot.

zenircbot-meme

A zenircbot service that implements a !meme command to generate a meme img

Usage

Top text is filled with message before the first '.' is encountered. Unless there is no '.', then all of the text is put on the bottom of the image.

Default image is the Aliens guy:

You can override the default image by putting an image url or search term after the message surrounded by [].

Examples

!meme I don't always test my code. | But when I do, I do it in production [http://memecaptain.com/most_interesting.jpg]

!meme Top | Bottom [http://memecaptain.com/most_interesting.jpg]

!meme Top | Bottom [largest bunny]

Auto-detecting memes

Certain sentences will be auto-matched according to the regexes in config.js, and memes will be created without explicitly using the !meme command.

Feel free to add new meme templates to config.js!

Note

The service will also send topic messages to the !meme command on topic change, if your version of zenircbot supports it. I have a fork of it on my github, which supports it, and will update here after I send a pull request to wraithan.

Also it uses http://memecaptain.com for the meme genereation. You could theoretically run that on your own server using https://github.com/mmb/meme_captain