An open-source drive where everything is locked on your device before it leaves.
Run it at hushos.com, or on a server you control.
How it protects your files · Host it yourself · Notes from the build · AGPL-3.0
Private storage for your files, personal or work, that is simple to use.
- Files are encrypted on your device before they leave it.
- The server holds only ciphertext and the shape of the folder tree.
- It runs at hushos.com, or on a server you control.
HushOS is an open-source, end-to-end encrypted productivity suite. Version 1 is Drive, with family plans.
- Accounts. The password never leaves your device (OPAQUE). A 24-word recovery phrase gets you back in. Sign up on the web or in the phone apps.
- Drive. Encrypted folders and files, resumable uploads, previews (images, PDF, video, audio, Markdown, code, Office files), versions, trash, folder colours and tags. Search runs on your device.
- Sharing. Share with people you've added, as viewer or editor, or by a link with an optional password and expiry. Checking someone's twelve words is optional and can come later. Stopping a share gives the folder tree new keys; file contents already shared keep theirs.
- Families. Up to 20 people share one plan's storage and the family's folders. Everyone's own files stay private to them.
- Phone apps. iPhone (SwiftUI) and Android (Jetpack Compose) on one Rust core that does all the cryptography. Offline files, the system Files app, the share menu, and Scan document.
- Self-hosting. One Docker Compose file runs the whole stack, with billing off by default.
How it protects your files explains the design in plain words. The detail is in docs/drive-design.md and the code.
| Where | How |
|---|---|
| Web | hushos.com |
| iPhone | App Store, or the unsigned IPA on Releases to sideload |
| Android | Google Play, or the APK on Releases |
| Your server | Self-host below |
git clone https://github.com/HushOS/HushOS
cd HushOS
cp .env.production.example .env
docker compose up -d --build- It runs the whole stack on http://localhost:5173, with Garage for file storage.
- Verification emails go to the log:
docker compose logs webshows each link. - Before other people use it, set real passwords, your public origin and a mail service in
.env.
docs/self-hosting.md covers every setting, the published images, backups and the object store.
You need Bun 1.4.4 and Docker with Compose 2.24.4 or newer.
bun install --frozen-lockfile
bun run setup # writes .env
bun run infra:up # Postgres, Mailpit and Garage in Docker
bun run db:migrate
bun run dev # http://localhost:5173/appCONTRIBUTING.md has the commands, tests, conventions and how the packages fit together. The look is specified in DESIGN.md.
- Web: TanStack Start on Vite and Nitro, React Query, Tailwind v4, shadcn/ui on Base UI, Geist.
- API: Elysia, mounted at
/api, with typed Eden Treaty clients. - Data: PostgreSQL 18 with Drizzle, an S3-compatible store, and a pg-boss worker.
- Phones: SwiftUI and Jetpack Compose on a shared Rust core.
- Tooling: Bun workspaces, Turborepo, Oxlint and Oxfmt.
apps/
web/ The site, the app and the API
ios/ iPhone app, with its Files, share and widget extensions
android/ Android app
crates/
hushos-core/ The client side of the protocol in Rust, shared by both phone apps
packages/
auth/ Accounts and sessions
billing/ Plans, checkout and webhooks (Polar)
crypto/ Protocol versions, OPAQUE and key envelopes
drive/ The tree, uploads, downloads, sharing and links
groups/ Families: membership, signed member lists, key changes
jobs/ The background worker
db/ Schema, migrations and repositories
emails/ Email templates and delivery
tokens/ Design tokens for web, iOS and Android
… config, env, logging and shared helpers
Found a vulnerability? Please email [email protected] rather than opening an issue.