Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adamgeorgeson/slack_meme

Generate Memes using the ImgFlip API directly in Slack
https://github.com/adamgeorgeson/slack_meme

golang heroku imgflip memes slack slackbot

Last synced: about 14 hours ago
JSON representation

Generate Memes using the ImgFlip API directly in Slack

Awesome Lists containing this project

README

        

# SlackMeme

Generate Memes using the ImgFlip API directly in Slack.

### Setup

Example of setting up with Heroku.

```
git clone [email protected]:adamgeorgeson/slack_meme.git
cd slack_meme
heroku create -b https://github.com/kr/heroku-buildpack-go.git
```

Manage your Slack Integrations.
- Create a Slash Command with `/meme` setting the URL to the Heroku deployment.
- Create an Incoming Webhook.

Register with ImgFlip.

```
heroku config:set SLACK_TOKEN=
heroku config:set IMGFLIP_USERNAME=
heroku config:set IMGFLIP_PASSWORD=
git push heroku master
```
### Usage

```
/meme list # Returns the ImgFlip URL for top 100 Meme template IDs
/meme 405658 top: Another Slack Bot? bottom: I Hate It
```