Self-host MeTube
2026.11.14Web UI for yt-dlp downloads with channel subscriptions
docker run -d -p 8081:8081 -v /path/to/downloads:/downloads ghcr.io/alexta69/metube- Stars
- 15 277
- Port
- 8081 (MeTube's web UI and API (HTTP, or HTTPS when the HTTPS option is on))
ghcr.io/alexta69/metubeWhat 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 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.
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
mouseholeMousehole is a self-hosted service that keeps your MyAnonamouse seedbox IP updated automatically, with a web UI to manage the MAM cookie and trigger manual updates.
MoviePilotSelf-hosted, open-source NAS media automation that searches private tracker sites, downloads via qBittorrent, renames files and refreshes Plex, Emby or Jellyfin.
MularrSelf-hosted web UI for aMule with qBittorrent/Torznab APIs for Sonarr/Radarr, Telegram downloads, and retro themes.
MusicseerrSelf-hosted music request app replacing Lidarr by driving slskd/Usenet, verifying via AcoustID, serving via OpenSubsonic/Jellyfin APIs.
musikatSelf-hosted open-source music downloader that searches Deezer or Spotify, fetches audio from YouTube, tags files, and saves to Navidrome or local downloads.
myjdownloaderSelf-hosted open-source web UI for JDownloader that replaces my.jdownloader.org by proxying to JDownloader's local API.
Mylar3Mylar3 is a self-hosted, open-source automated comic book downloader for NZB/torrents with watchlist monitoring, client integration, renaming and metatagging.
MyTubeOpen-source and self-hosted: grab videos from yt-dlp's 1000+ sites (YouTube, Bilibili, Twitch included), build collections, watch in-browser, auto-download subscriptions.
nefariousA self-hosted, open-source web app that auto-downloads movies and TV shows via Jackett and Transmission, with quality profiles, multi-user logins, and VPN routing.
NNTmuxNNTmux is a self-hosted, open-source Usenet indexer on Laravel with multi-threaded processing, advanced search, and newznab API for Sonarr/Radarr.
NzbDAVSelf-hosted WebDAV server that mounts NZB files as a virtual filesystem for direct streaming to Plex, Jellyfin, and Stremio via SABnzbd-compatible API.
nzbfastSelf-hosted Usenet downloader with one-pass pipeline for line-rate speeds and half the disk usage. Web dashboard, poster wall, optional indexer, SABnzbd/NZBGet API.

0 comments