<commit_before># gofollow
Follow Twitter users based on a search term

# Installation
This requires a working Go environment to run. Follow the steps [here](http://golang.org/doc/install) to install the Go environment.

Once Go is running, you can download and build the application using the following command:

<code>$ go get github.com/kompiuter/gofollow</code>

The executable can then be found under
<code>%GOPATH%\bin</code>

# About
Running this command will go and follow users on Twitter which are related to the search term that you provide. It will prioritise following users based on user search (which tend to be more relevant) and once there are no more users are found through user search it will go ahead and find users based on their tweets.

This is one of my first projects in Go so any feedback and/or PR's would be greatly appreciated.

# Usage
Get your keys from [Twitter](https://apps.twitter.com/), then set the following environment variables:
- TWITTER_CONSUMER_KEY
- TWITTER_CONSUMER_SECRET
- TWITTER_ACCESS_TOKEN
- TWITTER_ACCESS_TOKEN

How to set environment variables in [Windows systems](http://ss64.com/nt/set.html) and [Unix systems](http://www.cyberciti.biz/faq/set-environment-variable-unix/)



To follow users related to Go:

<code>$ gofollow -s golang</code>

To follow users related to JS & Angular:

<code>$ gofollow -s "javascript, angular"</code>

By default it will follow a maximum of 50 users. To change the maximum, use the ``-max`` flag:

<code>$ gofollow -s google -max 15 <commit_msg>Removed extra line from readme<commit_after># gofollow
Follow Twitter users based on a search term

# Installation
This requires a working Go environment to run. Follow the steps [here](http://golang.org/doc/install) to install the Go environment.

Once Go is running, you can download and build the application using the following command:

<code>$ go get github.com/kompiuter/gofollow</code>

The executable can then be found under
<code>%GOPATH%\bin</code>

# About
Running this command will go and follow users on Twitter which are related to the search term that you provide. It will prioritise following users based on user search (which tend to be more relevant) and once there are no more users are found through user search it will go ahead and find users based on their tweets.

This is one of my first projects in Go so any feedback and/or PR's would be greatly appreciated.

# Usage
Get your keys from [Twitter](https://apps.twitter.com/), then set the following environment variables:
- TWITTER_CONSUMER_KEY
- TWITTER_CONSUMER_SECRET
- TWITTER_ACCESS_TOKEN
- TWITTER_ACCESS_TOKEN

How to set environment variables in [Windows systems](http://ss64.com/nt/set.html) and [Unix systems](http://www.cyberciti.biz/faq/set-environment-variable-unix/)



To follow users related to Go:

<code>$ gofollow -s golang</code>

To follow users related to JS & Angular:

<code>$ gofollow -s "javascript, angular"</code>

By default it will follow a maximum of 50 users. To change the maximum, use the ``-max`` flag:

<code>$ gofollow -s google -max 15
{'fraction_non_alphanumeric': 0.07787151200519143, 'fraction_numerical': 0.003893575600259572, 'mean_word_length': 4.48576512455516, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3884483', 'n_tokens_mistral': 913, 'n_tokens_neox': 858, 'n_words': 414}