Skip to content
CapsulsaurusPublic

Latest commit

 

History

1,800 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capsule

English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Français · Deutsch · Español · Português (Brasil) · Italiano · Русский · हिन्दी · العربية

Licence: AGPL-3.0 CI Discussions

Capsule on iPhone: the Library timeline showing a grid of photos

A photo library that organizes millions of photos on its own, that no server can see into, and that shares across servers the way email does. Capsule is open source and end-to-end encrypted, built for people who shoot thousands of pictures a year, photographers whose RAW files are their livelihood, travellers bringing the world home on a memory card, and families keeping decades of memories. Run it on your own server or a friend's, and share with anyone, on any server.

Note

Alpha. Mobile clients are being stabilized and refined prior to distribution to beta testers. Follow along on the roadmap.

Why Capsule

  • Organize millions of photos, systematically and automatically. Every import lands on one timeline, RAW+JPEG pairs and bursts* are stacked, duplicates are caught by their content, and smart albums keep themselves up to date. A library of millions stays as easy to navigate as one of hundreds.
  • Private by construction, not by promise. Photos are encrypted on your devices before they leave. The server stores only ciphertext and never holds a key, so not even whoever runs it can look.
  • Proof of where every photo came from. Each photo carries a signed history of who captured, imported and edited it, so its origin can be verified rather than trusted.
  • Share across servers. People on different servers share albums with each other, the way email works between providers. Nobody has to join your server, and no company sits in the middle.
  • Your whole library, even offline. Every app keeps an index of everything you have ever kept, so you can browse, search and organize all of it, place names included*, on a plane, at the border, or far from any signal.
  • Straight from the camera. Pull photos over Wi-Fi or cable directly from your camera, with every file checksummed on arrival.
  • Hand off huge uploads*. On slow Wi-Fi, your phone hands a sealed bundle to your laptop, which uploads it as sealed bytes and never decrypts it.
  • A library that outlives Capsule. Every photo sits beside a signed sidecar in an open format, so your library stays readable without the app, without the database, and without us.
  • Native on every device*. Real native apps that follow each platform's own design, a web viewer for anyone you share with, and a scriptable command line and terminal UI.

* Coming later, prioritized by demand.

Everything you'd expect

  • Albums, plus your originals kept byte for byte with their metadata and restorable exactly as they went in
  • Search by date and type on your device, and by place, rating and label with typo-tolerant suggestions from your own library and @people and @tag shortcuts*
  • Ratings, picks and rejects for culling a shoot; labels and captions
  • Location fixes that keep the original, and a map of where every photo was taken with pins clustered at every zoom*
  • Share links anyone can open in a browser, and upload links that let guests add their photos to yours
  • Backups that resume where they stopped, and device-to-device sync over your local network
  • Export albums of any size to folders or ZIP, with your edits or the originals and their metadata*
  • Shortcuts and share-sheet integration on iPhone and Android*
  • Trash with a recovery window, hidden photos, and account recovery if you lose a device
  • Apps in 13 languages

On the roadmap

  • On-device AI. Search in plain words ("sunset over the harbour"), find people, pets and places, and surface your best shots, all computed on your devices. AI suggestions are kept apart from your own labels and never overwrite them.
  • Built-in, format-aware image compression. Choose lossless or lossy compression for each format, so a library takes less space on exactly your terms.
  • More importers. One-step moves from iCloud Photos and Immich, alongside Google Photos.
  • Windows and Linux apps, after the phone, tablet and Mac apps.

Get started

Translations

Language README App strings translated Reviewed by a fluent reader
简体中文 README.zh-Hans.md zh-Hans translated zh-Hans reviewed
繁體中文 README.zh-Hant.md zh-Hant translated zh-Hant reviewed
日本語 README.ja.md ja translated ja reviewed
한국어 README.ko.md ko translated ko reviewed
Français README.fr.md fr translated fr reviewed
Deutsch README.de.md de translated de reviewed
Español README.es.md es translated es reviewed
Português (Brasil) README.pt-BR.md pt-BR translated pt-BR reviewed
Italiano README.it.md it translated it reviewed
Русский README.ru.md ru translated ru reviewed
हिन्दी README.hi.md hi translated hi reviewed
العربية README.ar.md ar translated ar reviewed

Translations start as machine drafts and are marked reviewed once a fluent reader accepts them. To help, see locales/README.md, request a language or report a translation error.

Contributing

Install mise, run mise install and mise run hooks-install, then see CONTRIBUTING.md. Report bugs in GitHub Issues; ask setup questions in GitHub Discussions. Contributions need a signed CLA: a single copyright holder is what keeps app-store distribution possible, and every public release stays under an OSI-approved licence.

Path What it is
capsule-core Rust core: cryptography, media, metadata, local library
capsule-sdk Rust client SDK over the generated API client
capsule-cli The capsule CLI and TUI
capsule-server The server (Kynos REST/OpenAPI)
capsule-e2e End-to-end tests across the real binaries
capsule-swift, capsule-android Native Apple and Android clients
capsule-web Read-only web client
capsule-docs Documentation site

Licence

Capsule is published under AGPL-3.0-only; third-party notices are in NOTICE. The copyright holder, Justin Chung, may also offer it under separate terms, such as those app stores require; any version you receive under the AGPL stays yours under the AGPL. See the licensing design doc.

Releases

Sponsor this project

Packages

Used by

Contributors

Languages