MCPcopy Index your code
hub / github.com/debridmediamanager/debrid-media-manager

github.com/debridmediamanager/debrid-media-manager @v2.5.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.5.6 ↗ · + Follow
164 symbols 380 edges 38 files 0 documented · 0% updated 11d ago★ 1,37276 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ChatGPT made this logo

Debrid Media Manager

Start building your media library with truly unlimited storage size

Features

This builds on top of the amazing service brought by Real-Debrid and AllDebrid.

Library management

You can see all your torrents in one page, sort them by name, by size, by "quality score", etc. It groups all your torrents by title and delete duplicate files. It can show you failed or slow downloads and delete them.

Torrent search

You can add more content to your library by searching the DHT (powered by BtDigg). It detects what you already have downloaded and currently downloading in your library too.

Share your library and mirror other libraries

You can share your whole collection or select specific items you want to share. Head over to r/debridmediamanager and see other people's media collections and easily mirror their content to yours.

Setup

  1. Have Tor running at 127.0.0.1:9050 (needed for DHT search; if you don't use that then it's not needed)
  2. Clone this repository
  3. Install the dependencies npm i
  4. This is a Next.js project so either go with npm run dev or npm run build && npm run start
  5. Head to localhost:3000 and login

FAQ

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

Read the guide here. I highlighted my tested setup in green.

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 release. Don't ask me about -arr apps and/or Usenet. I also came from that setup and found it too much 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?

No. It's completely anonymous. What's only shared are 3 things: filename, magnet hash, file size. It's not even stored in any database. The way it works is that all these data are compressed and stored in the URL. A "webpage" is then created over at https://hashlists.debridmediamanager.com that loads via iframe this (usually very long) list of magnet hashes.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 121
Interface 35
Method 6
Class 2

Languages

TypeScript100%

Modules by API surface

src/services/realDebrid.ts23 symbols
src/pages/library.tsx23 symbols
src/services/allDebrid.ts21 symbols
src/pages/hashlist.tsx17 symbols
src/pages/search.tsx14 symbols
src/services/cache.ts8 symbols
src/hooks/auth.ts8 symbols
src/services/btdigg.ts5 symbols
src/pages/realdebrid/login.tsx5 symbols
src/pages/index.tsx4 symbols
src/hooks/cache.ts4 symbols
src/pages/alldebrid/login.tsx3 symbols

For agents

$ claude mcp add debrid-media-manager \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page