Coder Social home page Coder Social logo

ntwitbot's Introduction

NTwitBot | Build Status Coverage Status Maintainability tested with jest

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]..)

Features

  • JSON based configuration
  • Track multiple users (bot tracks tweets of any user that it's following)
  • Replies to mentions
  • More features coming..

Installation & Setup

$ 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"
};

Usage

$ npm start

Contributing

Pull requests are welcome. Before a PR please npm run test to ensure all tests pass.

License

This app is licensed under MIT.

ntwitbot's People

Contributors

ciolt avatar jordansne avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ntwitbot's Issues

Unacceptable Garbage

Stop this madness

This is too much for the Twitter API to handle, will get rate limited within seconds.

Add additional options for configuration

There is configuration missing for:

  • Tweet capitalization
  • Tweeting interval
  • Option to use Markov or classic Tweet generation
  • Minimum word count (no more than 140, and no less than 1)
  • Maximum character count (no more than 280, and no less than 1)
  • Callbacks for onMention, onRetweet, onLike, onFollow, etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.