reddit_site_stats
reddit_site_stats copied to clipboard
Tracking and visualizing the scale of the reddit blackout
Tracking the great reddit blackout
What is this?
The goal of this project is to keep track of and visualize the great reddit blackout.
Raw data
You can find the raw data in the releases page. The data is in json. The TS interface for per minute data is here and for subreddit data here. Per minute data timestamps are in seconds (because that's what the reddit api returns) and subreddit data timestamps are in milliseconds.
Running this locally
Requirements
- Node.js
Setting up a reddit app
- Go to https://www.reddit.com/prefs/apps/
- Click on "create another app..."
- Select "script"
- Fill in the required fields. The redirect uri can be anything.
- Click on "create app"
- Copy the client id and client secret
- Put them into a new file called
.env
in the root of this project. It should look like this:
clientId = "your client id"
secret = "your client secret"
Steps
- Clone this repo
- (Optionally) If you want to use my already tracked data, download and extract the loggedData.zip from the releases page.
- Run
npm install
- Run
npm run build
- Run
npm start
- Open http://localhost:8080 in your browser