OpenDM — High-Speed Download Accelerator for Linux
About this fork
OpenDM was created by Nader Mahbub Khan (nadermkhan/opendm). All credit for the original design, download engine, browser integration and media pipeline goes to him; see AUTHORS and NOTICE.
This fork, maintained by FA Saikat, changes the following:
- GTK3 user interface: the GUI was ported from GTK4 to GTK 3 (>= 3.22), so it runs on GTK3-only desktops and distributions.
- Distribution packages:
.deb (Debian/Ubuntu), .rpm (Fedora, openSUSE) and Arch Linux packages, built and install-tested in CI. See docs/PACKAGING.md.
- Release automation: GitHub Releases are published only when a
release/X.Y.Z branch is merged into main.
- Fixes: native-messaging manifest install paths, an out-of-bounds bug in the MP4 muxer, and missing build-dependency declarations.
Notice (from the original author)
It currently works only for Linux (Debian) and tested working in Firefox. Not tested in Chrome and contributions are welcomed. Fork it and improve it. ☺️
Install (packages)
Download the package for your distribution from the Releases page:
# Ubuntu 22.04+ / Debian 12+ and derivatives
sudo apt install ./opendm_*_amd64.deb
# Fedora
sudo dnf install ./opendm-*.fc*.x86_64.rpm
# openSUSE Tumbleweed
sudo zypper install ./opendm-*.suse.x86_64.rpm
# Arch Linux and derivatives
sudo pacman -U opendm-*-x86_64.pkg.tar.zst
Packages install the browser native-messaging manifests system-wide for Firefox, Chrome and Chromium.
Screenshots
Main Interface

Download File Info Dialog

Download Progress & Connection Visualizer

Features
- Dynamic Multipart Socket Segmentation: Splits active downloads dynamically mid-flight up to 32 concurrent threads without connection teardown.
- Browser Integration: Native Messaging host compatible with Chromium (Chrome, Brave, Edge) and Firefox.
- Pre-Download File Info Prompt: Automatically inspects file size, categorizes destinations, and supports folder synchronization.
- Remote ZIP Inspection: Uses HTTP Range queries to read archive central directories and download individual files without fetching the entire archive.
- Native ISOBMFF Muxer & fMP4 Defragmenter: Multiplexes separate video and audio DASH streams into fast-start MP4 containers without external re-encoding.
- Bandwidth Pacing: Token-bucket speed limiting per session or globally across all downloads.
- Batch Import & Queue: Supports IDM
.ef2 batch files, text URL lists, and queue scheduling.
- Zero Telemetry: No tracking, no ads, no remote data collection.
Quick Start
1. Install Dependencies
Debian / Ubuntu / Linux Mint / Pop!_OS:
sudo apt-get update
sudo apt-get install -y cmake ninja-build g++ pkg-config \
libgtk-3-dev libcurl4-openssl-dev zlib1g-dev libssl-dev \
nlohmann-json3-dev
Fedora / RHEL:
sudo dnf install cmake ninja-build gcc-c++ gtk3-devel libcurl-devel zlib-devel openssl-devel json-devel
Arch Linux:
sudo pacman -S cmake ninja gcc gtk3 curl zlib openssl nlohmann-json
2. Build & Verify
git clone https://github.com/fa-saikat/opendm.git
cd opendm
cmake -B build -S . -G Ninja
cmake --build build -j$(nproc)
ctest --test-dir build --output-on-failure
3. Install Desktop Integration
./install_desktop.sh
This installs:
- Desktop launcher (
opendm.desktop) and application icons.
- Command-line binaries:
~/.local/bin/opendm and ~/.local/bin/opendm-native-host.
- Native Messaging manifests for Chrome, Chromium, Brave, Edge, and Firefox.
Browser Integration
Installed from a package? The .deb, .rpm and Arch packages already register the native messaging host system-wide for Firefox, Google Chrome and Chromium. For Brave or Microsoft Edge, also run ./install_native_host.sh from a checkout of this repository; it finds the packaged /usr/bin/opendm-native-host automatically. Then load the extension (steps 2–5).
Built from source:
- Run
./install_desktop.sh to install Native Messaging manifests.
- In your browser (Chrome / Brave / Edge), navigate to
chrome://extensions/.
- Enable Developer mode (top right toggle).
- Click Load unpacked and select the
extension_extracted/ directory from this repository.
- In Firefox, navigate to
about:debugging#/runtime/this-firefox and select Load Temporary Add-on pointing to extension_extracted/manifest.json.
Command Line Usage
# Download with 16 connections
opendm -d https://speed.hetzner.de/100MB.bin -p ~/Downloads -c 16
# Add to queue without starting immediately
opendm -a -d https://speed.hetzner.de/100MB.bin -p ~/Downloads
# Apply speed limit (e.g. 500 KB/s)
opendm -d https://speed.hetzner.de/100MB.bin -l 500
# Import IDM batch file (.ef2)
opendm -i /path/to/downloads.ef2 -s
# Silent / Headless download
opendm -n -d https://example.com/archive.zip -p /tmp
Project Structure
opendm/
├── src/
│ ├── core/ # ChunkManager, DownloadSession, MediaMuxer, ZipPreviewer
│ ├── ipc/ # Local IPC server and browser Native Messaging host
│ ├── ui/ # GTK3 user interface and custom widgets
│ └── main.cpp # CLI argument parsing and GTK application entry point
├── tests/ # Automated Catch2/CTest suites
├── extension_extracted/ # Browser WebExtension
└── install_desktop.sh# Desktop installation script
Authors
- Nader Mahbub Khan: creator and original author
- FA Saikat: maintainer of this fork (GTK3 port, packaging, CI)
License & Attribution
- License: Licensed under the GNU General Public License v3.0 (GPL-3.0).
- Attribution (GPL-3.0 Section 7): All distributions, copies, and forks must retain the NOTICE file and prominently credit the creator:
Created by Nader Mahbub Khan (https://github.com/nadermkhan/opendm)
- Disclaimer: OpenDM is an independent clean-room implementation. It is not affiliated with, endorsed by, or sponsored by Tonec Inc. Internet Download Manager (IDM) is a registered trademark of Tonec Inc.
评论