yt-dlp TUI
A terminal user interface for yt-dlp built with Textual. It provides format inspection, download progress, persistent history, resumable interrupted downloads, and independently managed yt-dlp and FFmpeg binaries.
This project is not affiliated with yt-dlp. Please use it only for content you are permitted to download.
Screenshots
Start a download
Track downloads
Configure the download engine
Features
- Inspect video and playlist URLs before downloading.
- Choose from available yt-dlp format IDs.
- Automatically add the best available audio stream to video-only formats and merge with FFmpeg.
- Show active downloads with a text progress bar, speed, ETA, and live yt-dlp output.
- Persist completed, failed, and interrupted tasks in per-user JSON history.
- Resume interrupted tasks with yt-dlp's
--continuesupport. - Open a completed file, reveal it in the system file manager, or copy its path.
- Install and update yt-dlp independently from the TUI application.
- Install FFmpeg from GitHub on Windows.
- Use an optional HTTP(S) proxy for engine installation, update checks, metadata extraction, and downloads.
Requirements
- Python 3.11 or newer
- uv for development or local installation
- Windows is the primary supported platform at present. FFmpeg auto-install currently targets Windows x64.
Installation
From PyPI
pip install yt-dlp-tui
yt-dlp-tui
From source
git clone https://github.com/z4none/yt-dlp-tui.git
cd yt-dlp-tui
uv sync --all-groups
uv run yt-dlp-tui
Quick start
- Open Settings from the sidebar.
- Set the default download directory and, if needed, an HTTP(S) proxy.
- Install yt-dlp from GitHub. The app checks the selected
stableornightlychannel in the background and offers an update when one is available. - Install FFmpeg from GitHub to merge separate video and audio streams automatically.
- Open Start, paste a URL, inspect formats, select one, and begin downloading.
Notes on downloads
- A video-only format requires FFmpeg to merge it with audio. The app automatically selects
FORMAT_ID+bestaudio/bestwhen appropriate. - The Downloading page includes raw yt-dlp output. Task logs are also written to the application's per-user data directory.
- Interrupted downloads are marked as failed after restart, but can be resumed from Completed.
Development
uv sync --all-groups
uv run ruff check .
uv run pytest -q
uv run yt-dlp-tui
Build and publish
uv build
uv publish --publish-url https://upload.pypi.org/legacy/
Use a PyPI API token through UV_PUBLISH_TOKEN; never commit publishing credentials.
License
Distributed under the MIT License.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yt_dlp_tui-0.1.0.tar.gz.
File metadata
- Download URL: yt_dlp_tui-0.1.0.tar.gz
- Upload date:
- Size: 361.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2e10d0e85a0541d1fea99fff3c4417286cd0c44e40429ef8d000d1a346962f5
|
|
| MD5 |
2f03d9be8d4313dbc9a79512024a1647
|
|
| BLAKE2b-256 |
e2f1239ffe2d34ff55ec4c7ede2fbe0a991b858b0943ddf5c94ec7a54f8fe4cd
|
File details
Details for the file yt_dlp_tui-0.1.0-py3-none-any.whl.
File metadata
- Download URL: yt_dlp_tui-0.1.0-py3-none-any.whl
- Upload date:
- Size: 25.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
017505ab7ff631b72919a3dae9ee2b4248a1829e87441f60dce24c4766f379b5
|
|
| MD5 |
b15fb8f053ae847bb1bad930361c81f4
|
|
| BLAKE2b-256 |
5d7f496af1953cf3ce06ad975d21fd2abfd39aad1d47eb788a86adbef11454fa
|