New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

youcube-server

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youcube-server

A server which provides a WebSocket API for YouCube clients

  • 0.0.0
  • PyPI
  • Socket score

Maintainers
1

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
HOST127.0.0.1The 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

version: "2.0"
services:
  youcube:
    image: ghcr.io/cc-youcube/youcube:latest
    restart: always
    hostname: youcube
    ports:
      - 5000:5000

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc