Cloudwarden
Your vault. On the edge.
A Bitwarden-compatible password manager server for Cloudflare Workers, written in TypeScript. Host it yourself and point the official Bitwarden clients at it.
Open source · AGPL-3.0 · Pre-1.0, not independently audited
Not affiliated with Bitwarden, Inc.
- AGPL-3.0
- Open source licence
- TypeScript
- What the server is written in
- Serverless
- Runs on Cloudflare Workers
- Pre-1.0
- Not independently audited
What it is
Bitwarden-compatible. Self-hosted.
Cloudwarden implements the Bitwarden server API. Enter your Cloudwarden address as the self-hosted server URL in an official Bitwarden client, and the client talks to your server.
Client families it is built against
- Web vaultShips with Cloudwarden
- Browser extensionChrome, Firefox, Edge and Safari
- DesktopSame API as the extension
- Command lineUsed for the end-to-end tests in CI
- MobileiOS and Android. Syncs on open and by polling; push is not provided
These are the client release lines the server targets. The compatibility notes in the repository record what has been tested. Read the compatibility notes
Not affiliated with Bitwarden, Inc.
Included
A web vault comes with it.
Cloudwarden ships with its own build of the web vault, served from the same address as the API. Scroll to watch it work through what the server serves. Recorded locally with fictional example.com data.
01
Sign in
Sign in with your email address and master password.
02
Find an item
Filter the vault by folder, or search it by name.
03
Open an item
Open an item to see its fields. The password stays masked until you choose to show it.
04
Share with an organisation
Share items with other people through organisations and collections.
05
Create a Send
Share a piece of text or a file with a Send.
06
Turn on two-step login
Add a second step when you sign in.
07
Secrets Manager
Projects and secrets, served as an API with machine accounts.
08
Run the instance
Optional Instance admin pages in the web vault. Off by default.
How it runs
Runs serverless on Cloudflare.
Four Cloudflare services do the work. Scroll through them.
API
Workers
The API runs on Workers, built with Hono. The Worker handles authentication, API requests and synchronisation.
Data
D1
D1, Cloudflare's managed SQLite, holds the relational records: users, organisations, collections and the encrypted values of your vault.
Files
R2
R2 stores attachments and file Sends.
Live sync
Durable Objects
A Durable Object fans out live sync notifications, so a change saved in one client reaches your other connected clients.
Your data
Encrypted before it leaves your device.
Vault fields are encrypted in the client before they reach Cloudwarden. The server receives and stores the encrypted values.
Overview
Cloudwarden in 43 seconds.
The short film. Sound effects only, no voice-over.
Quick start
Run it locally.
You need Git, Node 22, pnpm 9 and the Cloudflare cf CLI. Clone the repository, install the dependencies and start the Worker:
git clone https://github.com/DynacomSolutions/Cloudwarden.gitcd Cloudwardenpnpm installLOCAL_DEV_SECRETS=true JWT_SECRET=<32+ characters> pnpm dev
Then set a Bitwarden client's self-hosted server URL to the local address that pnpm dev prints.
Read the documentation →Know what you are running.
Pre-1.0
Cloudwarden has not been independently audited. Treat it as experimental and keep backups.
AGPL-3.0
The server code is open source under the GNU AGPL-3.0.
Independent
Not affiliated with Bitwarden, Inc. Bitwarden is a trademark of Bitwarden, Inc.
Open source. Deploy your own.
The code, the documentation and the roadmap are on GitHub.
Open source · AGPL-3.0 · Pre-1.0, not independently audited · Not affiliated with Bitwarden, Inc.