Skip to content
This repository was archived by the owner on Sep 7, 2025. It is now read-only.

YouCube Server

Python Version: 3.7+Python Lint Workflow Status

preview

YouCube has a some public servers, which you can use if you don't want to host your own server.
The client has the public servers set by default, so you can just run the client, and you're good to go.
Moor Information about the servers can be seen on the doc.

Requirements

You can install the required packages with pip by running:

pip install -r src/requirements.txt

Starting the Server

python src/youcube.py

Environment variables

Environment variables you can use to configure the server:

VariableDefaultDescription
HOST0.0.0.0The host where the web server runs on.
PORT5000The port where the web server should run on
FFMPEG_PATHffmpegPath to the FFmpeg executable
SANJUUNI_PATHsanjuuniPath to the Sanjuuni executable
NO_COLORFalseDisable colored output
LOGLEVELDEBUGPython Log level of the main logger
DISABLE_OPENCLFalseDisables sanjuuni GPU acceleration
NO_FASTFalseDisable Sanic worker processes maximization
SPOTIPY_CLIENT_IDThe Client ID from your spotify application
SPOTIPY_CLIENT_SECRETThe Client Secret from your spotify application
DATA_CACHE_CLEANUP_INTERVAL300Time interval (in seconds) for the data cache cleaner to wait before checking for outdated cache entries.
DATA_CACHE_CLEANUP_AFTER3600Time threshold (in seconds) for considering a cache entry outdated. Cache entries older than this will be removed.

And Sanic Builtin values.

Docker Compose

---
services:
youcube:
image: ghcr.io/cc-youcube/youcube:latestrestart: alwayshostname: youcubeports:
- 5000:5000
...

About

The Heart of YouCube

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

11 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages