FluxDown README

The project's README from github.com/zerx-lab/FluxDown. As one markdown file: README.md.

FluxDown Logo

FluxDown

Downloads, Supercharged.

A blazing fast, multi-protocol download manager — the free & open-source IDM alternative.

Latest Release Downloads License: AGPL-3.0 Platform Rust GPUI Android MCP Server

Awesome Rust Awesome Windows Awesome Free Apps Android FOSS Open Source Android Portainer Unraid CA Chinese Indie Dev

Website · Download · Changelog · FAQ · Feedback

English | 简体中文 | 日本語


Highlights

In Desktop or Web, group downloads by Series title to fold individual episodes together without moving files. Names like Show.S01E100 and 剧名第05话 are recognised. A trailing - 05 also works for extensionless names, videos, common subtitle files and .nfo files. Release suffixes like v2, END and [1080p] are supported. Subtitles can include language tags, flags and the video extension, as in Show - 05.mkv.pt_BR.forced.srt. Existing task groups and torrent bundles keep their own structure.

For a single local download in Desktop, Use a named subfolder reuses or creates a folder under the displayed save location. Recognised episodes use the series title; other downloads use the file or magnet name. Folder names follow the filesystem's case rules: Show and show group together in the view but can be separate folders on case-sensitive storage. A manually entered or picked directory takes precedence.

Desktop RSS only collects history on the first fetch. Download all eligible queues new and initially collected items matching the current search after confirmation. If the eligible items change, review the new results and confirm again.

Features

Feature Description
Rust-Powered Engine Shared Rust + Tokio engine, independent of UI and FFI, used by desktop, mobile, server and standalone CLI hosts
Smart Segmentation Segments split dynamically at runtime; idle workers take over slow segments
Multi-Protocol Dedicated engines for HTTP/HTTPS, FTP, BitTorrent (DHT/UPnP/magnet), eD2K (server + Kad DHT source finding, MD4 verification), HLS (AES-decrypt) and DASH
BitTorrent Web Seeds On desktop and Web, right-click a torrent to add a BEP 19 source: a direct HTTP(S) file URL for a single-file torrent, or the root of a mirror that preserves the original torrent folder and file paths for a multi-file torrent. The server must support HTTP range requests. The address is saved with the task.
Queues & Speed Control Named queues, scheduling and token-bucket global rate limiting
Persistence & Resume SQLite with WAL by default; server deployments can use PostgreSQL; recover downloads from persisted state
Browser Integration Download interception, streaming media sniffing, Alt+Click bypass, right-click send and connection diagnostics
Desktop & Web UI GPUI desktop and React Web management, light/dark themes, custom themes, task details and segment visualization; desktop tray keeps the service available after the UI closes
Batch TXT Export Select tasks or select all in the download list, or use Export task information (.txt) from the new-download batch or resolved file list. Available in desktop, Web, Android, and iOS; resolved plugin lists are available in desktop, Web, and full iOS.
RSS & Automation Feed filters, unattended downloads, JavaScript plugins, managed FFmpeg/yt-dlp components and task-event webhooks
Remote Devices Optional FluxCloud account, settings sync and remote task management, plus LAN device pairing and direct connections
APIs & CLI REST/OpenAPI, aria2-compatible JSON-RPC, MCP with 12 tools, and a CLI for scripts or standalone downloads

Download-list exports include selected tasks from the current host and selected FluxCloud remote tasks, even when only remote tasks are selected. The URL column for a FluxCloud remote task is available only if its source device shares download URLs.

Task exports are UTF-8 text with three tab-separated columns: name, URL, and size in bytes. The header row uses the app's current UI language (English: Name, URL, Size (bytes)), so parse columns by position, not by header text. Decode \\, \t, \r, and \n as a backslash, tab, carriage return, and line feed respectively, in a single pass after splitting fields. Unknown values are blank; resolved plugin lists do not expose direct per-file URLs. The desktop and Web clipboard action additionally prefixes text starting with spreadsheet formula markers or a quote (after leading whitespace) with an apostrophe; TXT files do not add that prefix.

New-download batches use explicit out= names first, then available names from the link itself (HTTP(S)/FTP file paths, magnet dn, or eD2k file names). Links without a known name leave that field blank. A new-download batch exports the byte size declared by an eD2k file link, including 0 for a valid empty file. Links without known size metadata leave the size blank.

Resolved plugin lists export only checked files, including checked files hidden by the current search or filter. The name column contains each file's relative path. Where variant selection is available, an explicitly chosen variant with unknown size leaves the size blank, even if the default item size is known.

Privacy: local downloads do not require a FluxCloud account. Cloud features are optional. Anonymous installation and daily-active statistics are controlled by analytics_enabled and can be disabled; they do not collect download/task information. The CDN acceleration network (cdn_crowd_enabled, on by default) anonymously shares node speed measurements for direct HTTPS downloads (domain, CDN node IP, speed — never URL paths, file names or account details) and can be disabled in Settings → Download → Connection; see the privacy policy. This is not a zero-telemetry application.

FluxDown vs. IDM

FluxDown IDM
Price Free & open source $24.95 + renewals
Open source Yes (AGPL-3.0) No
Platforms Windows / macOS / Linux / NAS / Android Windows only
BitTorrent & magnet Yes No
eD2K / eMule links Yes No
HLS / DASH streaming Yes Partial
Dynamic segmentation Yes Yes
Browser extension Chrome / Edge / Firefox Yes
Ads None —

Installation

Grab the latest build from GitHub Releases or fluxdown.com:

Platform Packages
Windows (x64 / ARM64) setup.exe installer · portable .zip
macOS (Intel / Apple Silicon) .dmg · portable .tar.gz
Linux (x64) .AppImage · .deb · Arch .pkg.tar.zst · portable .tar.gz
Android (arm64-v8a / armeabi-v7a / x86_64) per-ABI .apk · universal .apk
NAS / Server (headless, x64 / ARM64) Docker · Synology DSM 6/7 .spk · QNAP .qpkg · OpenWrt .apk (25.12+) / .ipk · Unraid CA template · CasaOS / ZimaOS app store

Browser Extension

Install the extension so FluxDown takes over browser downloads automatically:

Chrome Web Store Edge Add-ons Firefox Add-ons

The extension connects to the desktop agent through Native Messaging. A Tampermonkey userscript is also available.

NAS / Server

The current headless service is fluxdown-agent --server + fluxdownd, with an embedded Web UI. The Docker image retains the name ghcr.io/zerx-lab/fluxdown-server.

From a checkout, use the supplied Compose configuration:

docker compose -f docker/docker-compose.yml up -d

Open http://<server>:17800/ and complete the first-run wizard: it asks for a one-time setup code, then lets you set an access key. For Docker, read the code from docker logs <container> or from agent/setup-bootstrap in the data volume; the Synology, fnOS and QNAP packages put FluxDown-setup-code.txt in the download (Public) shared folder, and OpenWrt shows it in LuCI. The key must contain 8–128 visible ASCII characters, including both a letter and a digit. Set it up on a trusted network before exposing the service; use an HTTPS reverse proxy for remote access.

Browser extension: Viewing remote progress and removing tasks requires the host’s Management API. If an existing Docker deployment can accept downloads but cannot list tasks, open the server’s Web UI, enable Settings → API Service → Management API, then test the connection again in the extension. If you use a reverse proxy, make sure it forwards /api/v1/ requests. Remote Only shows the server automatically; in Desktop First, select Remote server in the task panel. Removing tasks does not delete downloaded files.

iOS: In FluxDown, go to Devices → Add Host switch the mode to Access key (the default is LAN pairing), then enter the server address and access key. Switch to that host, then use Downloads to add tasks, check progress, or remove tasks.

CLI & HTTP APIs

The fluxdown CLI connects to the running desktop or server HTTP API by default. On desktop, enable the management API in Settings → API Service first. Supply the access key via FLUXDOWN_TOKEN; use FLUXDOWN_URL or --url to select a remote server.

fluxdown ping
fluxdown add "https://example.com/file.zip"
fluxdown --json list

# Standalone mode: embed the engine instead of connecting to a service
fluxdown add --local "https://example.com/file.zip"

Standalone mode cannot share a data directory with a running engine: stop the service using that directory first.

