An open API service indexing awesome lists of open source software.

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

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
```