jade-bot v2.0.3
Jade-Bot
Jade-bot is a Node-based Twitter bot which automates the process of Twittering for @jmthorntonwhat.
This doesn't mean there's never a human behind my Twitter account, just some of my account.
Installation
Set up the bot
$ git clone <https://github.com/Raindeer44/jade-bot.git>
$ cd jade-bot/
$ npm
$ npm testJade-bot is also available on npm:
npm install --global jade-botGet API keys
Set up an application on the Twitter account you want to use: https://apps.twitter.com/app/new. Add to the .env file:
- Consumer Key (API Key)
- Consumer Secret (API Secret)
- Access Token
- Access Token Secret
.env also needs the rate at which you want the bot to retweet (in minutes).
For example, .env might look something like
CONSUMER_KEY=Fw***********P9
CONSUMER_SECRET=TD************Cq
ACCESS_TOKEN=31**************UC
ACCESS_TOKEN_SECRET=r0************S2
TWITTER_RETWEET_RATE=30Start the bot
That's all the set up! Now just run
$ npm startFor continuous usage, either run on a server (if you happen to have one lying around) or deploy to Heroku, a serverless architecture or a similar service.
Contributing
Please fork this repository and contribute back using pull requests.
Any contributions, large or small, major features, bug fixes and integration tests are welcomed and appreciated but will be thoroughly reviewed and discussed.
Links
This bot was created with the help of Spences10's Node.js Twitter bot bootstrap, and with inspiration from @amanhimself.