Introducing a new way to review your PRs.

Read the announcement

capsoftware / cap

Open source Loom alternative. Beautiful, shareable screen recordings.

View on GitHub

31 documents · Updated Nov 23, 2026

overview

Knowledge Base updated: 2026-11-22

Cap knowledge base

Orientation

Cap is a multi-client screen-recording product: a Rust/GPUI desktop app and media engine create recordings, while a Next.js web product provides sharing, collaboration, identity, and developer-facing video infrastructure.

Critical product state is persisted through packages/database, including identity, sessions, passkeys, customer data, and migrations. Media capture, encoding, export, and distributed rendering span Rust crates and service runtimes.

Release automation, verification suites, status monitoring, and specialized clients (mobile, browser, CLI, SDK, and chat) support the primary desktop and web experiences.

flowchart LR
  Desktop[GPUI desktop application] --> Capture[Recording and media engine]
  Capture --> Artifacts[Recording artifacts]
  Artifacts --> Web[Next.js web product]
  Web --> DB[(Data and identity platform)]
  Web --> Infra[Developer infrastructure platform]
  CLI[CLI and chat integrations] --> Web
  Clients[Mobile, browser, and SDK clients] --> Web
  Capture --> Render[Render-farm processing]
  Render --> Delivery[Media delivery services]
  Delivery --> Web
  Codec[Capcodec media codec] --> Capture
  Automation[Build and release automation] --> Desktop
  Automation --> Clients
  Status[Service status monitoring] --> Web

Glossary

  • Capcodec — Cap's media codec project, used by media-processing and runtime integrations.
  • GPUI — the Rust UI framework used by the primary desktop application.
  • Instant mode — a web and product flow for rapid capture and sharing.
  • MCP — Model Context Protocol tooling used by Cap's developer infrastructure surface.
  • Passkey — a credential-backed authentication method persisted and managed by the identity platform.

Codebase-wide invariants

  • Database schema changes are accompanied by ordered migration metadata under packages/database/migrations/**.
  • Authentication-sensitive operations use shared identity helpers in packages/database/auth/** and web domain services in apps/web/lib/**.
  • Recording artifacts flow through Rust capture and media components under crates/recording/** before delivery or rendering services consume them.
  • Public web product routes and server endpoints are implemented under apps/web/app/**; route-facing behavior must remain compatible with the web service layer.
  • Platform packaging and reliability checks are encoded in .github/workflows/** rather than being implicit release steps.

Routing table