<commit_before># Twitter bot bootstrap

[![Greenkeeper badge](https://badges.greenkeeper.io/spences10/twitter-bot-bootstrap.svg)](https://greenkeeper.io/) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](http://opensource.org/licenses/MIT) [![Chat](https://badges.gitter.im/awesome-twitter-bots/Lobby.svg)][gitter-url]

<!--links-->
[gitter-url]: https://gitter.im/awesome-twitter-bots/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

<details>
  <summary>Click to expand TOC</summary>

<!-- TOC -->

- [Twitter bot bootstrap](#twitter-bot-bootstrap)
  - [What you'll need](#what-youll-need)
  - [Setup twitter](#setup-twitter)
  - [Setup development environment](#setup-development-environment)
  - [Node 8](#node-8)
  - [Set up the bot](#set-up-the-bot)
  - [Project structure](#project-structure)
  - [Node dependencies](#node-dependencies)
  - [Deploy with now](#deploy-with-now)
  - [Handy tip](#handy-tip)
  - [Links](#links)
  - [License](#license)

<!-- /TOC -->

</details>

>Since doing this initial guide I have discovered the awesomeness of Zeit's now, the master branch of this project will now use `now` for deployment, if you want to use Heroku you can refer to the [deploy with Heroku][dep-with-heroku] branch :+1:.

<!--link-->
[dep-with-heroku]: https://github.com/spences10/twitter-bot-bootstrap/tree/deploy-with-heroku 

This is a bootstrap for setting up a simple Twitter bot with Node.js using the `twit` module. The bot will retweet what you specify when configuring it. It will also reply to followers with a selection of canned responses.

As a primer for this, there is a great post by [@amanhimself](https://twitter.com/amanhimself) on making your own twitter bot. This is an expansion on that with further detail on configuration and deployment with `now`.

Before starting the clock you'll need to set up some accounts if you don't have them already.
<commit_msg>Deleted deploy with heroku somehow 🙃<commit_after># Twitter bot bootstrap

[![Greenkeeper badge](https://badges.greenkeeper.io/spences10/twitter-bot-bootstrap.svg)](https://greenkeeper.io/) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](http://opensource.org/licenses/MIT) [![Chat](https://badges.gitter.im/awesome-twitter-bots/Lobby.svg)][gitter-url]

<!--links-->
[gitter-url]: https://gitter.im/awesome-twitter-bots/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

<details>
  <summary>Click to expand TOC</summary>

<!-- TOC -->

- [Twitter bot bootstrap](#twitter-bot-bootstrap)
  - [What you'll need](#what-youll-need)
  - [Setup twitter](#setup-twitter)
  - [Setup development environment](#setup-development-environment)
  - [Node 8](#node-8)
  - [Set up the bot](#set-up-the-bot)
  - [Project structure](#project-structure)
  - [Node dependencies](#node-dependencies)
  - [Deploy with now](#deploy-with-now)
  - [Handy tip](#handy-tip)
  - [Links](#links)
  - [License](#license)

<!-- /TOC -->

</details>

This is a bootstrap for setting up a simple Twitter bot with Node.js using the `twit` module. The bot will retweet what you specify when configuring it. It will also reply to followers with a selection of canned responses.

As a primer for this, there is a great post by [@amanhimself](https://twitter.com/amanhimself) on making your own twitter bot. This is an expansion on that with further detail on configuration and deployment with `now`.

Before starting the clock you'll need to set up some accounts if you don't have them already.

{'fraction_non_alphanumeric': 0.14562289562289563, 'fraction_numerical': 0.0030864197530864196, 'mean_word_length': 4.5271317829457365, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 19, 'https://': 13, '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': '2158090', 'n_tokens_mistral': 1174, 'n_tokens_neox': 1099, 'n_words': 321}