Server Architecture
Unaudited이 콘텐츠는 아직 번역되지 않았습니다.
Capsule exposes one REST/OpenAPI contract (API Surfaces). How every component of the repository depends on the others is mapped in Component Map.
Data Flow
Section titled “Data Flow”Timeline, search, tag, face and memory queries run against the client’s local SQLite catalog. The server stores opaque ciphertext plus the minimum key-free index needed for authorization, ordering, quota, lifecycle and retrieval.
Clients
Section titled “Clients”- Android: Jetpack Compose over
capsule-core-kotlin. - iOS/iPadOS/macOS: SwiftUI over
capsule-core-swift. - Web: read-only, for authenticated viewing, share links and guest upload.
- CLI: development and advanced users.
Native apps and the CLI share client logic through capsule-core and capsule-sdk, exposed to Swift
and Kotlin via uniffi. The per-platform contract is Clients.
Dependency Boundaries
Section titled “Dependency Boundaries”Kynos owns HTTP and the Tokio runtime, Spargen generates the client, Rawshift owns codecs and metadata extraction, and Chromahash is called directly. Blob storage, resumable upload, provenance, crypto, CRDTs, asset lifecycle and application-state ports stay in Capsule. Each pin carries its rationale as a comment beside it in the declaring manifest.
Every crate comes from crates.io except Rawshift, which is pinned to a commit of its git master
(the root Cargo.toml, admitted by name in deny.toml [sources]) because its gamut codecs are
unreleased. Bump that pin as Rawshift moves, and return to a crates.io release once Rawshift is
stable.
No reusable infrastructure library is extracted until a stable product-neutral contract has at least two real consumers.