This is a backend for Gitter (http://gitter.im) for errbot (http://errbot.io).
It allows you to use errbot from Gitter.
git checkout https://github.com/errbotio/err-backend-gitter.git
and add:
BACKEND = 'Gitter'
BOT_EXTRA_BACKEND_DIR = '/path_to/err-backend-gitter'
to your config.py
From there you have can either add an application or use a personal token from a user reserved to the bot.
- pip install bottle requests
- execute the script: ./oauth.py and it will guide you
- authenticate as the bot user (new incognito window helps ;) )
- go visit https://developer.gitter.im/apps
- use directly the token like this in you config.py
BOT_IDENTITY = {
'token' : '54537fa855b9a7bbbbbbbbbc568ea7c069d8c34d'
}
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D