Modifing bitwarden instance front page

Hi,

is there any way to modify the bitwarden_rs webvault homepage to include a link to a privacy statement?

It would be most straightforward to clone the upstream web vault (https://github.com/bitwarden/web) and add your link, then build your modified copy of the web vault with the bitwarden_rs patches (see https://github.com/dani-garcia/bitwarden_rs/wiki/Building-binary#install-the-web-vault). You could then simply bind-mount your modified web vault into the bitwarden_rs container at /web-vault.

Or you could perhaps figure out a way to patch the compiled web vault with your link, in which case you could run the patch on container startup (https://github.com/dani-garcia/bitwarden_rs/wiki/Starting-a-Container#customizing-container-startup). But since you want this to be a link, this method would be tricky.

1 Like