No description
Find a file
2025-08-24 16:41:45 +03:00
.github split windows and nix oses packaging. 2025-07-07 16:39:05 +03:00
.vscode update README 2025-08-24 16:41:45 +03:00
app consider file size when caching ffprobe results. 2025-08-23 20:21:16 +03:00
ui added better fallback to hls. 2025-08-23 21:41:37 +03:00
var new start 2023-12-01 16:49:52 +03:00
.dockerignore improve build process include linux/arm64 2025-01-23 18:03:24 +03:00
.editorconfig updated some type checks 2024-12-19 22:58:33 +03:00
.gitignore Update the pyinstaller build to include version number. 2025-08-01 17:31:18 +03:00
API.md added cli opts support for info extraction endpoint 2025-07-27 16:07:38 +03:00
app.spec fix windows build 2025-08-01 18:28:17 +03:00
Dockerfile Make it possible to pin specific yt-dlp version 2025-08-09 17:27:00 +03:00
entrypoint.sh WIP: more changes to support webview in the future. 2025-06-08 23:45:00 +03:00
FAQ.md update README 2025-08-24 16:41:45 +03:00
healthcheck.sh Fix healthcheck when used with base_path 2025-06-09 20:18:45 +03:00
LICENSE Working multi download support. 2024-01-10 14:44:56 +03:00
pyproject.toml upgrade curl_cffi to 0.13.x 2025-08-24 16:28:49 +03:00
README.md update README 2025-08-24 16:41:45 +03:00
sc_short.png Update README for clarity and improve installation instructions for podman and unraid. 2025-06-04 22:08:52 +03:00
uv.lock upgrade curl_cffi to 0.13.x 2025-08-24 16:28:49 +03:00

YTPTube

Build Status

YTPTube is a web-based GUI for yt-dlp, designed to make downloading videos from YouTube and other video platforms easier and more user-friendly. It supports downloading playlists, channels, and live streams, and includes features like scheduling downloads, sending notifications, and a built-in video player.

Short screenshot

YTPTube Features.

  • Multi-downloads support.
  • Random beautiful background. can be disabled or source changed.
  • Can handle live streams.
  • Scheduler to queue channels or playlists to be downloaded automatically at a specified time.
  • Send notification to targets based on selected events. includes Apprise support for non http/https URLs.
  • Support per link cli options & cookies.
  • Queue multiple URLs separated by comma.
  • Presets system to re-use frequently used yt-dlp options.
  • Simple file browser. Disabled by default.
  • A built in video player with support for sidecar external subtitles.
  • New POST /api/history endpoint that allow one or multiple links to be sent at the same time.
  • New GET /api/history/add?url=http://.. endpoint that allow to add single item via GET request.
  • Modern frontend UI.
  • SQLite as database backend.
  • Basic authentication support.
  • Support for curl_cffi, see yt-dlp documentation
  • Support basic mode for WebUI for non-technical users, which hides most of the normal features from view.
  • Bundled tools in container: curl-cffi, ffmpeg, ffprobe, aria2, rtmpdump, mkvtoolsnix, mp4box.
  • Automatic upcoming live stream re-queue.
  • Apply yt-dlp options per custom defined conditions.
  • Custom browser extensions, bookmarklets and iOS shortcuts to send links to YTPTube instance.
  • A executable for Windows, macOS and Linux, which can be found in the release page.

Please read the FAQ for more information.

Installation

Run using docker command

mkdir -p ./{config,downloads} && docker run -d --rm --user "$UID:${GID-$UID}" --name ytptube \
-p 8081:8081 -v ./config:/config:rw -v ./downloads:/downloads:rw \
ghcr.io/arabcoders/ytptube:latest

Then you can access the WebUI at http://localhost:8081.

Note

If you are using podman instead of docker, you can use the same command, but you need to change the user to 0:0 it will appears to be running as root, but it will run as the user who started the container.

Using compose file

The following is an example of a compose.yaml file that can be used to run YTPTube.

services:
  ytptube:
    user: "${UID:-1000}:${UID:-1000}" # change this to your user id and group id, for example: "1000:1000"
    image: ghcr.io/arabcoders/ytptube:latest
    container_name: ytptube
    restart: unless-stopped
    ports:
      - "8081:8081"
    volumes:
      - ./config:/config:rw
      - ./downloads:/downloads:rw
    tmpfs:
      - /tmp

Important

Make sure to change the user line to match your user id and group id

$ mkdir -p ./{config,downloads} && docker compose -f compose.yaml up -d

Then you can access the WebUI at http://localhost:8081.

Note

you can use podman-compose instead of docker-compose, as it supports the same syntax. However, you should change the user to 0:0 it will appears to be running as root, but it will run as the user who started the container.

Unraid

For Unraid users You can install the Community Applications plugin, and search for ytptube it comes pre-configured.

API Documentation

For simple API documentation, you can refer to the API documentation.

Disclaimer

This project is not affiliated with YouTube, yt-dlp, or any other service. It's a personal project that was created to make downloading videos from the internet easier. It's not intended to be used for piracy or any other illegal activities.

Social contact

If you have short or quick questions, you are free to join my discord server and ask the question. keep in mind it's solo project, as such it might take me a bit of time to reply.

Donation

If you feel like donating and appreciate my work, you can do so by donating to children charity. For example Make-A-Wish.