Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Vaultwarden: Alternative implementation of the Bitwarden server API in Rust (github.com/dani-garcia)
19 points by Daril on July 29, 2023 | hide | past | favorite | 6 comments


Alternative implementation of the Bitwarden server API written in Rust and compatible with upstream Bitwarden clients*, perfect for self-hosted deployment where running the official resource-heavy service might not be ideal.

Support for : SQLite, MySQL/MariaDB and PostgreSQL.

You can use the docker version or extract the binary and assets files and run it directly.

Works well also on ARM based SBC, like RaspberryPi.


I wonder if Vaultwarden supports CockroachDB, for a convenient self-hosted HA setup


As far as I know it supports SQLite, MariaDB and PostgreSQL.

For MariaDB you can implement logical master-master replication between 2 servers (or a Galera cluster if you have 3 or more servers).

I have done this for my servers with MariaDB (master-master logical replication) and apart from some very rare hiccups it works very well. You can do the same for PostgreSQL.

For SQLlite there are some solutions like Litestream.

At the moment I am on MariaDB but my plan is to migrate to PostgreSQL.


I run this on a raspberry pi. And have configured it to be accessible over tailscale. (And only over tailscale)

The result is great. A secure password manager that syncs between all of my devices, regardless of where they are. Zero subscription cost for cloud servers. It works flawlessly, and even stores my 2FA codes too. (A feature that’s usually a paid Bitwarden feature)

Vaultwarden is one of several services I’m running off a pi this way, but it’s probably the one I use the most.


I use it. It's nice to have sqlite and a single binary instead of several giant docker containers.


Thank you.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: