Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaronpk/meme-api
An API and TikTokBot integration that implements a !meme command to generate a meme image
https://github.com/aaronpk/meme-api
irc meme slack tiktokbot
Last synced: 12 days ago
JSON representation
An API and TikTokBot integration that implements a !meme command to generate a meme image
- Host: GitHub
- URL: https://github.com/aaronpk/meme-api
- Owner: aaronpk
- Created: 2016-07-07T01:51:13.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2023-01-03T14:53:05.000Z (almost 2 years ago)
- Last Synced: 2024-04-12T19:53:04.653Z (7 months ago)
- Topics: irc, meme, slack, tiktokbot
- Language: Ruby
- Homepage:
- Size: 2.69 MB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Meme API
========
An API and TikTokBot integration that implements a !meme command to generate a meme imageUsage
=====You can explicitly invoke the meme generator from Slack or IRC by saying `!meme ...`
The top text is the message before the first '.' is encountered. Unless there is no '.', then all of the text is put on the bottom of the image. You can also explicitly set the top and bottom text by separating with `|`.
The default image is the Aliens guy if no image is specified:
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://meme.loqi.me/img/most_interesting.jpg]
!meme Top | Bottom [http://meme.loqi.me/img/most_interesting.jpg]
!meme Top | Bottom [largest bunny]
Auto-detecting memes
====================Certain sentences will be auto-matched according to the regexes in [memes.json](api/memes.json), and memes will be created without explicitly using the
!meme
command.Feel free to add new meme templates to the config!