A meme generator where the URL is the user interface.
https://urlme.me/<meme_image>/<top_text>/<bottom_text>.<ext>
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.
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.
pip install -r requirements.txt
python url.py
python tests.py
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.