A simple, modern web interface to download media from YouTube and X (formerly Twitter) using yt-dlp and Python.
Supports direct downloads as:
- 🎬 YouTube videos (.mp4)
- 🎵 YouTube audio (.mp3)
- 📥 Twitter/X videos (as
.mp4)
- 🎯 Clean and responsive dark UI
- 🔐 Login Authentication: Optional authentication to restrict access (default username
admin/ passwordadmin) - 🔎 Automatic YouTube title as filename
- 🧠 Smart MP4/MP3 selection (only enabled for YouTube)
- ⚡️ No persistent storage required (downloads stream to browser)
- 🐳 Easy deployment via Docker & Docker Compose
- ⚙️ Customizable download path and filename patterns
-
Clone this repository:
git clone https://github.com/<your-username>/strimdl.git cd strimdl
-
Copy the example environment file and configure your settings:
cp .env.example .env
-
Edit the
.envfile and set:DOWNLOAD_PATH=/path/to/your/downloads TZ=Europe/Berlin LANG=en_US.UTF-8 VIDEO_NAMING_PATTERN={userId}@twitter-{tweetId} IMAGE_NAMING_PATTERN={userId}@twitter-{tweetId} STRIMDL_USER=admin STRIMDL_PASS=admin
Note: By default, login is required with username
adminand passwordadmin. ChangeSTRIMDL_USERandSTRIMDL_PASSto secure your instance. -
Start via Docker Compose:
docker compose up -d --build
Or build and run with Docker:
docker build -t strimdl . docker run --rm -p 10001:10001 --env-file .env -v ${DOWNLOAD_PATH}:/download strimdl
-
Open your browser and go to:
http://localhost:10001/
- Access the login page if prompted.
- Log in with your credentials.
- Paste a YouTube or X (Twitter) URL.
- Choose format and quality (for YouTube).
- Click Start Download.
- yt-dlp
- Python 3.11+
- HTML & JavaScript (no frameworks)
- Docker & Docker Compose
-
v3.0.1 – Switched audio download from CBR/ABR to VBR (Variable Bitrate), providing significantly better quality and bitrate as it always selects the best available quality during download. Improved UI with custom dropdown for format selection, real-time status updates via Server-Side Events (SSE), playlist link detection, and enhanced spacing between UI elements. YouTube downloads are working again after they stopped working following the update on the YouTube platform.
-
v2.0.0 – Added login authentication, improved Docker support, updated UI and README.
This project is licensed under the MIT License.