NTwitBot is an ongoing twitter ebooks bot project written in Node. It generates sentences from other user's tweet using a Markov's chain.
It is currently in beta stage and therefore might carry bugs and unintended actions (example: replying to every mention that exists on a clean run all at once [will be fixed]..)
- JSON based configuration
- Track multiple users (bot tracks tweets of any user that it's following)
- Replies to mentions
- More features coming..
$ git clone https://github.com/jordansne/ntwitbot
$ cd ntwitbot
$ npm install
Next you will need to create an app with Twitter. Twitter will provide you with a consumer key & secret and access key & secret. This should be added to config/secret.js. Example:
// config/secret.js
module.exports = {
"consumer_key" : "SQzVswCxkuZxkSsIilpkaeZOVVyDxRrWVFpHQjzI",
"consumer_secret": "nNguyAftInTJxCdVxliBCgClETnkfZFuJABHgyKh",
"access_token_key": "jkiUfXmRegiPHEZemJwsUFZmCWPokCxEJAnpmIdz",
"access_token_secret": "ILdlTtmPABFfixUBfivuMbFRojKkrlKkoLzhSZAn"
};
$ npm start
Pull requests are welcome. Before a PR please npm run test
to ensure all tests pass.
This app is licensed under MIT.