A self-hosted YouTube video downloader and library manager with a web interface.
- Download individual videos or entire playlists
- Automatic detection of YouTube Shorts
- Organized storage by uploader
- Web-based interface for browsing and playback
- SQLite database for metadata
- Tag support for organization
- Install dependencies:
pip install fastapi uvicorn yt-dlp pydantic- Run the server:
uvicorn web_interface:app --reload --host 0.0.0.0 --port 8000- Open browser:
http://localhost:8000
- Python 3.8+
- ffmpeg (for video processing)
Edit youtube_manager.py to customize:
- Download quality
- Storage paths
- Rate limiting
MIT