Skip to content
Informs you when RD decisions come out (2020).
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
core
model
.gitattributes
.gitignore
README.md
bot2db.js
config.js
index.js
keys_example.json
package-lock.json
package.json
unis.csv

README.md

rdapp

Informs you when RD decisions come out (2020).

Installation and Setup

  1. Install Node.js from here (if it's not already installed).
  2. Copy keys_example.json to keys.json.
  3. Fill the values in keys.json. You can get a Telegram token from the BotFather bot on Telegram, and reddit app settings and reddit-oauth-helper can help with the other Reddit tokens.
  4. Run npm install to install dependencies.
  5. Run node . to start the program.

Updating university list

The university list is stored in uni.csv file in the name,thread format. Here name is the friendly name for the university, and thread is the t3_?????? Reddit thread link for the megathreads.

NOTE: When running, the program creates a rderbot.json storing user university selections by thread, and there is currently no way to remove invalid threads if the university list is modified, which can lead to unexpected behaviour.

Upgrading

A previous version of the program used a rderbot.json file. To upgrade, run node bot2db to generate the new rderDB.json file.

Porting to other platforms

Although I have not attempted this, you can try porting Rder to other platforms beyond Telegram (such as Discord). Like in core/Telegram.js, the platform-specific code can inherit and implement the methods in model/Platform.js. Then, by replacing this.telegram in index.js, Rder should theoretically be compatible with your platform of choice.

You can’t perform that action at this time.