Skip to content

salcido/reddibot

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published