Skip to content
Projekte

Über uns

Eine unendliche Medienbibliothek kuratieren

Entwicklerwerkzeuge

So werden diese Zahlen gemessen

What you can do

  • A wanted list for zurg, Seerr and Kodi, and one-click Easynews handoff.
  • Newznab and Torznab feeds for Prowlarr Sonarr and Radarr. Torznab feeds are cached-only. Linked keys unlock TorBox Premiumize and Offcloud.
  • Seven Jellyfin plugins for debrid and Usenet libraries. Six Emby plugins for debrid libraries.
  • Ten other streams per title in Stremio Cast and Kodi instead of five.

Gemessener Sternzuwachs

in 24h
0
in 7 days
+4
in 15 days
+13
in 1 month
+32

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

Debrid Media Manager logo

Debrid Media Manager

Build your movie and TV show library with truly unlimited storage.

Website · Docs · Discord · Reddit · Sponsor

What is this?

Debrid Media Manager is a free open source web app for building a movie and TV library without filling a hard drive. It adds torrents to Real-Debrid and AllDebrid and TorBox and Premiumize and Offcloud and Debrid-Link, and to put.io. It also helps you keep the collection tidy.

Two sister projects take it further. zurg puts every debrid account and Usenet in one folder that Plex and Jellyfin and Emby read like a normal drive. rex is a media server for the Plex apps that owns no files.

Features

This builds on top of the amazing service brought by Real-Debrid, AllDebrid, TorBox, Premiumize, Offcloud, Debrid-Link and put.io. DMM is an integration for put.io; put.io did not make it.

Library management

See your torrents in one place. Sort them by name, size, status or date added. Group them by title and remove duplicates, failed downloads and slow downloads.

Add accepts full magnets standalone v1 info hashes and .torrent files for Real-Debrid AllDebrid TorBox Premiumize Offcloud and Debrid-Link. Debrid-Link hash lists stay cached-only. Full magnets and .torrent files can start a download. TorBox also accepts direct HTTP(S) links. Debrid-Link Watch stays cached-only and returns an error on a miss.

put.io signs in with put.io's device link or a pasted OAuth token, never a password. It has no cache check, so every add downloads into your put.io storage; DMM checks the size against your free space first. The library lists your transfers, and download links are made in your browser when you click one. There is no Watch or Cast for put.io yet.

Torrent search

Search for torrents and see what your library already has or is downloading. Hashlist bulk downloads include only releases marked available in Real-Debrid. Individual downloads stay separate.

Movie and TV show info pages

Browse movie and TV details with cast crew trailers related titles and full person filmographies.

Stremio integration

Use DMM as a Stremio addon to stream your debrid library. Cast lets you share those streams.

Trakt integration

Sync your Trakt watchlist collection and custom lists with your library.

Simkl custom lists

Sign in to Simkl to browse your own, followed, and collaborative custom lists. Simkl requires PRO or VIP for this read-only API. Open IMDb-linked movies and shows in DMM; entries without an IMDb ID retain their Simkl link. Lists load on demand, following pagination up to Simkl's 10,000-item limit.

Simkl credentials stay in Redis behind an HttpOnly session cookie, never in browser storage. Older browser-token logins must reconnect.

Share your library and mirror other libraries

Share your whole collection or selected items. Browse other public lists in r/debridmediamanager and mirror them into your library.

Sponsor features

DMM is free and stays free. Sponsorship through gatekeeper pays for hosting and unlocks:

  • A wanted list for zurg, Seerr and Kodi, and one-click Easynews handoff.
  • Newznab and Torznab feeds for Prowlarr Sonarr and Radarr. Torznab feeds are cached-only. Linked keys unlock TorBox Premiumize and Offcloud.
  • Seven Jellyfin plugins for debrid and Usenet libraries. Six Emby plugins for debrid libraries.
  • Ten other streams per title in Stremio Cast and Kodi instead of five.
  • Priority NZB uploads with 2 TB a day instead of 300 GB and three torrent jobs instead of one.
  • DMM naming, media details and sorting in zurg. zurg searches DMM's indexers when you have none, picks original-language releases and streams wanted films no indexer carries from YouTube. Known titles reach rex faster with rex-stremio. The DMM API for your tools.

Every 10 filled requests earns 7 days of DMM perks. One fill per person per day counts. Earned time does not include zurg nightlies source remote help or the Discord role. Paid sponsorship includes them. See every perk and setup step.

Setup

Docker (easiest)

git clone https://github.com/debridmediamanager/debrid-media-manager.git
cd debrid-media-manager
cp .env.example .env

In .env set MYSQL_ROOT_PASSWORD (letters and digits only), give DMMCAST_SALT, DMM_PROBLEM_SECRET and DMM_SPONSOR_SECRET each their own openssl rand -hex 32, and set DMM_ORIGIN to the address you open DMM at. Then:

docker compose -f docker-compose.selfhost.yml up -d --build

