Skip to content
HushOSPublic

About

HushOS is an open-source, self-hostable, end-to-end encrypted productivity suite.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

824 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HushOS, spelled in dots

Nobody else can look inside.

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.

CI status on main Latest release App Store version

How it protects your files · Host it yourself · Notes from the build · AGPL-3.0

Download on the App Store   Get it on Google Play

HushOS Drive in a browser: My files with coloured folders, tags and who can open each item.

HushOS on an iPhone: Home with search, tags and recent files.    HushOS on Android: Home with search, tags and recent files.


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.

What it does

  • 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.

Get it

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

Self-host

git clone https://github.com/HushOS/HushOS
cd HushOS
cp .env.production.example .env
docker compose up -d --build

docs/self-hosting.md covers every setting, the published images, backups and the object store.

Develop

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/app

CONTRIBUTING.md has the commands, tests, conventions and how the packages fit together. The look is specified in DESIGN.md.

Stack

  • 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

Security

Found a vulnerability? Please email [email protected] rather than opening an issue.

License

AGPL-3.0-only.

About

HushOS is an open-source, self-hostable, end-to-end encrypted productivity suite.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages