https://github.com/dani-garcia/vaultwarden
Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
https://github.com/dani-garcia/vaultwarden
bitwarden bitwarden-rs docker hacktoberfest rocket rust vaultwarden
Last synced: 6 months ago
JSON representation
Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
- Host: GitHub
- URL: https://github.com/dani-garcia/vaultwarden
- Owner: dani-garcia
- License: agpl-3.0
- Created: 2018-02-17T22:40:20.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-05-01T15:40:26.000Z (about 1 year ago)
- Last Synced: 2025-05-05T14:19:01.427Z (about 1 year ago)
- Topics: bitwarden, bitwarden-rs, docker, hacktoberfest, rocket, rust, vaultwarden
- Language: Rust
- Homepage:
- Size: 10.1 MB
- Stars: 44,159
- Watchers: 247
- Forks: 2,093
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
- Codeowners: .github/CODEOWNERS
- Security: .github/security-contact.gif
Awesome Lists containing this project
- stars - dani-garcia/vaultwarden
- awesome-starred - dani-garcia/vaultwarden - Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs (Rust)
- awesome - dani-garcia/vaultwarden - Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs (Rust)
- AiTreasureBox - dani-garcia/vaultwarden - 11-03_50421_3](https://img.shields.io/github/stars/dani-garcia/vaultwarden.svg)|Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs| (Repos)
- Self-Hosting-Guide - Vaultwarden
- awesome-rust-security - vaultwarden - unofficial BitWarden implementation in Rust (Web and Cloud Security / Cloud and Infrastructure)
- fucking-Awesome-Linux-Software -  (应用程序 Applications / 公用事业公司 Utilities)
- awesome-reconsidera-takeaway - Vaultwarden
- alternative-front-ends - vaultwarden
- fucking-awesome-selfhosted - Vaultwarden - Lightweight Bitwarden server API implementation written in Rust. `GPL-3.0` `Rust/Docker` (Software / Password Managers)
- awesome-rust - vaultwarden - garcia/vaultwarden/actions/workflows/build.yml/badge.svg)](https://github.com/dani-garcia/vaultwarden/actions/workflows/build.yml) - Alternative implementation of the Bitwarden server API written in Rust (Applications / Utilities)
- awesome-stack - dani-garcia/vaultwarden - Alternative implementation of the Bitwarden server API written in Rust, perfect for self-hosted deployment. (Devops)
- StarryDivineSky - dani-garcia/vaultwarden
- awesome-selfhosted - Vaultwarden - Lightweight Bitwarden server API implementation written in Rust. `GPL-3.0` `Rust/Docker` (Software / Password Managers)
- awesome-homelab - vaultwarden - garcia/vaultwarden?style=flat)  | Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs | (Apps / Security)
- awesome-rust - vaultwarden - garcia/vaultwarden/actions/workflows/build.yml/badge.svg)](https://github.com/dani-garcia/vaultwarden/actions/workflows/build.yml) — Alternative implementation of the Bitwarden server API written in Rust (Applications / Utilities)
- fucking-awesome-rust - vaultwarden - garcia/vaultwarden/actions/workflows/build.yml/badge.svg)](https://github.com/dani-garcia/vaultwarden/actions/workflows/build.yml) - Alternative implementation of the Bitwarden server API written in Rust (Applications / Utilities)
- awesome-selfhosted - Vaultwarden - Lightweight Bitwarden server API implementation written in Rust. `GPL-3.0` `Rust/Docker` (Software / Password Managers)
- awesome-rust-tools - vaultwarden
- trackawesomelist - Vaultwarden (⭐40k) - Lightweight Bitwarden server implementation. [](https://github.com/dani-garcia/vaultwarden)  (Recently Updated / [Dec 24, 2024](/content/2024/12/24/README.md))
- awesome-selfhost-docker - Vaultwarden
- awesome-starz - dani-garcia/vaultwarden - Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs (Rust)
- awesome-rust - vaultwarden - garcia/vaultwarden/actions/workflows/build.yml/badge.svg)](https://github.com/dani-garcia/vaultwarden/actions/workflows/build.yml) — Alternative implementation of the Bitwarden server API written in Rust (Applications / Utilities)
- awesome-privacy - Vaultwarden - hosted, (Essentials / Password Managers)
- awesome-pose - dani-garcia / vaultwarden
- awesome-nas - vaultwarden - garcia/vaultwarden?label= "title")|||||| (Hack)
- stars - dani-garcia/vaultwarden - Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs (Rust)
- awesome-selfhosted - Vaultwarden - Lightweight Bitwarden server API implementation written in Rust. `GPL-3.0` `Rust/Docker` (Software / Password Managers)
- awesome-useful-projects - <img src="https://icon.horse/icon/github.com" height="20px" align="center"/>/dani-garcia/vaultwarden - Alternate Bitwarden server (Privacy/Security / Other)
- awesome-starred - dani-garcia/vaultwarden - Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs (docker)
- definitive-opensource - Vaultwarden
- awesome-selfhosted - Vaultwarden - Lightweight Bitwarden server API implementation written in Rust. `GPL-3.0` `Rust/Docker` (Software / Password Managers)
- my-awesome - dani-garcia/vaultwarden - rs,docker,rocket,rust,vaultwarden pushed_at:2026-05 star:61.6k fork:2.9k Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs (Rust)
- bookmarks - dani-garcia/vaultwarden - Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs (Shell Aliases / Chess :chess_pawn:)
- awesome-modern-cli - vaultwarden - Lightweight Bitwarden server implementation. `Rust` (Miscellaneous)
- awesome-nas - vaultwarden
- awesome-github-repos - dani-garcia/vaultwarden - Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs (Rust)
- awesome-selfhosted - Vaultwarden - Lightweight Bitwarden server API implementation written in Rust. `GPL-3.0` `Rust/Docker` (Software / Password Managers)
- awesome-software-engineering-tools - Vaultwarden
- awesome-windows - Vaultwarden - Lightweight Bitwarden server implementation. [![Open-Source Software][oss]](https://github.com/dani-garcia/vaultwarden) ![star] (Password Managers)
- awesome-open-source-alternatives - dani-garcia/vaultwarden - garcia/vaultwarden?style=flat) | Lightweight Bitwarden server implementation | 1Password, LastPass | (Social & Security)
- awesome-rust-with-stars - vaultwarden - 01-22 | (Applications / Utilities)
- awesome-linux-software - 
An alternative server implementation of the Bitwarden Client API, written in Rust and compatible with [official Bitwarden clients](https://bitwarden.com/download/) [[disclaimer](#disclaimer)], perfect for self-hosted deployment where running the official resource-heavy service might not be ideal.
---
[](https://github.com/dani-garcia/vaultwarden/releases/latest)
[](https://github.com/dani-garcia/vaultwarden/pkgs/container/vaultwarden)
[](https://hub.docker.com/r/vaultwarden/server)
[](https://quay.io/repository/vaultwarden/server)
[](https://github.com/dani-garcia/vaultwarden/graphs/contributors)
[](https://github.com/dani-garcia/vaultwarden/network/members)
[](https://github.com/dani-garcia/vaultwarden/stargazers)
[](https://github.com/dani-garcia/vaultwarden/issues)
[](https://github.com/dani-garcia/vaultwarden/issues?q=is%3Aissue+is%3Aclosed)
[](https://github.com/dani-garcia/vaultwarden/blob/main/LICENSE.txt)
[%3D'svg'%5D%2F*%5Blocal-name()%3D'g'%5D%5B2%5D%2F*%5Blocal-name()%3D'text'%5D%5B4%5D&style=flat-square&logo=rust&label=dependencies&color=005AA4)](https://deps.rs/repo/github/dani-garcia/vaultwarden)
[](https://github.com/dani-garcia/vaultwarden/actions/workflows/release.yml)
[](https://github.com/dani-garcia/vaultwarden/actions/workflows/build.yml)
[](https://matrix.to/#/#vaultwarden:matrix.org)
[](https://github.com/dani-garcia/vaultwarden/discussions)
[](https://vaultwarden.discourse.group/)
> [!IMPORTANT]
> **When using this server, please report any bugs or suggestions directly to us (see [Get in touch](#get-in-touch)), regardless of whatever clients you are using (mobile, desktop, browser...). DO NOT use the official Bitwarden support channels.**
## Features
A nearly complete implementation of the Bitwarden Client API is provided, including:
* [Personal Vault](https://bitwarden.com/help/managing-items/)
* [Send](https://bitwarden.com/help/about-send/)
* [Attachments](https://bitwarden.com/help/attachments/)
* [Website icons](https://bitwarden.com/help/website-icons/)
* [Personal API Key](https://bitwarden.com/help/personal-api-key/)
* [Organizations](https://bitwarden.com/help/getting-started-organizations/)
- [Collections](https://bitwarden.com/help/about-collections/),
[Password Sharing](https://bitwarden.com/help/sharing/),
[Member Roles](https://bitwarden.com/help/user-types-access-control/),
[Groups](https://bitwarden.com/help/about-groups/),
[Event Logs](https://bitwarden.com/help/event-logs/),
[Admin Password Reset](https://bitwarden.com/help/admin-reset/),
[Directory Connector](https://bitwarden.com/help/directory-sync/),
[Policies](https://bitwarden.com/help/policies/)
* [Multi/Two Factor Authentication](https://bitwarden.com/help/bitwarden-field-guide-two-step-login/)
- [Authenticator](https://bitwarden.com/help/setup-two-step-login-authenticator/),
[Email](https://bitwarden.com/help/setup-two-step-login-email/),
[FIDO2 WebAuthn](https://bitwarden.com/help/setup-two-step-login-fido/),
[YubiKey](https://bitwarden.com/help/setup-two-step-login-yubikey/),
[Duo](https://bitwarden.com/help/setup-two-step-login-duo/)
* [Emergency Access](https://bitwarden.com/help/emergency-access/)
* [Vaultwarden Admin Backend](https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page)
* [Modified Web Vault client](https://github.com/dani-garcia/bw_web_builds) (Bundled within our containers)
## Usage
> [!IMPORTANT]
> The web-vault requires the use a secure context for the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API).
> That means it will only work via `http://localhost:8000` (using the port from the example below) or if you [enable HTTPS](https://github.com/dani-garcia/vaultwarden/wiki/Enabling-HTTPS).
The recommended way to install and use Vaultwarden is via our container images which are published to [ghcr.io](https://github.com/dani-garcia/vaultwarden/pkgs/container/vaultwarden), [docker.io](https://hub.docker.com/r/vaultwarden/server) and [quay.io](https://quay.io/repository/vaultwarden/server).
See [which container image to use](https://github.com/dani-garcia/vaultwarden/wiki/Which-container-image-to-use) for an explanation of the provided tags.
There are also [community driven packages](https://github.com/dani-garcia/vaultwarden/wiki/Third-party-packages) which can be used, but those might be lagging behind the latest version or might deviate in the way Vaultwarden is configured, as described in our [Wiki](https://github.com/dani-garcia/vaultwarden/wiki).
Alternatively, you can also [build Vaultwarden](https://github.com/dani-garcia/vaultwarden/wiki/Building-binary) yourself.
While Vaultwarden is based upon the [Rocket web framework](https://rocket.rs) which has built-in support for TLS our recommendation would be that you setup a reverse proxy (see [proxy examples](https://github.com/dani-garcia/vaultwarden/wiki/Proxy-examples)).
> [!TIP]
>**For more detailed examples on how to install, use and configure Vaultwarden you can check our [Wiki](https://github.com/dani-garcia/vaultwarden/wiki).**
### Docker/Podman CLI
Pull the container image and mount a volume from the host for persistent storage.
You can replace `docker` with `podman` if you prefer to use podman.
```shell
docker pull vaultwarden/server:latest
docker run --detach --name vaultwarden \
--env DOMAIN="https://vw.domain.tld" \
--volume /vw-data/:/data/ \
--restart unless-stopped \
--publish 127.0.0.1:8000:80 \
vaultwarden/server:latest
```
This will preserve any persistent data under `/vw-data/`, you can adapt the path to whatever suits you.
### Docker Compose
To use Docker compose you need to create a `compose.yaml` which will hold the configuration to run the Vaultwarden container.
```yaml
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: unless-stopped
environment:
DOMAIN: "https://vw.domain.tld"
volumes:
- ./vw-data/:/data/
ports:
- 127.0.0.1:8000:80
```
## Get in touch
Have a question, suggestion or need help? Join our community on [Matrix](https://matrix.to/#/#vaultwarden:matrix.org), [GitHub Discussions](https://github.com/dani-garcia/vaultwarden/discussions) or [Discourse Forums](https://vaultwarden.discourse.group/).
Encountered a bug or crash? Please search our issue tracker and discussions to see if it's already been reported. If not, please [start a new discussion](https://github.com/dani-garcia/vaultwarden/discussions) or [create a new issue](https://github.com/dani-garcia/vaultwarden/issues/). Ensure you're using the latest version of Vaultwarden and there aren't any similar issues open or closed!
## Contributors
Thanks for your contribution to the project!
[](https://github.com/dani-garcia/vaultwarden/graphs/contributors)
[](https://github.com/dani-garcia/vaultwarden/graphs/contributors)
## Disclaimer
**This project is not associated with [Bitwarden](https://bitwarden.com/) or Bitwarden, Inc.**
However, one of the active maintainers for Vaultwarden is employed by Bitwarden and is allowed to contribute to the project on their own time. These contributions are independent of Bitwarden and are reviewed by other maintainers.
The maintainers work together to set the direction for the project, focusing on serving the self-hosting community, including individuals, families, and small organizations, while ensuring the project's sustainability.
**Please note:** We cannot be held liable for any data loss that may occur while using Vaultwarden. This includes passwords, attachments, and other information handled by the application. We highly recommend performing regular backups of your files and database. However, should you experience data loss, we encourage you to contact us immediately.
## Bitwarden_RS
This project was known as Bitwarden_RS and has been renamed to separate itself from the official Bitwarden server in the hopes of avoiding confusion and trademark/branding issues.
Please see [#1642 - v1.21.0 release and project rename to Vaultwarden](https://github.com/dani-garcia/vaultwarden/discussions/1642) for more explanation.