Open http://localhost:3000. The build needs about 4 GB of free memory. Run the same command after a git pull to update; it also updates the database tables. docker-compose.yml is debridmediamanager.com's own setup, not this one.

Without Docker

  1. Install Node.js 24, npm 11 and MySQL 8.
  2. cp .env.example .env and fill it in as above, plus DATABASE_URL. Use .env, not .env.local: Prisma only reads .env.
  3. npm ci
  4. npx prisma db push creates the tables. Run it again after every update. prisma migrate deploy cannot set up a new database.
  5. npm run build && npm run start, or npm run dev while working on the code.

Optional settings

  • TMDB_KEY, OMDB_KEY, MDBLIST_KEY - movie and show details
  • TRAKT_CLIENT_ID and TRAKT_CLIENT_SECRET - Trakt sign-in, with <DMM_ORIGIN>/trakt/callback as the redirect
  • SIMKL_V2_CLIENT_ID, DMM_ORIGIN, and REDIS_URL - For Simkl custom lists. Self-hosted instances need their own public AUTH V2 PKCE client with the exact <DMM_ORIGIN>/auth/simkl redirect registered. Redis is required for Simkl sessions; there is no in-memory fallback. The separate SIMKL_CLIENT_ID remains an AUTH V1 key for anonymous anime-ID lookup.
  • PROXY - SOCKS5 proxy for stream proxying (e.g. localhost:9050)
  • See .env.example for everything else

What a new copy starts with

debridmediamanager.com's database of torrents and cached releases is not part of this repository, so your copy starts empty:

  • Title search needs IMDb's public title list. Load it with docker compose -f docker-compose.selfhost.yml run --rm imdb, or without Docker npx tsx scripts/import-imdb.ts --data-dir ./imdb-data --apply. The full first run takes many hours. For a quick start add --tables imdb_title_basics,imdb_title_ratings --skip-episodes, which loads only what English titles need and leaves out IMDb's 10 million TV episodes (about 90 minutes on a 2-core machine). Later runs write only what changed, so run it again now and then to pick up new titles. A search made before the import keeps its empty answer for up to 12 hours.
  • Torrent results come from public Stremio addons (Torrentio, MediaFusion, Peerflix) the first time someone opens a title, and are saved for next time. AIOSTREAMS_URL can add releases from your own AIOStreams setup (see .env.example).
  • Cached markers fill in as your users check titles and open their libraries.
  • Sponsor features run on debridmediamanager.com's own services and are off in your copy. Shared hash lists stay links to your copy, and a list too big for a link cannot be shared.

Real-Debrid calls go through your own server's /api/anticors instead of debridmediamanager.com's proxies, and posters come from Metahub and TMDB.

Use Node.js 24 and npm 11 for installation, builds and tests. npm run build first runs the required full-source ESLint and Oxlint checks, then Next.js runs type checking and the production build; invoking next build directly bypasses that required lint gate. Typed ESLint uses tsconfig.eslint.json to cover the application and tool configuration files, including vitest.config.ts, during normal staged-file hooks without changing the application type-check project's exclusions.

Offline installation and UI utilities

Production builds generate the Serwist service worker. Application HTML documents are cached on full navigation and completed frontend routes, with an offline fallback for uncached documents. API responses remain network-only, including credential-bearing navigation URLs; worker upgrades remove API entries left by the previous page cache. Public assets under noprecache/ are deliberately excluded from installation downloads, so Cast notice MP4s load only when used.

Tailwind 4 requires Safari 16.4+, Chrome 111+ or Firefox 128+; see its browser support requirements. Use the official outline-hidden utility when a focus ring needs a forced-colors outline fallback. Existing visible-sibling layouts use sibling-space-x-* and sibling-space-y-*: one spacing owner applies margins only to following non-hidden siblings, preserving independent trailing margins. Do not re-register Tailwind's built-in outline or spacing utility names. The service-worker and library Cypress specs exercise installed caches, frontend HTML caching, computed spacing and forced-colors keyboard focus.

Log archives

The logship container merges late daily-log lines as complete gzip members. It validates an existing archive before replacing it; an unreadable archive and its late log remain intact for recovery. Maintenance works with POSIX sh and does not depend on pipefail.

FAQ

I just don't know where to start or why do I need this?

Read the guide here.

But with Kodi and FEN and Stremio being available, why would I ever need this?

If you want some level of curation on your library. I personally prefer watching only 100+ GB remux releases. Don't ask me about -arr apps and/or Usenet. I also came from that setup and found it too time consuming to maintain.

How does it monitor what's in your library?

It doesn't do any sort of monitoring. It gets that information when you open the Library page and caches it in your browser's local storage.

When I share my library, is it linked to my account's identity?

Account credentials and account identifiers are not included. A shared list contains the chosen title, filenames, magnet hashes, and file sizes, so check those names before sharing. Published pages are public at https://hashlists.debridmediamanager.com. Small lists are compressed into the page's DMM URL; larger lists load a compressed file published beside the page.

License

This project is licensed under the AGPL-3.0.


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

Ähnliche Projekte entdecken

Wird geladen…