selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
MeTube logo

Self-host MeTube

2026.11.14

Web UI for yt-dlp downloads with channel subscriptions

ReleaseOpen SourceAGPL-3.0
docker run -d -p 8081:8081 -v /path/to/downloads:/downloads ghcr.io/alexta69/metube
Updated2 days ago
LanguagePython
Setup difficultyEasy
ThemeDark mode
Stars
15 277
Port
8081 (MeTube's web UI and API (HTTP, or HTTPS when the HTTPS option is on))
Docker
ghcr.io/alexta69/metube
MeTube's web UI: pasting a link and watching the download queue

What is MeTube?

MeTube is a web interface for yt-dlp, for people who want videos saved to their own disk rather than to a third-party download site. You paste a link — YouTube or any of the many extractors yt-dlp supports — and pick the type, quality, format and destination folder for each job; playlists and whole channels can be fetched in one go, covering video, audio, subtitles and thumbnails. A subscription feature polls channels and playlists on their own interval and adds new uploads to the queue automatically, with an optional title regex. Because it wraps yt-dlp, global option sets, named presets, per-download overrides and an automatic nightly-build channel are all configured as JSON, and files are named with yt-dlp's output-template syntax. It runs as one Docker image published on ghcr.io and Docker Hub (multi-arch amd64/arm64), listening on 8081, and is configured entirely through environment variables. There is no user login built in — authentication is expected to be added at a reverse proxy — and since the actual work is done by yt-dlp, failures are debugged by running that tool yourself in the container. Its scope stops at writing the file: tagging and library organization are left to beets, MusicBrainz Picard or Lidarr.

Should you self-host MeTube?

MeTube scores 76/100 on selfhost.directory (how scoring works) and ranks #4 of 46 in Download Management. It has 15 277 GitHub stars, +295 in the last 30 days.

It shipped 52 stable releases in the past year. The latest, 2026.11.14, came out on 14 November 2026. New versions land roughly every 3 days.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is cobalt (83/100, 46 263 stars). It scores higher overall, so compare the two before you pick. See MeTube vs cobalt side by side.

Features

  • Automatic channel and playlist subscriptions
  • Browser cookie upload
  • Built-in HTTPS
  • Chapter splitting
  • Concurrent download queue
  • Custom download folders
  • Custom file naming templates
  • Named yt-dlp option presets
  • Per-download quality, format and folder choice
  • Playlist and channel downloads
  • Real-time progress updates
  • Separate audio download directory
  • SSRF protection for internal addresses
  • Subscription title filtering
  • Video downloading from many sites

MeTube README

MeTube

Build Status Docker Pulls

MeTube is a self-hosted web UI for yt-dlp. Paste a link from YouTube or hundreds of other sites, and it downloads to your server:

  • Video, audio, subtitles and thumbnails — from single videos, whole playlists or entire channels.
  • Subscriptions to channels and playlists, which queue new uploads as they appear.
  • Per-download choices of quality, format and folder, plus server-wide yt-dlp options and presets.

How to install MeTube

Install MeTube with Docker

docker run -d -p 8081:8081 -v /path/to/downloads:/downloads ghcr.io/alexta69/metube

Images are multi-arch (amd64/arm64), and also published on Docker Hub as alexta69/metube. Open http://<host>:8081 afterwards.

How to configure MeTube

  • MAX_CONCURRENT_DOWNLOADS3How many downloads run at once; the rest wait their turn.
  • DELETE_FILE_ON_TRASHCANfalseAlso remove the file from disk when its entry is deleted from Completed; ask prompts each time.

    values: true, false, ask

  • DEFAULT_OPTION_PLAYLIST_ITEM_LIMIT0Default Items Limit: how many entries of a playlist or channel to download.

    values: 0 = all

  • SUBSCRIPTION_DEFAULT_CHECK_INTERVAL60Default minutes between checks of a subscription.
  • SUBSCRIPTION_SCAN_PLAYLIST_END50Newest feed entries fetched each time a subscription is checked.

MeTube releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Does subscribing download the videos already in a channel or playlist?

No, the existing backlog is marked as seen and only later uploads are queued; to get the backlog, download the playlist or channel URL as a normal download first.

Does a bookmarklet still work if its site is not in CORS_ALLOWED_ORIGINS?

No. Before release 2026.09.25 such downloads were queued but the reply hidden, so it looked like it worked; since then those requests are refused, so add the sites you use to CORS_ALLOWED_ORIGINS.

What does "Refusing to fetch internal host" mean, and do proxies and VPNs need an exception?

MeTube blocks URLs resolving to private or otherwise non-global addresses as SSRF protection. Ordinary proxies need no exception, but Fake-IP proxy/VPN clients do, via ALLOW_PRIVATE_ADDRESSES=true, which turns the protection off.

Why is the UI greyed out and the log refuses MeTube's own address?

A proxy that rewrites the Host header makes the page address and the request host disagree. Pass the original header (proxy_set_header Host $http_host) or X-Forwarded-Host, or list the address you open MeTube at in CORS_ALLOWED_ORIGINS.

Why are requests from my browser extension or bookmarklet blocked?

Requests from other sites are refused unless their origin is listed in CORS_ALLOWED_ORIGINS; the log names the origin you need to add, and extensions generally require a wildcard.

Why does the UI load but downloads never start or show no progress?

Progress is pushed over WebSocket (Socket.IO); a reverse proxy in front must forward the Upgrade/Connection headers.

Why do downloads fail immediately after having worked for months?

Video sites change constantly, so the fix is nearly always a newer yt-dlp. A new image is published whenever yt-dlp makes a stable release, so update the container, or follow the nightly channel.

Why are downloaded files owned by root, or why do I get permission errors?

Set PUID and PGID to the user that should own the files (they default to 1000), plus UMASK if you need specific permissions. If you handle ownership yourself, set CHOWN_DIRS=false.

Why do downloads fail with "Sign in to confirm you're not a bot", or fail on age-restricted / members-only videos?

YouTube increasingly needs an authenticated session. Export cookies from your browser and upload them in the UI under Advanced Options → Upload Cookies.

More in Download Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…