Medlar/docs/FEATURES.md
astar76 ca70d8d70d S000: workflow scaffold
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:03:59 -06:00

8.4 KiB

Features

The contract for "done". Plans cite these ids; a feature is done when its plan's end criteria pass. Tags: F = a Free Download Manager feature (current or 3.9; from freedownloadmanager.org and Wikipedia, read 2026-11-24, plus general knowledge of the app, so not every tag is sourced), + = from other managers or our own idea. Nothing here is dropped without an entry in DECISIONS.md.

1 Engine

  • 1.1 F Segmented HTTP/HTTPS: many connections per file, resume after pause, crash, reboot or lost network.
  • 1.2 + Dynamic parts: an idle connection takes half of the slowest remaining part (by estimated time left), down to a minimum part size. Parts are merged and split live; no fixed count.
  • 1.3 + Adaptive connections: start low, add a connection while total speed still rises, drop it when it doesn't or when the server answers 429/503. Remember what each host tolerates.
  • 1.4 F User cap on parts per download, per host and in total; 1 part when the server has no ranges.
  • 1.5 + Validator check on resume (ETag, Last-Modified, length, overlap bytes); a changed file asks before restarting.
  • 1.6 + Retries with backoff and jitter, stall detection, per-part error isolation, Retry-After honoured.
  • 1.7 + Crash-safe state: preallocated or sparse file, part journal, final atomic rename, disk-full handled before and during.
  • 1.8 F Mirrors: several URLs for one file, parts spread by measured speed. + Metalink (v3, v4, HTTP header).
  • 1.9 F FTP, FTPS. + SFTP. Resume and segments where the server allows it.
  • 1.10 F RTSP and MMS streams, recorded through ffmpeg.
  • 1.11 + HLS and DASH (unencrypted) with parallel fragments, joined by ffmpeg.
  • 1.12 + Refresh an expired link: reopen the source page, take the new address, keep the parts.
  • 1.13 + Checksums: MD5, SHA-1, SHA-256, SHA-512, BLAKE3; read from metalink, sidecar file, header or paste.
  • 1.14 + HTTP/2 and HTTP/3 are used only when they beat parallel HTTP/1.1 (one connection, no segments).
  • 1.15 + Proxies (HTTP, SOCKS5, system) per app, host or download. Tested only against a local stub.
  • 1.16 F Logins: Basic, Digest, FTP, cookies; saved per site in the Secret Service keyring.

2 Limits, priority, queues, time

  • 2.1 F Three traffic modes (low, medium, high), each editable, switchable from tray and toolbar. + "Snail" one-click mode.
  • 2.2 F Limits: global, per queue, per host, per download, down and up. Change live, no reconnect.
  • 2.3 + Priority per download (lowest to highest, plus "only this one"): weighted share of bandwidth and of connections.
  • 2.4 + Automatic limiter: measures latency and backs off when the line is busy with something else.
  • 2.5 + Quota: per day or month cap with warning and stop. Metered connection (NetworkManager) pauses or limits.
  • 2.6 F Queues/groups, each with its own folder, limit, number of active downloads, order, schedule. Drag to reorder.
  • 2.7 F Scheduler: start/stop at times and weekdays, speed mode by time, run a program, power action.
  • 2.8 F When done: shut down, suspend, hibernate, log out, lock, quit, run command. Countdown with cancel.
  • 2.9 + Dependencies: start B after A. Delayed start. Inhibit suspend while downloading.

3 Adding

  • 3.1 F Add dialog: URL(s), name, folder, queue, priority, limit, parts, headers, cookies, login, mirrors, checksum; probes size, type and resume support as you type. Remembers folders.
  • 3.2 F Batch: paste lists, import from clipboard or file, numbered patterns [001-120], {a,b}, dates.
  • 3.3 F Drag and drop of links, files and .torrent/.metalink onto the window. F Floating drop target with live speed.
  • 3.4 + Clipboard watcher (off, ask, add), filter by extension and host.
  • 3.5 F Site grabber (HTML spider): depth, host, extension and size filters, tree preview, optional link rewrite.
  • 3.6 F Site explorer: browse FTP/SFTP/open HTTP directory listings and pick files.
  • 3.7 F Archive peek: list a remote ZIP (+ TAR when seekable) and fetch chosen files only.
  • 3.8 + Duplicate detection (URL, name, checksum): resume, rename, skip or show existing.
  • 3.9 F Rules: by extension, MIME, host, size → folder, queue, tags, priority, name template.

