101atron | Saving activists time , one bot at a time

 by   FeelTrainCoop JavaScript Version: Current License: MIT

kandi X-RAY | 101atron Summary

kandi X-RAY | 101atron Summary

101atron is a JavaScript library typically used in Nodejs applications. 101atron has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Before you run the bot, it's useful to understand how it's architected. The bot consists of two executable files: index.js and watcher.js. watcher.js is designed to be always running in the background. This is the process that watches for users "invoking" the bot and for users following the bot. It's always listening to Twitter. When a user tweets something like "hey @101atron tell @tinysubversions about cats", this file registers the event and then composes a tweet that is pushed to our Redis database. Importantly, this file does not ever tweet: it just queues tweets up in a database. index.js is where the tweeting happens, and is a much simpler piece of code. This file is meant to be executed via a cron job or other scheduler. If you set it to run every five minutes, then every five minutes the code will look at the database, see if there's a tweet it's supposed to tweet, and then posts it to Twitter.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              101atron has a low active ecosystem.
              It has 35 star(s) with 6 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 2 have been closed. On average issues are closed in 22 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of 101atron is current.

            kandi-Quality Quality

              101atron has 0 bugs and 0 code smells.

            kandi-Security Security

              101atron has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              101atron code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              101atron is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              101atron releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed 101atron and discovered the below as its top functions. This is intended to give you an instant insight into 101atron implemented functionality, and help decide if they suit your requirements.
            • populate a follow - queue
            • function to update the data
            • Pops a new queue .
            Get all kandi verified functions for this library.

            101atron Key Features

            No Key Features are available at this moment for 101atron.

            101atron Examples and Code Snippets

            No Code Snippets are available at this moment for 101atron.

            Community Discussions

            No Community Discussions are available at this moment for 101atron.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install 101atron

            To install and run 101atron you need the following software:. This has only been tested on OSX and Ubuntu 14.04 LTS. It might work on Windows but I haven't checked.
            Node.js v0.10+.
            redis. This is the database software used to track state.
            Clone this repository locally:. or just download the zip and extract it.
            At this point you need to register a Twitter account and also get its "app info". So create a Twitter account for your bot. Twitter doesn't allow you to register multiple twitter accounts on the same email address. I recommend you create a brand new email address (try using Gmail) for the Twitter account. Once you register the account to that email address, wait for the confirmation email. Next, open the Twitter profile for the bot and associate a mobile phone number with it. You have to do this in order to register an application. If you only have one mobile phone number and it's already used on a different account, don't sweat it: just disconnect the phone from the other account and connect it to the bot for now. Once you're done registering the app, you can disconnect again and reconnect the phone to the previous account.
            Take a look at the default 101atron spreadsheet. It consists of four tabs: Links, Users, Responses, and Follow Rewards. The spreadsheet itself is pretty well documented -- just open up each tab and read the description of what it does to familiarize yourself with it. Right now the bot is set up to use this exact spreadsheet. You can see in the URL that there is a long string of characters -- this is the "spreadsheet key", and it matches what's currently set in config.js for spreadsheetKey.
            If you want this to run reliably and permanently, I recommend the following setup:.
            run the bot on a remote server of some kind so it can run 24/7.
            use a process monitoring program like forever to run watcher.js. This will automatically restart watcher.js if it crashes for some reason.
            run your redis DB and watcher.js (via forever or similar) on reboot.
            run index.js via cron or a similar scheduler, and don't have it run more than once a minute (otherwise you'll run into Twitter rate limits).

            Support

            This is pretty complex, so feel free to post any questions you might have in our issues page.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/FeelTrainCoop/101atron.git

          • CLI

            gh repo clone FeelTrainCoop/101atron

          • sshUrl

            git@github.com:FeelTrainCoop/101atron.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular JavaScript Libraries

            freeCodeCamp

            by freeCodeCamp

            vue

            by vuejs

            react

            by facebook

            bootstrap

            by twbs

            Try Top Libraries by FeelTrainCoop

            shortcut

            by FeelTrainCoopJavaScript

            supermute

            by FeelTrainCoopJavaScript