Copy the config-sample.py to config.py and fill in the appropriate values
Example nginx and supervisor config scripts are in the hosting folder.
You can then go to your Slack team's integration page and:
- Add an Incoming Webhook. Get the URL Slack provides and add it in the
config.pyfile (seeconfig-sample.pyfor the format). - Add a Slash Command. For instance,
/rec, and point it to the root of the app. For instance, if you're hosting it atdarkreads.myserver.com, point the slash command tohttp://darkreads.myserver.com/.
Just use whatever slash command you specified with the following syntax:
/rec link title ^category
e.g.
/rec https://thephilosophersmeme.com/ The Philosopher's Meme ^memes
darkreads will keep track of who's recommended what for you