MeTube is a web interface for the command-line tool yt-dlp. Paste a link to a video, playlist, or channel, choose video or audio only, select a format and quality, and MeTube downloads the file to your server. yt-dlp supports hundreds of websites, including media libraries, video platforms, and archives such as archive.org. MeTube is open source (AGPL-3.0) and does not require an account.
In this guide, we’ll show you two ways to get started: the easy way, using the One-Click App to make MeTube available at your own address over HTTPS in just a few clicks, and a manual installation with Docker Compose based on the official instructions, including password protection through a reverse proxy. Then you’ll learn how to choose formats, save audio only, retrieve completed files, and understand the limitations.
Only download content you’re allowed to download MeTube downloads anything yt-dlp can access and does not check whether you’re allowed to download it. Only download your own content, works under a free license (such as Creative Commons or public-domain films), and content the provider permits you to download. Many platforms prohibit downloads in their terms of use, and you may not reproduce or distribute copyrighted works without permission from the rights holder. Under our terms and conditions, you are responsible for all content on your server and may not use it for unlawful purposes. If you violate these terms, your service may be suspended in whole or in part.
Running your own MeTube instance on a VPS is useful if:
- You want to back up your own videos, such as uploads from your channel, streams, or talks you’ve published yourself.
- You don’t want large downloads to tie up your PC. The server downloads the files over the data center’s connection, and you can retrieve them whenever it suits you.
- You want to archive freely licensed content, such as public-domain films from archive.org or videos under a Creative Commons license.
- You only need the audio, for example, an MP3 of your own podcast or talk to listen to on the go.
- You want to use the same process on multiple devices: paste a link in your browser, whether you’re on a PC, tablet, or phone, without needing an app.
MeTube is less suitable if you’re looking for a media library to watch content in. MeTube only downloads files and stops once a file has been written. For playing and organizing content, use dedicated apps such as Jellyfin for videos or Navidrome for music. A VPS can also quickly run out of space if you use it to store large collections long term.
The quickest way to get MeTube running is through your VPS’s One-Click Apps. The app is accessible directly over HTTPS using a domain. You don’t need a reverse proxy or certificate.
- A Linux VPS (Debian or Ubuntu) with One-Click Apps set up. See Set Up One-Click Apps for instructions.
- Enough free disk space for the files you want to download. In our test, a roughly six-minute video at 480p took about 25 MB; a Full HD video will take several times as much.
- Open your VPS in the ZapX dashboard and go to the One-Click Apps tab.
- Search for MeTube in the app catalog (listed as “Metube”) and click Install app.
- Use a custom subdomain or zap.cloud is already selected, with a random name. Leave the option enabled or enter a name of your own. You’ll use the domain to access MeTube over HTTPS. Choose a name that others can’t easily guess.
- There are no other required fields. MeTube doesn’t need login credentials or a database.
- Click Queue installation. MeTube should show as online on the app card after one or two minutes.
Open the app’s Access link. You’ll go straight to the download page; there is no login. Paste a link at the top, then choose Type (Video, Audio, Captions, or Thumbnail), Format, and Quality. At the bottom, MeTube displays the versions of yt-dlp and MeTube.
MeTube doesn’t have a login Anyone who knows the access link can start downloads through your server and retrieve completed files: each file can be downloaded directly from the app’s address if its name is known. The One-Click App does not provide its own password protection. Don’t share the link, retrieve completed files promptly, and stop the app from its app card when you don’t need it. If you want to require a login, use the manual installation with Basic Auth, as described below under “Protect MeTube with a password.”
MeTube stores all files in the container’s /downloads folder. With the One-Click App, this folder is in a Docker volume on your VPS whose name ends in metube-downloads. MeTube’s queue and history are also stored there, in the hidden .metube subfolder. See “Retrieve downloads on your computer” below to learn how to get the files onto your computer.
Websites change constantly, and yt-dlp releases frequent updates to keep up. If a download suddenly stops working, a newer version of yt-dlp is almost always the solution. Each MeTube image includes a specific version of yt-dlp.
Update MeTube in the app settings (gear icon), under App update. Click Check for updates, then install a new version with Apply update. If the app is shown as up to date, there isn’t a newer version in the app catalog yet. In our test, the One-Click App used MeTube 2026.11.14 with yt-dlp 2026.10.26 and reported that it was “up to date,” even though a newer MeTube version with a newer yt-dlp had already been released. This means the app catalog can take some time to catch up. If you need the latest yt-dlp version right away, you can control the version yourself with a manual installation.
Your files in the volume remain in place when you update. However, a volume is not a backup: copy important files to your computer or another storage location.
The rest of this guide describes a manual installation of MeTube with Docker Compose on your VPS. You might choose this option if you don’t use One-Click Apps on your server, want to protect the instance with a password, or want to control the version yourself.
- A Linux VPS running Debian or Ubuntu, with SSH access. See First access via SSH.
- Docker and Docker Compose. See Install Docker. Check the installation with
docker --versionanddocker compose version. - For HTTPS: a domain or subdomain whose A record points to your VPS’s IP address (e.g.
metube.example.com).
The official documentation does not specify minimum requirements. In our test, MeTube used around 140 MB of RAM while idle, and the image is just over 1 GB. When converting files, such as to MP3, ffmpeg briefly uses the full CPU capacity. Disk space is the main consideration:
| Minimum | Recommended | |
|---|---|---|
| CPU | 1 vCore | 2 vCores |
| RAM | 512 MB | 1 GB |
| Storage | 5 GB for Docker, the image, and initial downloads | Depends on the quantity and quality of your downloads |
MeTube listens on port 8081. You don’t need to open this port if you use a reverse proxy as described below. With ufw, allow only SSH and the ports used by the reverse proxy:
ufw allow OpenSSH
ufw allow 80/tcp
ufw allow 443/tcp
ufw enable
Docker bypasses ufw
Ports published by Docker with ports: are accessible from outside even if ufw blocks them. Docker adds its own rules ahead of ufw rules. So, as shown in the Compose file below, bind MeTube only to 127.0.0.1. For more about the firewall, see Manage the firewall on Linux.
Create a directory for MeTube and navigate to it:
mkdir -p /opt/metube/downloads
cd /opt/metube
Create the Compose file with nano docker-compose.yml. It’s based on the example in the official instructions:
services:
metube:
image: ghcr.io/alexta69/metube:2026.11.14
container_name: metube
restart: unless-stopped
ports:
- 127.0.0.1:8081:8081
environment:
- PUID=1000
- PGID=1000
volumes:
- ./downloads:/downloads
Here’s what the entries mean:
image: the official image with a fixed version number, in this case the same version as the One-Click App. A new MeTube image is released for each new stable version of yt-dlp. You can find the latest number on the releases page. We recommend entering the latest version right away.127.0.0.1:8081:8081: MeTube is accessible only from the server itself. External access goes through the reverse proxy.PUIDandPGID: the user and group MeTube uses to write files.1000is the default. When MeTube starts, it sets the owner of the download folder accordingly../downloads:/downloads: completed files are saved on the server in/opt/metube/downloads.
You can set additional options as environment variables under environment, such as MAX_CONCURRENT_DOWNLOADS (default: 3 simultaneous downloads) or AUDIO_DOWNLOAD_DIR for a separate audio folder. See the official documentation for the full list. Start the container:
docker compose up -d
Check that everything is running with docker compose ps.
Because MeTube listens only on 127.0.0.1, the first time you open the interface you’ll need to use an SSH tunnel. Run this command on your own computer:
ssh -L 8081:localhost:8081 root@SERVER_IP
Replace SERVER_IP with your VPS’s IP address and open http://localhost:8081 in your browser. If you see the link input field, the installation is working.
To access MeTube without a tunnel, put a reverse proxy with a valid certificate in front of it. See Set Up a Reverse Proxy with nginx and Create an SSL Certificate (Let's Encrypt) for the basics. MeTube displays progress in real time over a WebSocket connection, so the proxy needs to pass it through. Here’s a server block for nginx:
server {
listen 80;
server_name metube.example.com;
location / {
proxy_pass http://127.0.0.1:8081;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
}
}
Then get the certificate with certbot --nginx -d metube.example.com. Certbot will add HTTPS and HTTP redirection to the block.
Important: use $http_host instead of $host
If the Upgrade and Connection lines are missing, the page will load, but downloads may not start or show progress. The official documentation also recommends using $http_host instead of $host; otherwise, MeTube may reject requests to its own page and the interface will remain greyed out.
MeTube doesn’t have its own login. Without protection, anyone who knows the address can start downloads through your server and retrieve your files. So, add a username and password login (Basic Auth) in front of it in the reverse proxy. Install the tool for creating the password file and add a user:
apt install apache2-utils
htpasswd -c /etc/nginx/metube.htpasswd YOUR_NAME
Add more users with htpasswd /etc/nginx/metube.htpasswd NAME, without -c. Add these two lines to the location block in your server block, then reload nginx with systemctl reload nginx:
auth_basic "MeTube";
auth_basic_user_file /etc/nginx/metube.htpasswd;
The first time you access the site, your browser will ask for a username and password. For more tips on securing your server, see Linux security tips.
The important items are the downloaded files in /opt/metube/downloads, the Compose file, and the password file, if you created one. The queue, history, and subscriptions are stored in the hidden /opt/metube/downloads/.metube folder and are included in the backup:
tar -czf metube-backup-$(date +%F).tar.gz /opt/metube /etc/nginx/metube.htpasswd
For large download folders, it’s usually more practical to retrieve the files via SFTP and delete them from the server than to back them up there.
Enter the new version number from the releases page for image in the Compose file, then restart the container:
cd /opt/metube
docker compose pull
docker compose up -d
Your files will remain in place. The version of yt-dlp currently running is shown at the bottom of the MeTube page. Remove old images with docker image prune. The official documentation also lists the YTDL_NIGHTLY_UPDATE_TIME variable. With this variable, MeTube installs the latest pre-release version of yt-dlp daily at the specified time. This provides fixes sooner, but is less tested than the stable version.
Once MeTube is set up, paste the link at the top, choose your options, and click Download. Active downloads appear under Downloading; completed ones appear under Completed, with their type, quality, and file size. A public-domain film from archive.org is a good way to try it out: in our test, MeTube downloaded the 480p cartoon “Popeye for President” in about half a minute.
| Field | Options | Use |
|---|---|---|
| Type | Video, Audio, Captions, Thumbnail | Video with audio, audio only, subtitles only, or thumbnail only |
| Codec (video) | Auto, H.264, H.265 (HEVC), AV1, VP9 | H.264 works on almost any device; AV1 and VP9 files are smaller |
| Format (video) | Auto, MP4, iOS Compatible | MP4 for most players; “iOS Compatible” for iPhone and iPad |
| Quality (video) | Best, 2160p to 240p, Worst | Higher resolution means a larger file |
The available quality options depend on the source. If you select a quality higher than the original, MeTube downloads the best available version.
Set Type to Audio. Then choose a format (M4A, MP3, OPUS, WAV, or FLAC) and quality, such as 192 or 128 kbps for MP3. MeTube downloads the source and converts it with ffmpeg. For MP3, MeTube can embed the thumbnail as cover art if you want (the Tags field).
Video and audio from the same title In our test, the previously downloaded file disappeared when we downloaded the same video again as a different type. This also happened when the second file was saved to a separate folder. If you need both the video and audio from a title, retrieve the first file before starting the second download.
Under Advanced Options, you’ll find additional fields:
- Download Folder: a subfolder in the download directory, such as
audio. MeTube creates it if needed. - Items Limit: the number of items to download from a playlist or channel. Leave it blank to download all items, but be careful with large channels.
- Clip start and Clip end: download only a section, such as
2:26to3:24. - Subscribe: the button beside Download subscribes you to a channel or playlist. MeTube then regularly checks for new items, every 60 minutes by default, and downloads them automatically. Subscribe only to sources whose content you’re allowed to download, and keep an eye on your available storage.
For individual files, your browser is enough: click the filename in the Completed list, and your browser will open or download it. For multiple or large files, it’s better to retrieve them via SFTP using a program such as FileZilla or WinSCP. See Connect via SFTP for instructions.
- Manual installation: files are in
/opt/metube/downloads. - One-Click App: files are in a Docker volume whose name ends in
metube-downloads. These two commands show you the exact path on the server:
docker volume ls | grep metube-downloads
docker volume inspect -f '{{ .Mountpoint }}' VOLUME_NAME
Replace VOLUME_NAME with the name from the first command. Connect via SFTP as the root user and open the path shown, which starts with /var/lib/docker/volumes/. Delete completed files from the server afterward to free up space. Removing an entry from the Completed list does not delete the file by default.
- Platform blocks: Major video platforms detect access from data centers and often require you to log in (“Sign in to confirm you're not a bot”) or don’t return anything. This is caused by the platform, not your server or MeTube. Circumventing these blocks may violate the platform’s terms of use. For this reason, we tested MeTube only with freely licensed content from archive.org.
- Outdated yt-dlp: If a download that used to work fails, you probably need a newer version of yt-dlp. Update MeTube as described above.
- Storage space: Each file stays on the server until you delete it. Subscriptions and playlists can fill up your storage quickly. If you run out of space, increase it in the Manage plan tab of your VPS.
- Traffic: Downloads count toward your VPS traffic allowance, as does retrieving the files afterward. See Traffic allowance, throttling, and traffic packages for what happens if you exceed it.
- Legal considerations: MeTube doesn’t distinguish between permitted and prohibited downloads. You’re responsible for checking whether you’re allowed to download content; see the notice at the start of this guide.
You’ve set up MeTube on your VPS and learned how to download videos or audio in the right quality, where the files are stored, and how to retrieve them on your computer. Keep yt-dlp up to date, protect your instance from unauthorized access, and only download content you’re allowed to download.
Prefer not to deal with Docker manually? Choose the easy option, the One-Click App, as described above under “Easy option: MeTube as a One-Click App.”