Regularly fetches twitter stats and sends them to librato.
Groot is meant to run on heroku. Installing it is pretty easy.
You will first need to create a twitter oauth app.
With the created app, you will also need to create your own access token so you can be authenticated into your account.
heroku create
heroku config:set BUILDPACK_URL=https://github.com/kr/heroku-buildpack-go.git#go1.2
heroku config:set LIBRATO_EMAIL=<your librato email>
heroku config:set LIBRATO_TOKEN=<your librato token>
heroku config:set TWITTER_ACCESS_SECRET=<your twitter oauth app access secret>
heroku config:set TWITTER_ACCESS_TOKEN=<your twitter oauth app access token>
heroku config:set TWITTER_ACCOUNTS=<the twitter accounts you want to track, separated by a comma>
heroku config:set TWITTER_OAUTH_KEY=<your twitter oauth key>
heroku config:set TWITTER_OAUTH_SECRET<your twitter oauth secret>
git push heroku
That's all!
- Fork the repository
- 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
) - Create a new Pull Request
Groot is released under the MIT license. See LICENSE