Files
Mikhail Yevchenko ff6e727ae7 Initial implementation of yt-dlp HLS proxy server
- Flask app with HLS proxy routes (/hls, /player, /)
- yt-dlp integration with 365-day in-memory cache
- URL validation with allowed domains (youtube, pornhub, etc)
- HTML5 HLS player with hls.js
- Unit tests: URL validation, cache, error handling
- Integration tests: ffmpeg-generated test video, full proxy chain
- Environment-based configuration (PORT, CACHE_TTL, LOG_LEVEL)
- MIT license
2026-04-01 11:10:05 +00:00

7 lines
147 B
Bash

PORT=5000
LOG_LEVEL=INFO
CACHE_TTL=31536000
SOCKET_TIMEOUT=30
VALIDATION_ENABLED=true
ALLOWED_DOMAINS=youtube.com,youtu.be,pornhub.com,xvideos.com