# Self-host MeTube

> A tidy web front end for yt-dlp: paste a link, pick a format, and download video or audio.

- Page: https://levelrail.com/templates/metube/
- JSON: https://levelrail.com/templates/metube.json
- Category: Media
- Licence: AGPL-3.0 (Network copyleft (AGPL) license)
- Source: https://github.com/alexta69/metube
- Upstream docs: https://github.com/alexta69/metube

## Requirements
- Memory: about 256 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: latest

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| metube | ghcr.io/alexta69/metube | latest | 8081 | metube_downloads -> /downloads |

## Deploy

### CLI

```bash
levelrail-cli templates deploy metube --name my-metube
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/metube/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### Can I deploy MeTube on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id metube for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image ghcr.io/alexta69/metube:latest is what you deploy there.

Self-host MeTube, MeTube docker compose file, deploy MeTube on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
