New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 - npm Package Compare versions

Comparing version 1.1.4 to 2.0.0

.babelrc

27

package.json
{
"name": "jade-bot",
"version": "1.1.4",
"description": "twitter bot",
"main": "bot.js",
"version": "2.0.0",
"description": "A Twitter retweet and favorite bot",
"main": "index.js",
"scripts": {
"start": "node bot.js",
"test": "mocha"
"start": "node index.js",
"compile": "babel src/ -d lib/",
"flow": "node_modules/flow-bin/vendor/flow",
"test": "yarn run compile && node_modules/snyk/cli/index.js test && node test.js",
"protect": "node_modules/snyk/cli/index.js --yes",
"prepare": "yarn run protect"
},
"author": "Jade Thornton",
"author": "Jade M Thornton",
"license": "MIT",
"dependencies": {
"dotenv": "^4.0.0",
"flow-bin": "^0.58.0",
"snyk": "^1.47.0",
"twit": "^2.2.5",

@@ -17,8 +24,6 @@ "unique-random-array": "^1.0.0"

"devDependencies": {
"mocha": "^3.2.0"
"babel-cli": "^6.26.0",
"babel-preset-flow": "^6.23.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Raindeer44/jade-bot.git"
},
"repository": "git+https://github.com/Raindeer44/jade-bot.git",
"bugs": {

@@ -25,0 +30,0 @@ "url": "https://github.com/Raindeer44/jade-bot/issues"

@@ -1,9 +0,59 @@

# Jade Bot
# Jade-Bot
Jade-bot is a Node.js Twitter bot which automates the process of Twittering for [@jmthorntonwhat](https://twitter.com/jmthorntonwhat). It basically favorites and retweets for me, among other small tasks.
[![Build Status](https://travis-ci.org/Raindeer44/jade-bot.svg?branch=master)](https://travis-ci.org/Raindeer44/jade-bot) [![Known Vulnerabilities](https://snyk.io/test/github/raindeer44/jade-bot/badge.svg)](https://snyk.io/test/github/raindeer44/jade-bot) [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/Raindeer44/jade-bot/master/LICENSE)
This doesn't mean there's never a Human behind my Twitter account, just some of my account.
Jade-bot is a Node-based Twitter bot which automates the process of Twittering for [@jmthorntonwhat](https://twitter.com/jmthorntonwhat).
This Jade bot was created with the help of [Spences10](https://github.com/spences10)'s Node.js [Twitter bot bootstrap](https://github.com/spences10/twitter-bot-bootstrap), and with inspiration from [@amanhimself](https://twitter.com/amanhimself).
This doesn't mean there's never a human behind my Twitter account, just some of my account.
Copyright (c) 2017 Jade Thornton
## Installation
### Set up the bot
```bash
$ git clone <https://github.com/Raindeer44/jade-bot.git>
$ cd jade-bot/
$ yarn
$ yarn test
```
### Get API keys
Set up an application on the Twitter account you want to use: [https://apps.twitter.com/app/new](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
```bash
$ yarn 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.
### Links
This bot was created with the help of [Spences10](https://github.com/spences10)'s Node.js [Twitter bot bootstrap](https://github.com/spences10/twitter-bot-bootstrap), and with inspiration from [@amanhimself](https://twitter.com/amanhimself).

Sorry, the diff of this file is not supported yet

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