captbaritone / urlmeme

A meme generator where the URL is the user interface

Home Page:http://urlme.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

urlme.me

A meme generator where the URL is the user interface.

http://urlme.me/<meme_image>/<top_text>/<bottom_text>.<ext>

How?

I keep a list of meme images which I think make the cut in memes.json. I then use fuzzywuzzy comparison to find the closes meme to the image you specified.

Ussage

Some additional features are offered, also via the URL:

  • Request a meme with the extension .json to get results in the form: {"image": "success-kid", "top": "typed a url", "bottom": "made a meme"}.
  • Pass query params ?host=imgur to have the image uploaded to Imgur and then have your request 301 redirected to that Imgur URL.

Setup

pip install -r requirements.txt
python url.py

Run the tests

python tests.py

Contribute

If there is a popular meme image that you think I'm missing, please either file an issue, or open a pull request. To add an image, simply add the image to:

templates/memes/

And then add a reference to memes.json and include at least one name for that meme image.

About

A meme generator where the URL is the user interface

http://urlme.me

License:MIT License


Languages

Language:JavaScript 43.3%Language:Python 23.9%Language:CSS 20.6%Language:HTML 11.7%Language:Shell 0.3%Language:Makefile 0.2%