Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jade-bot

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jade-bot

A Twitter retweet and favorite bot

  • 2.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Jade-Bot

Greenkeeper badge Build Status Known Vulnerabilities ISC License

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 test

Jade-bot is also available on npm:

npm install --global jade-bot

Get 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=30

Start the bot

That's all the set up! Now just run

$ npm start

For 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.

This bot was created with the help of Spences10's Node.js Twitter bot bootstrap, and with inspiration from @amanhimself.

FAQs

Package last updated on 12 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc