Sparrow documentation¶
Sparrow is an actively developed Kotlin Multiplatform secure-messaging project with an Android client and a federated Kotlin/Docker server stack.
Platform status
Android is the usable client. iOS source sets and an Xcode host exist, but important platform/runtime functionality is still missing, so iOS is not currently a supported app target.
Release/build source of truth
The current public server packager in this source tree builds one unified dist/sparrow-server.zip. CI lives in .github/workflows: Android and server checks on pull requests to develop, the server bundle on server changes, the documentation site on master, and releases from v* tags, which also deploy Coolify production (see Release Process).
New here? Read these in order¶
- Introduction
- Current feature status
- Project structure
- Architecture overview
- Conversation orchestration
- Startup architecture
- Chats and message transport flow
- Attachments and Polls
- Identity recovery, Invitations and Group membership
- App lock and Settings
- Server overview
- Release process and the documentation audit
Operator shortcuts¶
After a server package is running, you should not need to remember health URLs:
- Control Plane: open
/indexon the Control Plane address. - Community Node: open
/indexon the Community Node address.
Those pages use relative links and therefore work in LAN and public deployments.
Documentation sections¶
- Why Sparrow? — the federated design, Tor comparison, and where the security model differs from Signal/WhatsApp.
- Getting Started — prerequisites, first build, project structure, development flow.
- Architecture — Clean Architecture rules, module boundaries, conversation workflow state machines, Direct/Group separation.
- Features — current Android functionality, attachments/media, local message search, message safety and implementation classes.
- Transport & API — Control Plane discovery, node failover, circuits, mailboxes and packets.
- Security — identity, encryption, safety numbers, server trust and threat model.
- Server & Operations — Control Plane/Community Node, unified runtime manager, independent signed directory, Docker, Caddy and durable state.
- Development — local setup, extending the project, quality, testing, logging, contributing, releases.
- Generated Reference — current module/dependency reference plus a source-derived production class inventory.
Documentation location¶
Architecture, server, feature, security, API and development documentation is centralized here. Repository-level community and legal documents are Contributing, Code of Conduct, Security, and the Apache-2.0 license. server/secrets/placeholder.md is not documentation; it only keeps the otherwise-empty secrets directory tracked by Git.
Architecture source of truth¶
There are two types of architecture docs:
docs/generated/is normally generated from Gradle project structure and dependencies.- hand-written pages explain intent and runtime behavior.
When the normal build environment is available, run:
Do not manually edit generated files.