Vega
English | Français
Universal CLI utility to download videos (YouTube, TikTok, Instagram, etc.) via yt-dlp, with a modern interface powered by rich.
Requirements
- Python 3.9+
- FFmpeg installed and available in your PATH (needed to merge audio/video and for conversions)
Installation
The simplest way to get the vega command available everywhere on your system, without worrying about virtual environments, is pipx:
# Install pipx once, if you don't have it yet
python -m pip install --user pipx
python -m pipx ensurepath
# Install Vega
pipx install vega-dlp
Restart your terminal, then run vega --help to confirm it's installed.
Alternative: plain pip
pip install vega-dlp
Alternative: run from source (for contributors)
git clone https://github.com/Poutoo/Vega.git
cd Vega
python -m venv venv
venv\Scripts\Activate.ps1 # PowerShell
# or: venv\Scripts\activate.bat # CMD
pip install -e .
Usage
vega <url> [options]
Prefer a browser over the terminal? Vega also ships a local web UI — see Web UI below.
Commands and options
| Command / Option | Short alias | Description |
|---|---|---|
<url> |
— | (Required) Link to the video to download (YouTube, TikTok, Instagram, etc.) |
--audio |
-a |
Download audio only, converted to MP3 (192 kbps) |
--video-only |
-vo |
Download video only, without sound |
--quality <value> |
-q <value> |
Limit video resolution (e.g. 720, 1080) |
--start <time> |
-s <time> |
Start of the clip to download (e.g. 0:00, 1:23:45) |
--end <time> |
-e <time> |
End of the clip to download (e.g. 3:00, 1:25:00) |
--help |
-h |
Show the program's help message |
web |
— | Launch the local web UI |
Examples
# Simple download (best quality, video + audio)
vega https://www.youtube.com/watch?v=XXXXXXXXXXX
# Audio only download (MP3)
vega https://www.youtube.com/watch?v=XXXXXXXXXXX -a
# Video only, no sound
vega https://www.youtube.com/watch?v=XXXXXXXXXXX -vo
# Limit resolution to 720p
vega https://www.youtube.com/watch?v=XXXXXXXXXXX -q 720
# Combine options: video only, capped at 1080p
vega https://www.youtube.com/watch?v=XXXXXXXXXXX -vo -q 1080
# Download only the 0:00-3:00 clip
vega https://www.youtube.com/watch?v=XXXXXXXXXXX -s 0:00 -e 3:00
# Audio-only clip, from 1:23:45 to the end of the video
vega https://www.youtube.com/watch?v=XXXXXXXXXXX -a -s 1:23:45
# Show help
vega --help
Note: clipping uses
--force-keyframes-at-cutsinternally for a frame-accurate cut, which requires a light local re-encode (via FFmpeg) and therefore takes a bit longer than a regular download.
Web UI
For anyone not comfortable with a terminal, Vega also ships a local web interface with the same download options and a live progress view. It's an optional extra, kept out of the default install to keep the base CLI lightweight.
# pipx
pipx install "vega-dlp[web]"
# or plain pip
pip install "vega-dlp[web]"
vega web
This starts a server bound to 127.0.0.1 only (never exposed to your network) and opens it in your default browser. Options:
| Option | Description |
|---|---|
--port <n> |
Port to use (default: 8756) |
--no-browser |
Don't open the browser automatically |
How it works
- Videos are automatically sorted into the user's
Downloads/<Platform>folder (e.g.Downloads/Youtube/). - Every download is logged to
history.json(title, URL, platform, path, date). This file stays local and is not versioned. - A system notification is shown when the download finishes (success or error).
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 vega_dlp-1.2.0.tar.gz.
File metadata
- Download URL: vega_dlp-1.2.0.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c477e8bb3a390c5f9c5ef4844c59a6c2a5b8441f73ac2d340ad40d9e3da01df
|
|
| MD5 |
8397bfe6b5f46b95f0113fa753d3c3fe
|
|
| BLAKE2b-256 |
40448dc14f3ebf242f7d8b1015b483864fd36dfb91d8a5822c838cf4bac041ea
|
File details
Details for the file vega_dlp-1.2.0-py3-none-any.whl.
File metadata
- Download URL: vega_dlp-1.2.0-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f1226ba36ce8bc82276a6dedb9576e808e371b8206142f96cbfcf6ee84ff73f
|
|
| MD5 |
b7af36776eff600ccb0fc383566f2d95
|
|
| BLAKE2b-256 |
e181bf4272fbcc87fe8a1303d0aff636f42112a712b9e764447abf5e7a118259
|