4 Browser connector

  • 4.1 F Extension for Firefox and Chromium family: intercept downloads, context menu on links, images, selections, "all links".
  • 4.2 + Local port (default 17616, loopback only, changeable): HTTP JSON and WebSocket, documented in CONNECTOR.md.
  • 4.3 + Pairing: extension gets a token after a code is accepted in Medlar. Host and Origin checked; a web page can't add downloads.
  • 4.4 + Hand-off carries cookies, referrer, user agent, headers, POST body, suggested name. Falls back to the browser if Medlar is off.
  • 4.5 + Rules in the extension: minimum size, types, sites, hold a key to bypass, per-site off switch.
  • 4.6 + Media detection on the page (video, audio, HLS/DASH lists) with a popup list of qualities. DRM is never touched.
  • 4.7 + Live progress in the extension popup, with pause and resume.
  • 4.8 + Nacre's "custom manager" JSON (POST /, GET / as ping) works unchanged; unpaired adds always show the Add dialog.
  • 4.9 + Wakes Medlar through native messaging or medlar: links. Also handles magnet:, .torrent, .metalink.

5 Torrents

  • 5.1 F .torrent and magnet, file selection with priorities, sequential mode, DHT, PEX, LSD, UPnP. 5.2 F Seeding by ratio/time, limits, peers, trackers, piece map. 5.3 + Create torrents, web seeds, RSS with filters, watch folder, recheck, move data, IP filter, encryption, bind to an interface. v1, v2 and hybrid where the library supports it.

6 Media

  • 6.1 F Video sites through yt-dlp (bundled, self-updating): quality, audio only, subtitles, playlists, chapters.
  • 6.2 F Preview unfinished media, pictures and archives; sequential-first option for media.
  • 6.3 F Convert after download (ffmpeg, bundled): presets, extract audio, remux.

7 Library and files

  • 7.1 F List with search, filters (state, type, queue, tag, host, date), sort, columns, groups, multi-select, compact and card views.
  • 7.2 F Details: parts map, speed graph, log, headers, peers, mirrors, files. 7.3 F Move, rename, delete (bin or keep), open, show in folder, redownload, copy link. 7.4 + Tags, notes, history, "file is gone" state, undo for removal.
  • 7.5 + Unpack archives after download (with password list), join split files, scan hook (clamscan or any command).
  • 7.6 + Statistics: by day, host, type; average speed; time saved.
  • 7.7 F Import/export lists and settings. + Import from aria2, AB Download Manager, FDM exports where the format is documented.
  • 7.8 + Pick up another manager's partial file when its part list is readable.

8 Outside the window

  • 8.1 F Tray with speed, modes, pause all. + Notifications with actions. + Launcher progress badge (Unity API).
  • 8.2 F Remote control: web page (phone-friendly, LAN, password, off by default). + REST API with the same token system.
  • 8.3 + CLI: medlar add|list|pause|resume|limit|…, headless mode, shell completions. Single instance.
  • 8.4 F Portable mode. + Autostart, start minimised. + Keyboard shortcuts for everything and a command palette (Ctrl+K).
  • 8.5 F Languages: every string goes through a catalogue; English first, others can be dropped in.

9 Interface (Material You, M3 Expressive)

  • 9.1 Dynamic colour from wallpaper/desktop scheme or a seed, light, dark, AMOLED, contrast levels, scheme variants.
  • 9.2 Wavy progress: linear and circular. Amplitude follows speed, flattens when paused, turns to error/verify states, and the part gaps travel with the dynamic parts. Moves only while bytes arrive.
  • 9.3 Parts map: live blocks that split, hand over and merge with springs (1.2 made visible). Torrent piece map in the same style.
  • 9.4 Expressive shapes: morphing loading indicator, shape per file type, button press morphs, connected button groups, split buttons, FAB menu, floating toolbar, sliding selection.
  • 9.5 Speed graph and big speed number with rolling tabular digits. Limit dial with spring-loaded handle.
  • 9.6 Completion moment: wave settles, shape morphs to a tick, row moves to Done. Short, interruptible, once.
  • 9.7 Every state designed (empty, loading, error, disabled, focus, selected, too long), 480 px to ultrawide, keyboard complete.
  • 9.8 Motion levels: off, reduced, normal, expressive. Idle app uses no CPU and draws no frames.

10 Not included

Community comments and file ratings from FDM (they need a public server), Tor, DRM or captcha bypass, a Windows, macOS or Android build (Linux only, D-002; phones use the web remote).