Back to home
Capsule icon

Capsule

Temporary Encrypted File Sharing

Launched July 2026 · 150+ users on launch day · Product Hunt and Show HN

Rust (Axum, Tokio, SQLite) · Kotlin (Jetpack Compose) · Rust CLI · Cloudflare Workers · Astro/Starlight

Overview

Capsule is a multi-platform temporary file-sharing service built end-to-end: a Rust/Axum backend, a Rust/Clap CLI, a Kotlin/Jetpack Compose Android app, and a static Web UI. Launched publicly on Product Hunt and Show HN in July 2026, it reached 150+ users on launch day. Files expire after one hour. Optional end-to-end encryption uses the age format and a BIP39 mnemonic; the browser, CLI, and Android clients interoperate, and the server only stores ciphertext.

Highlights

  • Ported the age encryption format to dependency-free JavaScript so browser encryption interoperates with the Rust CLI and Kotlin Android app without WebAssembly
  • Engineered the Rust backend with SQLite in WAL mode, per-IP rate and bandwidth limits, a concurrency cap, request timeouts, free-disk checks, and a cleanup task that purges expired files every 60 seconds
  • Built Android app in Kotlin/Jetpack Compose: system share sheet integration, CameraX + Google ML Kit for QR code scanning, QR code generation for easy sharing, upload history with per-file time-remaining display, DataStore for persistent settings, optional encryption, and self-hosted server support
  • Polished CLI experience: real-time upload/download progress bars (indicatif), terminal QR code rendering after upload (both download URL and mnemonic for encrypted files), and shell completions for bash/zsh/fish/PowerShell via clap_complete
  • Distributed the CLI via a custom Homebrew tap (pre-built macOS/Linux arm64/x86_64 binaries) and Fedora COPR RPM packaging
  • Shipped a tag-driven GitHub Actions release pipeline that builds macOS, Linux, and Windows binaries and updates Homebrew, Fedora COPR, and Scoop packages
  • Deployed the service behind Cloudflare Tunnels with a Worker proxy, security headers, and a static web client
  • Published full Astro/Starlight documentation site at docs.withcapsule.dev, deployed to Cloudflare Workers
Back to home