🦀 Rust + Compose
Systems & Backend

FetchBird

Open-source, privacy-first Android download manager powered by a multi-connection Rust engine, Jetpack Compose UI, SAF storage, and yt-dlp/FFmpeg.

Native EngineRust + UniFFI
Connections1–16 Parallel
UI Frame P9010ms (120Hz)
FetchBird
Quick Installation / CloneTerminal
git clone https://github.com/sifatmusfique/FetchBird.git

Engineering Background & Purpose

FetchBird separates high-throughput transfer engineering from UI rendering: native Rust crates handle byte-range segmentation (1–16 parallel connections), HTTP/TLS via rustls, crash-safe SQLite WAL staging recovery, and SHA-256 verification over UniFFI + JNA bindings, while Kotlin and Jetpack Compose render a responsive Material 3 interface with zero telemetry and strict Android Storage Access Framework (SAF) file commits.

System Architecture & Workflow

01. Compose & Share UI
Captures links via Material 3 sheets, clipboard detection, or Android Share overlay
02. UniFFI Bridge
Marshals transfer state and telemetry between Kotlin TransferEngine and Rust FFI
03. Rust Transfer Core
Executes parallel byte-range rustls streams with SQLite WAL staging recovery
04. SAF Atomic Commit
Verifies SHA-256 integrity and commits staged files via Android Storage Access Framework

Core Technologies & Protocols

RustKotlinJetpack ComposeAndroidFFmpeg

Key Capabilities & Design Features

  • Multi-Connection Byte-Range Rust Engine (1–16 Threads)
  • Crash-Safe SQLite WAL & Dynamic Segment Balancing
  • Built-in yt-dlp + FFmpeg Extraction & WebView Sniffer
  • Material 3 Jetpack Compose UI with Share Sheet Overlay
  • Scoped SAF Storage Commits, SHA-256 & Auth Vault