For monitoring keywords on Bitcointalk, and posting them to Slack.
Forked with the following improvements:
- Straightforward Heroku deployment
- Code cleanup and standardization
Setup the virtual environment, and run:
$ mkvirtualenv bitcointalkbot -p `which python3`
$ pip install -r requirements.txt
$ python crawler.py
Push the app to Heroku:
$ heroku create my-application-name
$ git push heroku master
$ heroku ps:scale bot=1
The following config vars are required:
KEYWORDS
: a comma separated list of keywords to listen onSLACK_API_TOKEN
: Slack authentication token (get one at https://synereo.slack.com/services/new/bot)SLACK_USERNAME
: Username for bot on SlackSLACK_CHANNEL
: Channel to post updates on Slack