From c885ccbe486f5bee379e0db0e17a281bbbf904f9 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sat, 18 Nov 2023 22:05:04 -0800 Subject: update README --- README.md | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 033ea76..685e736 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ # [NijiTrack](https://nijitracker.com/) -NijiTrack is a set of Python scripts that allows for the visualization and collection of historical subscriber count data for any set of YouTube Channels. + +Historical subscriber count tracker for any subset of YouTube channels. Flask backend and NextJS frontend for visualization. + +This was originally made with the intention of tracking the subscriber count of Virtual YouTubers in the Nijisanji organization, but can be used for any set of channels. + + +# Backend: +Below are the steps to set up the flask backend for data collection and serving data through a web server (`/backend` folder of repo) ### Dependencies - MariaDB or MySQL @@ -19,28 +26,14 @@ HOLODEX_ORG = "Phase%20Connect" ORG_MEMBER_COUNT = 75 ``` 2. Add channels to be excluded from data collection in `data/excluded_channel.txt` -3. Execute with `python main.py` +3. Execute with `python nijitrack.py` #### For collection using a custom set of channels configured in `data/channels.txt` 1. Configure channels in data/channels.txt in the format `YOUTUBE_CHANNEL_ID,CHANNEL_NAME` for each line -2. Execute with `python main.py ytapi` - -An `index.html` is created in your root directory and channel individual pages is created in `stats/*` -You can use `app.py` to host your statics through Flask or use any other services - -### Homepage Subscriber Ranking -# image - -### Individual Page Infocards -# image - -### General Trend Graph -# image +2. Execute with `python nijitrack.py ytapi` -### 7 Day Trend (Data point is recorded each time program is ran) -# image +A basic graph will be created using plotly and saved to index.html in the root directory -### Individual daily subscriber data -# image +You can use `app.py` to host your statistics through Flask or use any other services Webpage design inspired by [TrackHololive](https://trackholo.live/) -- cgit v1.2.3