Skip to content

What is Fret?

Fret is a self-hosted download manager: you give it links, it fetches the files onto your server and keeps going on its own when something fails. It is a modern alternative to pyLoad and JDownloader, designed for a home server or a NAS.

It ships as a single program that holds the web interface, a REST API, the download engine and a command line, with its state in one SQLite file. There is no PHP or Python runtime to install and no plugin to download: support for the services is compiled in.

The dock: three doors busy and one free, the parcels listed by step, and the label of the selected parcel on the right

Fret speaks logistics. Every file you download is a parcel, and its journey is the one of a parcel in a sorting centre:

  1. You paste links into a new shipment. Each link becomes a parcel with its own number (FR-0042), and Fret checks each one before it leaves.
  2. The parcel waits at the dock (the download queue) until a dock door frees up.
  3. It is picked up: Fret chooses the best route for it. That route goes through your debrid service (a forwarder), your premium account at the file hoster (the carrier), the hoster’s free mode, or the link itself.
  4. It travels in transit, split into segments downloaded in parallel. A cut connection, a stop or a crash does not lose what was received.
  5. It is delivered to the warehouse (your download folder) after an inspection on arrival that checks its size.
  6. If it is an archive, it is unpacked as soon as every volume of the archive has arrived.
  7. Once every parcel of the shipment is delivered, the shipment leaves the dock for the warehouse register, where you can find it again later.

When a parcel cannot be delivered, it is never silently dropped. It is a missed delivery retried later, it is held at customs while the hoster imposes a wait, it is held at the dock until you act, or it is a return to sender when the link is dead. Each step is written down in its tracking history.

The interface uses the logistics words; the code and the API use the usual technical ones. The main ones:

You know it as In Fret In the API
Download queue The dock queue
Package, group of links Shipment package
File Parcel (FR-0042) file
Simultaneous download slot Dock door slots
Speed limit Gauge speedLimit
File hoster (1fichier, MEGA…) Carrier hoster
Debrid service (AllDebrid…) Forwarder debrid
Download folder Warehouse dir, FRET_DOWNLOAD_DIR
Click’n’Load Collection collect
Extraction Unpacking unpack

Every term is explained in the glossary, and every parcel status in Statuses.

  • Direct links: any http or https link that leads to a file.
  • Forwarders: AllDebrid and Real-Debrid, which unlock links from every hoster they support.
  • Carriers: 1fichier, Rapidgator, MEGA, Google Drive, Dropbox, MediaFire, Pixeldrain and WeTransfer, including folder links for MEGA, Google Drive, MediaFire and Pixeldrain.
  • Collection: websites and browser extensions that send links with Click’n’Load.
  • Unpacking: ZIP, RAR (RAR5 and multi-volume) and 7z (including .001 volumes).

The details of each service are in Supported services.

Fret focuses on direct downloads for one person. It does not handle:

  • torrents and magnet links;
  • captchas: a hoster whose free mode needs one (Rapidgator) only works with an account or a forwarder;
  • several users: one password protects the whole dock;
  • encrypted ZIP archives (encrypted RAR and 7z archives are supported).
Built with Kiln