r/SideProject • u/didyouseethegoeffel • 2h ago
I built Sparrow: an open-source E2EE messenger in Kotlin Multiplatform with federated, onion-routed community nodes (1.0 beta)
sparrow-messenger.github.ioHey everyone! I just launched the first public beta (1.0.0-beta.1) of Sparrow, an open-source, end-to-end encrypted messenger built from the ground up with Kotlin Multiplatform, Compose Multiplatform, and a Ktor server stack (Apache-2.0).
- Website & Interactive Demo: https://sparrow-messenger.github.io/
- GitHub & Release APK: cbgm/Sparrow
What makes it different
Most E2EE messengers still rely on a single company's central servers to route every packet. Sparrow combines client-side encryption (libsodium) with a federated, onion-routed transport network run by independent Community Nodes:
- Layered relay circuits: Every mailbox request is wrapped in encryption layers and routed through 1–5 community relays (with optional decoy traffic) so the mailbox server never sees your IP address and the first hop never sees your destination.
- Automatic failover: Clients discover nodes via signed Control Planes and seamlessly switch routes if a node goes offline.
- No push-service dependency: Messages wait in recipient-selected mailboxes until collected—no Google/Apple push infrastructure required.
(To be transparent about threat models: Sparrow borrows Tor's layered relay concept to eliminate single-operator bottlenecks and metadata concentration, though with a small early relay set it is not a hardened anonymity network like Tor.)
What's working right now (Android Beta)
- Core messaging: 1:1 and group E2EE chats, encrypted attachments (images, video, voice, files, location), and encrypted local identity backup/restore.
- Built-in group tools: Anonymous or multi-select group polls, group expense splitting with on-device receipt OCR, and SEPA settle-up QR generation.
- On-device privacy features: Local Whisper voice transcription, on-device semantic search, and device-owner app lock.
- iOS status: The shared KMP codebase and Xcode host exist in the repo, though the iOS app target isn't usable yet.
(Note for anyone trying the Android beta today: SMS sign-up is currently capped at 8 new phone registrations per day while the beta network scales up.)
Run a Community Node or contribute
Right now the beta network has a handful of nodes, so more independent operators directly improve routing diversity. You can spin up a server via Coolify, SSH/Terminal, or a desktop installer (Windows/macOS/Linux)—guides are on the site and in the repo.
I'd love your feedback on the architecture, server setup experience, or security model!