Skip to content

Design Overview

Capsule is an end-to-end-encrypted personal photo and media store with optional federation. These design docs are its normative specification: every primitive, schema, and protocol is declared in exactly one owner doc and referenced by anchor everywhere else (the Single Source of Truth rule).

The design stacks in layers, each building on the one below — the sidebar groups follow this order:

  • New to the project? Read Core Principles, then the Cryptography overview.
  • Implementing a feature? Find your code module in the Module Map — it names the owning design doc and the validation tier.
  • Reviewing security? Start at the Threat Model and follow each damage scenario to the owner doc that defeats it.