r/vaultwarden • u/gofikadags • 17h ago
Discussion bwtidy: a self-hosted tool to get an overview of your whole vault and tidy it (beta, made with AI)
Hi all,
I'd like to share a small project I made for myself, in case it helps someone else.
Why I made it
I wanted my vault to be consistent. For example, I wanted certain kinds of items to always have the same extra fields, named the same way. The standard Bitwarden apps show one item at a time, so I could never get a good overview of how consistent my vault actually was. So I built bwtidy.
It shows your whole vault in one grid. You can define templates (which fields an item of a given kind should have) and datatypes (what format a value should have), so inconsistencies stand out. You can fix things directly in the web UI. You can also connect an AI agent through MCP. The agent can propose changes without seeing secret values, and nothing is written until you accept each proposal. bwtidy saves an encrypted backup of the whole vault before every write. It talks to your vault through the official Bitwarden CLI and works with both Vaultwarden and bitwarden.com.
How it was made (please read this part)
I want to be upfront: this was built with AI. I'm a developer, but I've been more hands-off on this project than on anything I've done before. I guided the choice of technologies and the architecture, and I gave a lot of detailed direction over many small steps of adjustments. But I haven't read every line of code myself. Depending on how you define "vibe coded", it's fairly close, though maybe not all the way.
Anthropic's Claude Fable, Opus and Sonnet wrote the code. OpenAI's Codex (GPT-6.2-Astra) reviewed it for security and stability. On top of that:
- CodeQL scans the code and the GitHub Actions workflows
- Dependabot keeps dependencies updated and flags vulnerable ones
- GitHub secret scanning with push protection
- Docker Scout scans the published image daily
- Every Docker Hub image has a signed build provenance attestation and an SBOM, so you can verify which commit it was built from
- GitHub Actions are pinned to commit SHAs, and main requires signed commits and passing CI
- Over 3,700 automated tests run on every pull request
In general I've tried to make the app and its docs as good as I could without digging into the code myself. I use it on my own vault, and the code is open source (AGPL) for anyone to inspect. Before I remove the AI warning and move from beta to a release candidate, I'll go through the code more thoroughly myself.
Try it
- Demo: https://79.76.52.30/demo. Each visitor gets a fake vault to play with, so please don't enter any real credentials there. The bare IP is my own VM, which just doesn't have a domain name yet.
- GitHub: https://github.com/tnek213/bwtidy
- Docs: https://tnek213.github.io/bwtidy/
- Docker Hub: https://hub.docker.com/r/tnek213/bwtidy
If you try it on a real vault, keep an independent export made outside bwtidy, since it's beta software that changes your vault.
Feedback and help welcome
I'm very open to feedback, critical or not. If anyone wants to help out, by testing, reviewing code, reporting bugs or anything else, I'd really appreciate it. If it works for you, a thumbs up in the "Works for me" discussion helps a lot: https://github.com/tnek213/bwtidy/discussions/16
I made this to scratch my own itch, but if it helps someone else too, that's cool.
Thanks for reading!