reddark-remix / reddark-remix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reddark Remix

I got annoyed by the backend of https://github.com/Tanza3D/reddark crashing. So I wrote my own backend. Frontend is still from there and very much theirs.

This code is awful and was written hastily.

Subreddits

Reddark pulls the list of participating subreddits from the threads on r/ModCoord. If you are the moderator of a sub that is going dark and that is not displayed on Reddark, reply to the aforementioned thread to be counted as participating.

SubManagerBot

If you have already commented your sub below or your sub is already on the list and now going private, please do NOT send a modmail - if you comment here, your sub will be on the list.

Running it yourself

You'll need a redis instance running at localhost. Also have rust installed and working. (https://rustup.rs is good) Then run the process to import the subreddit list from /r/ModCoord:

cargo run --release -- update-subreddit-list

Next you run the process that checks for subreddit updates:

cargo run --release -- updater --rate-limit 500

Finally, the web server:

cargo run --release -- server

The latter process stays running. The other two exit. Run the updater again to process updated status and get events to fire to frontend. If you want to edit the templates, you have to restart the webserver after each edit.

About

License:GNU Affero General Public License v3.0


Languages

Language:Rust 50.6%Language:CSS 20.2%Language:JavaScript 15.0%Language:HTML 13.2%Language:Dockerfile 1.0%