zurg

zurg

Docker app from grtgbln's Repository

A self-hosted Real-Debrid webdav server. Together with rclone it can mount your Real-Debrid torrent library into your file system like Dropbox. It's meant to be used with Infuse…

Requirements


        Expects a `config.yml` file to be mounted at `/app/config.yml` before starting the container. See configuration details: https://github.com/debridmediamanager/zurg-public/blob/main/config.yml
        
        Expects a `plex_update.sh` script to be mounted at `/app/plex_update.sh` if Plex integration is desired. See script details: https://github.com/debridmediamanager/zurg-public/blob/main/scripts/plex_update.sh
    
Overview
A self-hosted Real-Debrid webdav server. Together with rclone it can mount your Real-Debrid torrent library into your file system like Dropbox. It's meant to be used with Infuse (webdav server) and Plex (mount zurg webdav with rclone).

zurg

Every debrid account and Usenet in one folder.

Website · Download · Docs · Discord · Sponsor

This is zurg's public stable release for Real-Debrid. Sponsor nightlies add TorBox, AllDebrid, Premiumize, Debrid-Link, Offcloud and Usenet. The website shows the options.

zurg serves your Real-Debrid library over WebDAV. rclone mounts it so Plex can read it. Infuse can read WebDAV directly.

This repository holds the public release and its quick-start files: config.yml, docker-compose.yml, rclone.conf and Plex update scripts. Download binaries from Releases.

Requirements

  • A Real-Debrid account and API token
  • rclone and ffprobe are automatically downloaded on first run if not already installed

Download

Release Cycle

Stable version: v1.0.0 (Public)

This repository documents the current release.

Download the binary or use docker

docker pull ghcr.io/debridmediamanager/zurg-public:latest
# or pin the release
docker pull ghcr.io/debridmediamanager/zurg-public:v1.0.0

The same build is also pushed to the old zurg-testing name, byte for byte, so existing installs keep pulling without a compose edit. New installs should use zurg-public.

Nightly (Sponsors only)

Date-stamped nightlies use YYYY.MM.DD.HHMM-nightly. They add backends beyond Real-Debrid including TorBox, AllDebrid, Premiumize, Debrid-Link, Offcloud and Usenet.

Nightlies need an active sponsorship. Start at gatekeeper:

  1. Press Connect GitHub. That account gets access.
  2. Pay there or sponsor on GitHub Sponsors or Patreon. For Patreon also press Connect Patreon so the pledge can be matched.
  3. Press Register.

Patreon alone grants no access because it cannot identify your GitHub account. Until access is granted the private repo answers 404. Access ends when the sponsorship lapses.

The same sponsorship opens DMM's sponsor features including the wanted list that zurg fetches for you and the Jellyfin and Emby plugins. What a sponsorship gives you lists every perk.

Download the binary or use docker

Pulling the private Docker image is step 1 of the Docker guide.

docker pull ghcr.io/debridmediamanager/zurg:latest

How to run zurg in 5 steps for Plex with Docker

  1. Clone the repo and enter it with git clone https://github.com/debridmediamanager/zurg-public.git && cd zurg-public
  2. Add your token to config.yml
  3. Create the mount with sudo mkdir -p /mnt/zurg
  4. Start zurg with docker compose up -d
  5. Check the mount with time ls -1R /mnt/zurg

After a config change run docker compose restart zurg.

Stuck? Ask in the zurg-support forum on Discord.

A web server is now running at localhost:9999, with the dashboard at localhost:9999/config/.

Binary

Download the binary and run it. zurg creates a config and downloads ffprobe and rclone when needed.

./zurg                           # creates config.yml, downloads bin/ffprobe + bin/rclone
# edit config.yml → add your Real-Debrid token
./zurg                           # starts the server on http://localhost:9999

The TOKEN (or RD_TOKEN) environment variable auto-creates a config on first run, so Docker users can skip the config file entirely. PORT overrides the configured port.

Note: when using zurg in a server outside of your home network, ensure that "Use my Remote Traffic automatically when needed" is unchecked on your Account page

Command-line utility

Usage:
  zurg [flags]
  zurg [command]

Available Commands:
  download-requirements Download ffprobe and rclone into a directory and update config paths
  clear-downloads Clear all downloads (unrestricted links) in your account
  clear-torrents  Clear all torrents in your account
  completion      Generate the autocompletion script for the specified shell
  help            Help about any command
  network-test    Run a network test
  version         Prints zurg's current version

Flags:
  -c, --config string   config file path (default "./config.yml")
  -h, --help            help for zurg

Use "zurg [command] --help" for more information about a command.

What it does

  • Library changes appear quickly when Plex picks them up (details).
  • config.yml can filter directories by name and file content. Need help?
  • Dead links are checked when a file is opened and repaired when possible.

Windows

Windows needs WinFsp and one extra rclone flag. See WINDOWS.md.

Please read our wiki for more information!

zurg's version history


More from DMM: Debrid Media Manager · zurg · rex · Docs · Sponsor · Discord · Reddit

Categories

Links

Details

Repository
ghcr.io/debridmediamanager/zurg-public:latest
Last Updated2026-11-22
First Seen2026-08-19

Runtime arguments

Network
bridge
Privileged
false

Template configuration

API PortPorttcp

Container Port: 9999

Target
9999
Default
9999
Value
9999
Config File PathPath

Path to the config file

Target
/app/config.yml
Default
/mnt/user/appdata/zurg/config.yml
Value
/mnt/user/appdata/zurg/config.yml
Plex Update ScriptPath

Path to Plex update script: https://github.com/debridmediamanager/zurg-public/blob/main/scripts/plex_update.sh

Target
/app/plex_update.sh
App DataPath

Path to the app data folder

Target
/app/data
Default
/mnt/user/appdata/zurg/data
Value
/mnt/user/appdata/zurg/data