Skip to content
StyuDEVPublic

About

Fast, resumable download manager for AllDebrid on Windows: multi-connection chunks, crash-proof resume, clipboard capture, self-updating.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

debrid-dl

A fast, resumable download manager for Windows, built for AllDebrid users. Copy a link anywhere, and it downloads over many connections at once, survives crashes and reboots, and keeps itself up to date.

Latest release Windows 10/11 x64 .NET 10 License: MIT

Debrid DL main window with finished and paused downloads

Demo data: the files and folder shown are examples.

I want to…

Where to go
Use it Download the installer, then read Install
Understand how it works How it works, with an animated diagram
Build it or read the code Build from source and Project layout

The interface is in French. You need an AllDebrid account and an API key.

Why

Hosters throttle free downloads, and a browser download restarts from zero when it fails. AllDebrid turns a hoster link into a fast direct link; debrid-dl takes that link and gets the most out of it: many connections in parallel, and a download that picks up exactly where it stopped.

Features

  • Multi-connection downloads. Each file is split into 4 MB chunks, fetched by 16 connections at once (configurable).
  • Resume anything. Pause, close the app, crash, reboot: only the missing chunks are fetched again.
  • Clipboard capture. Copy a link from any AllDebrid-supported hoster and it lands in the queue by itself.
  • Expired links handled. When a direct link expires mid-download, the original link is unlocked again and the download continues.
  • A real queue. Limit how many files download at the same time; the queue is kept between sessions.
  • Self-updating. New versions install themselves from GitHub Releases, with small delta updates.
  • No admin rights. Installs for the current user only.

Install

  1. Download DebridDl-win-Setup.exe from the latest release.
  2. Run it. It installs in your user folder and adds a Start menu shortcut.
  3. Open the settings (gear icon) and paste your AllDebrid API key, created at alldebrid.com/apikeys.

Updates are checked at launch and every 6 hours. When one is ready, a Mettre à jour button appears; otherwise it is applied when the window closes. Running downloads are paused, then resumed after the restart.

Usage

  1. Paste links in the box, one per line, or just copy them anywhere.
  2. Choose the destination folder.
  3. Click Télécharger.

Each file shows its progress, speed and time left, and can be paused, resumed, opened in its folder or removed. The bottom bar controls everything at once: Tout reprendre, Tout mettre en pause, Retirer les terminés.

Setting Default Meaning
Connexions par fichier 16 Parallel connections per file
Fichiers en même temps 2 Files downloaded at the same time
Récupérer les liens copiés on Watch the clipboard for supported links

How it works

Link unlocked by AllDebrid, file split into chunks, progress saved to disk

  1. Unlock. The hoster link is sent to the AllDebrid API (link/unlock). Some hosters need a moment: the app waits on link/delayed until the direct link is ready.
  2. Split. The file is cut into 4 MB chunks. Each connection takes the next missing chunk, so fast connections simply do more of the work.
  3. Save progress. The data is written to name.telech. Every 3 seconds, name.telech.json records the file size, the chunk size and the list of finished chunks. A crash loses at most the chunks in flight.
  4. Finish. When every chunk is there, name.telech is renamed to the real file name.
  5. Recover. If the direct link answers 401, 403, 404 or 410, it has expired: the original link is unlocked again and the download continues from the same chunks.

Settings and the queue live in %APPDATA%\debrid-dl\settings.json. Your API key is stored there and is only ever sent to api.alldebrid.com.

Build from source

Requires Windows and the .NET 10 SDK.

git clone https://github.com/StyuDEV/debrid-dl.git
cd debrid-dl
dotnet build src/DebridDl -c Release

The app is in src/DebridDl/bin/Release/net10.0-windows/win-x64/. Only one instance runs at a time, so close the installed version before starting a local build.

Releases are built by GitHub Actions: pushing a v* tag compiles the app, packs it with Velopack and publishes the installer and the delta update (see .github/workflows/release.yml).

Project layout

src/DebridDl/
  Download.cs          download engine: chunks, connections, resume, expired links
  Debrid.cs            AllDebrid API v4 client (unlock, delayed links, account, supported hosts)
  MainWindow.xaml(.cs) window, queue, clipboard watcher, updates
  Settings.cs          settings and queue, saved as JSON
  Program.cs           entry point and Velopack start-up
docs/img/              screenshot and diagram used by this README

Stack: C# and WPF on .NET 10, HttpClient with HTTP range requests, Velopack for installs and updates.

Contributing

Bug reports and pull requests are welcome. For a bug, open an issue with your Windows version, the hoster, and what you saw. Never paste your API key.

Changelog

See CHANGELOG.md.

License

MIT © StyuDEV. Not affiliated with AllDebrid.

About

Fast, resumable download manager for AllDebrid on Windows: multi-connection chunks, crash-proof resume, clipboard capture, self-updating.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages