A simple slack chat bot to summarize a channel content for you (TL;DR).
pip install slackbot
pip install nltk
pip install breadability
pip install docopt
pip install requests
First you need to get the slack api token for your bot. You have two options:
- If you use a bot user integration of slack, you can get the api token on the integration page.
- If you use a real slack user, you can generate an api token on slack web api page.
You need to configure the API_TOKEN
in a python module tldr.py
and test_slacker.py
.
cd src
make run
- Use env variables correctly (For slack token + Slacker)
- See minor TODO(s) in the
tldr.py