https://github.com/zackify/memeify
A slack bot that generates memes from photos you choose!
https://github.com/zackify/memeify
Last synced: 11 months ago
JSON representation
A slack bot that generates memes from photos you choose!
- Host: GitHub
- URL: https://github.com/zackify/memeify
- Owner: zackify
- Created: 2015-09-20T01:55:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-29T09:54:55.000Z (over 10 years ago)
- Last Synced: 2025-03-15T05:08:19.998Z (12 months ago)
- Language: JavaScript
- Size: 141 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
##Memeify
Memeify is a bot that will automatically generate memes when a user types `zackify this is, so cool`. The bot will look for a folder called `zackify` inside of your memes directory and then grab a random picture from that folder. You can have a single image inside the folder, or 100, it will randomly select one and create the meme.
##Setup
Install caption and [set it up](https://github.com/jesseditson/node-caption)
```
npm install caption -g
npm install memeify -g
memeify // will start the bot!
```
Make a config.json file that will have the following info:
```
{
"botToken": "slack bot token",
"userToken": "slack user token",
"directory": "./memes/" //directory to your memes, with trailing slash
}
```
Put this in the directory that you'll be running `memeify` from. All you need to do is run `memeify` in a terminal window, it'll look for the config in the current directory and start listening!
The reason for generating a user token is because bot users are not allowed to upload files to slack.
The way I use this is I put the meme's folder on Dropbox and let everyone have access to it.