Skip to content

Latest commit

 

History

179 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddibot

hella whoas hella borks hella meows hella whoas Twitter Follow

A Twitter bot that mirrors top posts from various subreddits to twitter.com.

https://twitter.com/reddibot

Buy Me A Coffee

Current subreddits include:

  • animalsbeingderps
  • aww
  • awwducational
  • engineeringporn
  • expectationvsreality
  • eyebleach
  • ilikthebred
  • imaginarylandscapes
  • natureisfuckinglit
  • nocontext
  • perfectfit
  • rarepuppers
  • showerthoughts
  • spaceporn
  • superbowl
  • whatswrongwithyourdog
  • woahdude

Prerequisites

  • Your own Twitter account with an app created using https://apps.twitter.com/.

    • Go to https://apps.twitter.com/ and click "Create new app"
    • Fill out the form with the required information
    • Click "Create your Twitter application"
  • A .env file at the root of the application that contains the API keys provided by Twitter when your app was created.

Note: Your .env file should look something like this (replace XXXXXX with the keys provided by Twitter):

CONSUMER_KEY=XXXXXX
CONSUMER_SECRET=XXXXXX
ACCESS_TOKEN=XXXXXX
ACCESS_TOKEN_SECRET=XXXXXX

Installation

  • git clone https://github.com/salcido/reddibot.git (this repository)
  • change into the new directory
  • npm install

Running / Development

  • Start the bot:
    • npm start

Testing

  • Running the tests:
    • npm test

Built With

  • Node-Fetch - Window.fetch for Node
  • Sharp - Image processing
  • Twit - Twitter API client for Node

Author

License

This project is licensed under the GPL License - see the LICENSE file for details

About

A Twitter bot that mirrors top posts from various subreddits to twitter.com

Topics

Resources

Stars

11 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages