This is a framework for creating simple Twitter bots in node. It uses the straightforward Twit library to access Twitter's streaming API.
git clone https://github.com/michalkow/simple-retweet-bot.git && cd simple-retweet-bot && npm install- Create an application on http://dev.twitter.com
- Generate the necessary tokens.
- Copy
config.js-disttoconfig.js - Put your tokens in
config.js - Put some keywords for your bot to follow in the
keywordsarray inconfig.js - Add whatever logic you want to the
validandresponsefunctions inconfig.js node bot.js > output.log &
To the extent possible under law, Ryan Freebern has waived all copyright and related or neighboring rights to this work. CC0