Skip to content

A self-hosted Real-Debrid webdav server you can use with Infuse. Together with rclone it can mount your Real-Debrid torrent library into your filesystem and load it to Plex or Jellyfin.

debridmediamanager/zurg-testing

Repository files navigation

zurg

A self-hosted Real-Debrid webdav server written from scratch. 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).

Are you looking for the source code?

Download

Latest version: v0.9.3-hotfix.11

Download the binary or use docker

docker pull ghcr.io/debridmediamanager/zurg-testing:latest
# or
docker pull ghcr.io/debridmediamanager/zurg-testing:v0.9.3-hotfix.11

How to run zurg in 5 steps for Plex with Docker

  1. Clone this repo git clone https://github.com/debridmediamanager/zurg-testing.git
  2. Add your token in config.yml
  3. sudo mkdir -p /mnt/zurg
  4. Run docker compose up -d
  5. time ls -1R /mnt/zurg You're done! If you do edits on your config.yml just do docker compose restart zurg.

A webdav server is also exposed to your localhost via port 9999.

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:
  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.

Why zurg? Why not X?

  • Better performance than anything out there; changes in your library appear instantly (assuming Plex picks it up fast enough)
  • You can configure a flexible directory structure in config.yml; you can select individual torrents that should appear on a directory by the ID you see in DMM. Need help?
  • If you've ever experienced Plex scanner being stuck on a file and thereby freezing Plex completely, it should not happen anymore because zurg does a comprehensive check if a torrent is dead or not. You can run ps aux --sort=-time | grep "Plex Media Scanner" to check for stuck scanner processes.
  • zurg guarantees that your library is always available because of its repair abilities!

Guides

Service Providers

  • ElfHosted - Easy, open source, Kubernetes / GitOps driven hosting of popular self-hosted apps - tested, tightly integrated, and secured. Apps start at $0.05/day, and new accounts get $11 credit, no commitment.
  • zurg.club - optimized Plex+zurg server setup for $50/month

Please read our wiki for more information!

About

A self-hosted Real-Debrid webdav server you can use with Infuse. Together with rclone it can mount your Real-Debrid torrent library into your filesystem and load it to Plex or Jellyfin.

Resources

Stars

Watchers

Forks