<commit_before># Groot

Regularly fetches twitter stats and sends them to librato.

## Contributing

1. Fork the repository<commit_msg>add installation instructions to the readme<commit_after># Groot

Regularly fetches twitter stats and sends them to librato.

### Installing

Groot is meant to run on heroku. Installing it is pretty easy.

You will first need to create a [twitter oauth app](https://apps.twitter.com/app/new).  
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!

## Contributing

1. Fork the repository
{'fraction_non_alphanumeric': 0.0691358024691358, 'fraction_numerical': 0.0032921810699588477, 'mean_word_length': 5.572972972972973, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7496614', 'n_tokens_mistral': 406, 'n_tokens_neox': 383, 'n_words': 142}