Giter Club home page Giter Club logo

rbtv-reddit's Introduction

rbtv-reddit

A collection of reddit bots for www.reddit.com/r/rocketbeans

Installation and configuration:

Instructions are for a linux based OS with git, node and npm installed, tested under Debian Strech and Ubunutu 18.04

  1. Clone Repo: git clone https://github.com/leepeuker/rbtv-reddit
  2. Install dependencies: cd rbtv-reddit && npm install
  3. Configure app in 'config/default.json'
  4. Run app in the foreground with node app.js or as a background process with npm start
  5. Logs generated by node (eg if app crashes) can be found in 'logs/app.log', logs generated by the app can be found in 'logs/main.log'

Config tips

  • You can rename a configured reddit account (change 'account_1' to whatever you want, don't forget to replace the 'redditAccount' name in the bots section, too)
  • You can configure multiple reddit accounts
  • To use a reddit account you need a clientId and the clientSecret beside the username and password. You need to register the app to get these. Go to https://old.reddit.com/prefs/apps/ and select "Create another app...", give it a name, choose the "script" option and provide an 'redirect uri'
  • You can change the subreddit a bot posts to for testing (change "subreddit" to whatever subreddit you want)
  • The schedule statement follows the standard crontab syntax

To-do:

  • Better Error Handling
  • Tests

rbtv-reddit's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.