Getting Started
What is Capsule?
Section titled “What is Capsule?”Capsule is a simple file transfer service for the Web, Android, and servers via CLI. For when LAN file sharing isn’t an option, you don’t want to deal with cloud storage accounts, and don’t trust a random person’s cloud. Capsule is designed for quick, temporary file transfers. No account needed, no long-term storage, and client-side encryption is available in both the Android app and the CLI.
How does it work?
Section titled “How does it work?”- Upload a file from any device. If you are on Android or in a Terminal, you can also choose to encrypt the file with a decryption key that only you have access to.
- The server returns a file ID and download URL. Capsule clients can turn that into a QR code for easier cross-device handoff.
- Download the file from another device using the link or by scanning the QR code through your system camera or the Android app.
- If you elected to encrypt, the file will be completely unreadable and only your decryption key can unscramble it. The CLI provides options to view the decryption key as a QR code, or view it as text. Once the keys are made visible, pressing any key on the keyboard will exit the tool and wipe the terminal screen clean.
- The Android app can also encrypt and decrypt files, and supports reading the decryption key from the CLI-provided decryption QR code.
- The Android app and CLI provide a local history of the 15 most recent file transfers and store both the download and file IDs. However, the decryption key is never stored, so if you lose the decryption key, the file is unrecoverable.
Pick a client
Section titled “Pick a client”- Use the Web UI when you want a fast browser-only transfer.
- Use the Android app when you want native sharing, QR scanning, and mobile-friendly receive flows.
- Use the CLI when you want scripting, self-hosting support, or encrypted terminal transfers.
First transfer
Section titled “First transfer”The quickest way to try Capsule is with the hosted service. The public web UI lives at https://withcapsule.dev, while direct HTTP examples use the hosted API at https://send.withcapsule.dev:
curl -F "f=@photo.jpg" https://send.withcapsule.dev/curlupThe response includes a short file ID. Anyone with that ID or the full download URL can fetch the file until it expires or is deleted.
What Capsule is good at
Section titled “What Capsule is good at”Capsule works best for short-lived file handoffs: moving logs off a server, sending a file from a phone to a laptop, or sharing a one-off download without creating an account.
It is not meant to be permanent storage, collaboration software, or a general-purpose sync service.