# [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. ### Dependencies - MariaDB or MySQL - Python 3.11+ - Flask 2.1.2+ (Optional) ```python pip install -r requirements.txt ``` ### Usage a. Fill in `config.json` with required info for API keys and SQL connection info #### For collection using a set of channels belonging to a Virtual YouTuber organization listed on Holodex 1. Edit main.py and edit `HOLODEX_ORG` to the organization name on Holodex and `ORG_MEMBER_COUNT` to the number of members that organization has - Overshooting the member count may lead to additional loop iterations, but in general there will be no problems ``` 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` #### 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 ### 7 Day Trend (Data point is recorded each time program is ran) # image ### Individual daily subscriber data # image Webpage design inspired by [TrackHololive](https://trackholo.live/)