Interface Endpoint Purpose
REST management API /api/v1/* Tasks, queues, RSS and other management operations
OpenAPI /api/v1/openapi.json Machine-readable API schema
aria2-compatible JSON-RPC /jsonrpc (HTTP / WebSocket) Integration with aria2-compatible clients
MCP /mcp AI-agent tools
Official UI protocol /rpc (WebSocket) GPUI/Web gateway; distinct from the aria2 API

Desktop defaults to 127.0.0.1:17800, with management API and MCP disabled until enabled. Server mode enables both by default and requires an access key. See the OpenAPI specification for the REST contract.

MCP Server (Model Context Protocol)

FluxDown ships a built-in MCP server so AI agents (Claude Desktop, Cursor, Cline, …) can manage downloads via the Model Context Protocol. It implements a stateless Streamable HTTP subset (JSON-RPC 2.0 over POST /mcp) on the same API port — no separate MCP process needed.

Tools (12)

Tool Description
download_add Create a download task (HTTP/HTTPS, FTP, magnet, BitTorrent)
download_list List tasks with progress/speed/status, optional status filter
download_get Get a single task by ID
download_pause / download_resume Pause / resume one task
download_pause_all / download_resume_all Pause / resume all tasks
download_remove Remove a task, optionally deleting downloaded files
queue_list List named queues and their configuration
rss_list List RSS subscriptions with their configuration and runtime state
rss_add Subscribe to an RSS feed and start polling it on a schedule
rss_remove Delete an RSS subscription and the items it collected

Client configuration

{
  "mcpServers": {
    "fluxdown": {
      "url": "http://127.0.0.1:17800/mcp",
      "headers": { "Authorization": "Bearer <your-token>" }
    }
  }
}

The MCP layer is implemented in native/api/src/mcp.rs on top of the same ApiHost trait that powers the REST management API and aria2-compatible JSON-RPC.

Architecture

One Rust download engine, multiple hosts and clients. Desktop uses fluxdown-desktop → fluxdown-agent → fluxdownd; headless deployments reuse the agent and daemon with a React Web UI. Native Android and iOS clients connect through UniFFI (native/mobile), using an embedded agent and daemon for local downloads or /rpc for remote hosts.

flowchart TD
    UI["GPUI desktop"] -->|"WebSocket /rpc"| AGENT["fluxdown-agent — UI gateway and desktop shell"]
    WEB["React Web UI"] -->|"WebSocket /rpc"| AGENT
    EXT["Browser Extension (WXT)"] -->|Native Messaging| NMH["fluxdown_nmh"]
    NMH --> AGENT
    CLI["fluxdown CLI"] -->|"HTTP API"| AGENT
    AGENT -->|"Authenticated JSON-RPC"| DAEMON["fluxdownd — download core"]
    DAEMON --> ENGINE["fluxdown_engine"]
    MOBILE["Native Android / iOS"] -->|"UniFFI"| CORE["fluxdown_mobile"]
    CORE -->|"embedded or remote"| AGENT
    LOCAL["fluxdown add --local"] --> ENGINE
    ENGINE --> PROTOCOLS["HTTP/HTTPS, FTP, BitTorrent, eD2K, HLS, DASH"]
    ENGINE --> DB[("SQLite / PostgreSQL")]
Layer Tech Path
Desktop UI Rust + GPUI; app composition and capability crates crates/, crates/app/
Agent / daemon UI gateway and headless host / download core native/agent/, native/daemon/
Shared protocol / HTTP API JSON-RPC DTOs / REST, aria2, MCP adapters native/protocol/, native/api/
Download engine Rust + Tokio, no UI or FFI dependencies native/engine/
Mobile UI / bridge Kotlin + Jetpack Compose / SwiftUI + UniFFI mobile/Android/, mobile/FluxDown/, native/mobile/
Web management UI React + TypeScript + Vite web/
CLI HTTP client or embedded engine native/cli/
Browser integration WXT + TypeScript, Native Messaging, userscript fluxDown/, native/nmh/, userscript/
Website Astro + React website-v2/

Building from Source

Start with the Rust toolchain and your platform's native build tools (MSVC on Windows, Xcode command-line tools on macOS). Linux desktop builds also need graphics, audio and tray development libraries; the maintained Ubuntu package list is in CI. Bun is needed for the Web UI. Android uses Android Studio's JBR, Android SDK/NDK and cargo-ndk; iOS uses Xcode.

# Clone the development branch (main = active development, stable = stable releases)
git clone -b main https://github.com/zerx-lab/FluxDown.git
cd FluxDown

Desktop (GPUI)

# Build desktop UI, agent, daemon and browser relay, then launch
cargo desktop-dev

# Build only (also stages a signed development .app on macOS)
cargo desktop-dev --build-only

The launcher reuses an existing desktop/service instance rather than forcibly restarting it. Quit the UI and stop its services before testing changes to running code.

Headless server & Web UI

# Build the Web UI BEFORE building the agent
cd web
bun install --frozen-lockfile
bun run build
cd ..

cargo build -p fluxdown_daemon
cargo run -p fluxdown_agent --features web-ui -- --server

The web-ui feature embeds web/dist into the agent binary at compile time. After changing the frontend, rebuild the Web UI and then the agent. FLUXDOWN_WEBROOT optionally serves a directory from disk instead.

For frontend development, run cd web && bun run dev in a second terminal while the server is running: Vite listens on port 5173 and proxies backend requests to port 17800.

CLI

cargo build -p fluxdown_cli
cargo run -p fluxdown_cli -- ping

Native mobile

Android lives in mobile/Android; iOS lives in mobile/FluxDown. Both use the shared Rust core in native/mobile and shared translations in assets/i18n.

# Android: use Android Studio's JBR as JAVA_HOME
(cd mobile/Android && ./gradlew :core:testDebugUnitTest :bridge:testDebugUnitTest :app:assembleDebug)
# iOS: from repository root
mobile/FluxDown/scripts/build-core.sh
(cd mobile/FluxDown && xcodebuild build -project FluxDown.xcodeproj -scheme FluxDown -destination 'generic/platform=iOS Simulator')

Official Android releases use the native project's ANDROID_NATIVE_* signing credentials. They cannot be installed over the old Flutter APK; back up needed data before uninstalling the old app. The retired Flutter SDK, Rinf and hub are no longer build prerequisites. Shared assets, legacy desktop data/theme upgrade compatibility and the website's legacy theme editor remain supported.

Running tests
cargo test -p fluxdown_engine        # Engine tests
cargo test -p fluxdown_api           # HTTP / aria2 / MCP contracts
cargo test -p fluxdown_agent         # Gateway / server
cargo test -p fluxdown_cli           # CLI
cd web && bun test && cd ..          # Web UI
cargo test -p fluxdown_mobile        # Shared native mobile core

Contributing & Community

Pull requests are welcome! Branch off main and target main — it is the development branch, while stable only tracks stable releases (maintainers advance it from main). Before submitting, please make sure:

cargo fmt --check
cargo clippy --workspace --all-targets -- -D warnings

See CONTRIBUTING.md for the full workflow.

Thanks

果核剥壳

License

Distributed under the GNU Affero General Public License v3.0.

If FluxDown saves you time, consider giving it a Star — it helps more people discover the project.

Made by zerx-lab

FluxDown (zerx-lab/FluxDown)

Searching Database…

What is this?FluxDown is a free, open-source download manager built in Rust that handles HTTP/HTTPS, FTP, BitTorrent, eD2K and HLS/DASH streaming downloads, positioned as a free IDM alternative.
Is it a desktop app, a browser extension, or both?It is a desktop/NAS application with a Rust engine under a Flutter UI, plus a companion browser extension (Chrome/Edge/Firefox) that intercepts downloads from the browser and sends them to the app.
Is the browser extension required to use it?No, the browser extension is optional — it just makes FluxDown automatically take over browser downloads instead of having to add links manually.
Which platforms does it run on?Windows (x64/ARM64), macOS (Intel/Apple Silicon), Linux (x64), Android, and NAS/servers (Docker, Synology, QNAP, OpenWrt, Unraid, CasaOS).
Does it send any data off my machine?No — FluxDown is local-first with no ads, telemetry, or required accounts; all data including download state stays on the device.
What makes FluxDown faster than a regular downloader?It uses a Rust + Tokio engine with IDM-style dynamic segmentation, where idle threads rescue slow segments at runtime, claiming up to 10x speed improvements.
Can AI agents like Claude or Cursor control my downloads?Yes, FluxDown ships a built-in MCP (Model Context Protocol) server with 12 tools covering adding, listing, pausing, resuming, removing downloads and managing RSS subscriptions, accessible over local Streamable HTTP with bearer-token auth.
Does it support torrents and magnet links?Yes, it has a dedicated BitTorrent engine supporting DHT, UPnP, and magnet links, along with eD2K/eMule support (server and Kad DHT source finding with MD4 verification).
Can it download streaming video (HLS/DASH)?Yes, it includes dedicated engines for HLS with AES decryption and for DASH streaming, which IDM only supports partially.
What are similar projects?Motrix, edgeever, Ketch, rayburst, nogon, hydra, Surge, swiftdl
Creator
zerx-lab
Size
115.4 MB
Stars
6K
Age
5mo
Commits · 90 Days