https://github.com/gregorybchris/vidrank
YouTube playlist prioritization tool
https://github.com/gregorybchris/vidrank
elo preference priority ranking rating trueskill video youtube
Last synced: 7 months ago
JSON representation
YouTube playlist prioritization tool
- Host: GitHub
- URL: https://github.com/gregorybchris/vidrank
- Owner: gregorybchris
- License: mit
- Created: 2024-01-13T20:59:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-27T19:21:48.000Z (about 1 year ago)
- Last Synced: 2025-01-12T15:12:35.770Z (9 months ago)
- Topics: elo, preference, priority, ranking, rating, trueskill, video, youtube
- Language: Python
- Homepage: https://vidrank.vercel.app
- Size: 6.82 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vidrank
Use Vidrank to prioritize which YouTube videos to watch first. Vidrank presents you with small batches of videos. You can classify a subset of each batch as better than the rest and your selections are processed by the [TrueSkill](https://www.microsoft.com/en-us/research/project/trueskill-ranking-system/) algorithm to produce ratings. Ratings are used to determine the next best set of videos to consider to maximize information gain and decrease rating uncertainty.
If you have a backlog of videos waiting in your Watch Later playlist, then this tool was made for you.
![]()
![]()
## Installation
Requirements:
- [Node](https://nodejs.org/en/download)
- [Poetry](https://python-poetry.org/)Install the backend package
```bash
cd backend
poetry install
```Install the frontend package
```bash
cd frontend
pnpm install
```## Running locally
Set a few environment variables that are used by the server.
> You will need an API key for the [YouTube Data API (v3)](https://developers.google.com/youtube/v3)
```bash
export YOUTUBE_API_KEY=""
export VIDRANK_CACHE_DIR=""
export VIDRANK_PLAYLIST_ID=""
```Start the backend
```bash
fastapi dev backend/vidrank/app/app.py --reload
```Start the frontend
```bash
pnpm run dev
```### Debug Mode
```bash
LOG_LEVEL=DEBUG fastapi dev backend/vidrank/app/app.py --reload
```