DarkDM is a video download manager for Linux inspired by Internet Download Manager (IDM). It captures video from streaming sites through a browser extension + native host + yt-dlp integration.
Extension (Vivaldi/Chrome MV3)
↓ chrome.debugger + captureStream + MediaSource
Native Host (Rust)
↓ native messaging
yt-dlp / ffmpeg / aria2c
↓
~/Downloads/DarkDM/
- Network interception — chrome.debugger detects HLS/DASH streams
- Native Messaging — Rust host downloads via yt-dlp/ffmpeg
- Buffer capture — captureStream grabs decoded video buffer
# Install
cd extension/
# Load unpacked in Vivaldi: vivaldi://extensions → Load unpacked
# Dependencies
sudo pacman -S yt-dlp ffmpeg aria2cextension/ — Vivaldi/Chrome extension (MV3)
native-host/ — Rust native messaging host
openspec/ — Specifications (OpenSpec)
src-tauri/ — Desktop app (Tauri + Svelte)
| Feature | Status |
|---|---|
| YouTube download | ✅ Works |
| HLS stream detection | ✅ Works |
| captureStream (buffer) | ✅ Works |
| yt-dlp integration | ✅ Works |
| Site-specific extractors | 🔜 TODO |
| Desktop app (Tauri) | 🔜 TODO |