MPD: Multi-Protocol Media & Torrent Downloader
Fast, cross-platform media stream and BitTorrent downloader desktop app and CLI built in Rust with 1-click engine installers.
Lead Systems & Desktop Architect
2026 – Present • Open Source v1.0.0
Media Stream Systems & Distributed P2P Networks
MPD (Multi-Protocol Downloader) unifies multi-source media acquisition and peer-to-peer data ingestion into a lightweight, GPU-accelerated desktop application written in Rust (1.75+) with eframe and egui. It eliminates terminal complexity by embedding automated one-click engine installers for standalone yt-dlp and static FFmpeg binaries on Windows, macOS, and Linux, while incorporating an embedded pure-Rust BitTorrent/DHT engine for acquiring datasets, ISOs, and magnet links. Includes live format inspection, speed and ETA telemetry, instant playback triggers, and a headless CLI runner for terminal scripts.
A high-performance native desktop application and CLI tool built in Rust & egui for rapid multimedia stream acquisition across 1,000+ websites and BitTorrent/magnet networks, featuring 1-click automated installers for yt-dlp and FFmpeg.
CHALLENGE & ARCHITECTURAL SOLUTION
Traditional media downloaders require complicated terminal setups, manual FFmpeg PATH configuration, or are bundled with ad-injected Electron wrappers that consume 500MB+ RAM. Meanwhile, downloading peer-to-peer torrents requires an entirely separate, heavy client.
Architected MPD as a single lightweight native Rust application combining a pure-Rust BitTorrent/DHT engine with automated background 1-click installation of yt-dlp and FFmpeg, delivering sub-30MB memory footprint, zero web views, and GPU-accelerated 60fps rendering.
ARCHITECTURAL BLUEPRINTS
Dual Protocol Ingestion Architecture
Unifies HTTP, HLS, DASH, RTMP, and BitTorrent/magnet streams under a unified asynchronous Tokio task supervisor.
Automated 1-Click Engine Provisioning
Background installer module verifies, downloads, and unpacks static FFmpeg and yt-dlp binaries directly into local application data with zero PATH alteration.
Pure-Rust BitTorrent & DHT Swarm Engine
Embedded P2P client handles distributed hash table (DHT) node lookups, peer handshakes, piece verification, and uTP transport natively.
GPU-Accelerated Immediate-Mode UI
Rendered via eframe / egui directly on OpenGL with custom Lucide vector primitives, collapsible navigation sidebars, and instant theme switching.
DUAL PROTOCOL INGESTION & 1-CLICK ENGINE ARCHITECTURE
Unified media stream acquisition across 1,000+ extractors alongside native pure-Rust BitTorrent/DHT peer networking. Zero Electron, zero WebKit, and sub-30MB RAM footprint.
Dual Protocol Ingestion Engine
Seamlessly handles direct media URLs across 1,000+ streaming sites alongside 40-character hex BitTorrent info-hashes and magnet URIs.
yt-dlp & FFmpeg 1-Click Installer
Zero manual PATH setup. Automatically discovers, downloads, decompresses, and activates static FFmpeg and yt-dlp binaries on Windows, macOS, and Linux.
Dynamic Stream Format Explorer
Asynchronously inspects video metadata, previews thumbnails, and lets users pick exact resolution (4K, 1080p, 720p, 480p) or extract pure MP3 audio.
Live Throughput & Swarm Telemetry
Real-time download velocity meters (MB/s or KB/s), estimated time of arrival, active peer counts for torrent swarms, and instantaneous cancellation.
Headless Command-Line Interface
Detects command-line arguments to execute high-throughput media and torrent downloads directly from terminal environments and automated scripts.
Native File Chooser & Playback Dispatch
Integrated native OS folder selectors via rfd, 1-click clipboard paste, and direct opening of completed media in default operating system players.
| Subsystem Feature | Web Media Streaming (yt-dlp Core) | BitTorrent / Magnet Swarm (Rust P2P) |
|---|---|---|
| Protocol Handlers | HTTP/HTTPS, HLS (.m3u8), DASH (.mpd), RTMP | Magnet URIs, 40-char InfoHash, DHT, uTP, TCP |
| Engine Execution | Non-blocking subprocess with live stdout stream parser | Embedded pure-Rust DHT crawler & piece supervisor |
| Format Filtering | Best merged, 1080p, 720p, 480p, pure MP3 conversion | Multi-file torrent inspection and piece verification |
| Live Telemetry | Transfer speed (MB/s), downloaded bytes, ETA, % | Active swarm peer count, verified pieces, speed |
| Binary Dependency | 1-click automated installer provisions yt-dlp & FFmpeg | 100% native Rust, zero external daemon binaries |
Binary Inspection
Checks application local data storage and system PATH for compatible yt-dlp and static FFmpeg executables.
Platform Match
Resolves OS kernel target (Windows x64, macOS Universal, or Linux x86_64) to select official release builds.
Direct Stream
Streams standalone binaries directly with progress feedback, unpacking archives with zero external extraction tools.
Sandbox Linking
Grants executable permissions and establishes direct application runtime pointers with instant version verification.
MPD automatically detects command-line flags, bypassing the graphical window for automated terminal scripts:
# Download highest quality video + audio stream
$ cargo run --release -- "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
# Download with 1080p preset or direct MP3 audio extraction
$ cargo run --release -- "https://www.youtube.com/watch?v=dQw4w9WgXcQ" --preset 1080p
$ cargo run --release -- "https://soundcloud.com/artist/track" --preset audio
# Ingest torrent swarm via magnet link
$ cargo run --release -- "magnet:?xt=urn:btih:40_CHAR_HEX_INFOHASH"
CORE SYSTEM CAPABILITIES
Dual-protocol ingestion engine: extracts media from 1,000+ web extractors (YouTube, Vimeo, SoundCloud, TikTok, Reddit, Twitch) alongside native BitTorrent/magnet links
Pure-Rust GPU-accelerated desktop UI (eframe / egui) with 0% Electron, 0% WebKit, and 0% Node.js runtime bloat
1-click automated engine provisioning: downloads, verifies, and activates standalone yt-dlp and static FFmpeg binaries with zero manual PATH configuration
Embedded pure-Rust BitTorrent engine: peer-to-peer DHT network crawling, uTP transport, and live peer count telemetry
Stream format explorer: filter streams by combined video+audio, audio-only (MP3), or raw video, inspecting codec, bitrate, resolution, container, and file size
Real-time download telemetry: live progress bars, transfer speeds (MB/s), estimated time of arrival (ETA), and instant cancellation
Native OS desktop integration: native file dialogs via rfd, 1-click system player launching via open, and native clipboard paste
Headless command-line interface (CLI) mode for terminal execution, shell scripting, and automated workflow pipelines
PromptMan: Native Desktop LLM Workbench
One prompt. Many models. Real numbers. Native Rust desktop LLM workbench with side-by-side streaming & token cost auditing.
WordConnect: Bible & Worship
Flagship mobile technology startup modernizing daily scripture engagement and audio worship streaming.
NEED SCALABLE ARCHITECTURE CRAFTED WITH RESTRAINT?
Whether you need to architect a high-concurrency web platform, build a native desktop application in Rust, or deploy production Android apps — let's build together.