Branding #1888

Closed
opened 2025-10-09 17:34:37 +03:00 by OVERLORD · 10 comments
Owner

Originally created by @utlilb on GitHub.

Have everything installed and running great in Docker. Where can I change the branding for everything? IE change Bitwarden_rs in invites, admin panel, etc to something else.

Originally created by @utlilb on GitHub. Have everything installed and running great in Docker. Where can I change the branding for everything? IE change Bitwarden_rs in invites, admin panel, etc to something else.
OVERLORD added the better for forum label 2025-10-09 17:34:37 +03:00
Author
Owner

@dani-garcia commented on GitHub:

About emails and admin page, you can modify the templates available here and place them inside the data folder, so the folder structure is /path/to/data/templates/. You can also set the variable TEMPLATES_FOLDER to change that path.

Any changes in the web vault you'd need to recompile it yourself to apply them.

@dani-garcia commented on GitHub: About emails and admin page, you can modify the templates available [here](https://github.com/dani-garcia/bitwarden_rs/tree/master/src/static/templates/) and place them inside the data folder, so the folder structure is /path/to/data/templates/. You can also set the variable TEMPLATES_FOLDER to change that path. Any changes in the web vault you'd need to recompile it yourself to apply them.
Author
Owner

@dani-garcia commented on GitHub:

Note that the template files for email should be in your_data_folder/templates/email/ and inside that you should have all the hbs files, if you just place them in your_data_folder/templates it won't find them.

@dani-garcia commented on GitHub: Note that the template files for email should be in your_data_folder/templates/email/ and inside that you should have all the hbs files, if you just place them in your_data_folder/templates it won't find them.
Author
Owner

@dani-garcia commented on GitHub:

If your hbs files are in bw-data/templates/email, then you'd need to have -e TEMPLATES_FOLDER=bw-data/templates, and that should work.

Note that the reload_templates is only needed if you want to update the template files without restarting the server.

@dani-garcia commented on GitHub: If your hbs files are in bw-data/templates/email, then you'd need to have -e TEMPLATES_FOLDER=bw-data/templates, and that should work. Note that the reload_templates is only needed if you want to update the template files without restarting the server.
Author
Owner

@Gyarbij commented on GitHub:

About emails and admin page, you can modify the templates available here and place them inside the data folder, so the folder structure is /path/to/data/templates/. You can also set the variable TEMPLATES_FOLDER to change that path.

Any changes in the web vault you'd need to recompile it yourself to apply them.

Hi, I might be missing something very simple but I created a folder called templates in the bw-data folder so it looks like this /bw-data/templates with the template files inside. however when an email is sent it still shows up the same way as before. Am I supposed to do an additional step?

@Gyarbij commented on GitHub: > About emails and admin page, you can modify the templates available [here](https://github.com/dani-garcia/bitwarden_rs/tree/master/src/static/templates/) and place them inside the data folder, so the folder structure is /path/to/data/templates/. You can also set the variable TEMPLATES_FOLDER to change that path. > > Any changes in the web vault you'd need to recompile it yourself to apply them. Hi, I might be missing something very simple but I created a folder called templates in the bw-data folder so it looks like this **/bw-data/templates** with the template files inside. however when an email is sent it still shows up the same way as before. Am I supposed to do an additional step?
Author
Owner

@Gyarbij commented on GitHub:

I did that after with both the admin and email within the templates folder and then including this;

-e TEMPLATES_FOLDER=bw-data/templates/email
-e RELOAD_TEMPLATES=true \

@Gyarbij commented on GitHub: I did that after with both the admin and email within the templates folder and then including this; -e TEMPLATES_FOLDER=bw-data/templates/email \ -e RELOAD_TEMPLATES=true \
Author
Owner

@BlackDex commented on GitHub:

@fuanegua This is not really build in the bitwarden_rs web-server, we only parse the templates.
Best thing to serve your own images using a separate endpoint or subdomain redirected by a reverse proxy for these items.

@BlackDex commented on GitHub: @fuanegua This is not really build in the bitwarden_rs web-server, we only parse the templates. Best thing to serve your own images using a separate endpoint or subdomain redirected by a reverse proxy for these items.
Author
Owner

@Gyarbij commented on GitHub:

I did that but alas still nothing as it still uses the default, it might just be a case of me being glib then.

@Gyarbij commented on GitHub: I did that but alas still nothing as it still uses the default, it might just be a case of me being glib then.
Author
Owner

@fuanegua commented on GitHub:

What about the images-folder? How can I change the logo?

@fuanegua commented on GitHub: What about the images-folder? How can I change the logo?
Author
Owner

@BlackDex commented on GitHub:

Anyway, please continue this further on the forum please, since this is not an issue https://bitwardenrs.discourse.group/

Thanks 😄

@BlackDex commented on GitHub: Anyway, please continue this further on the forum please, since this is not an issue https://bitwardenrs.discourse.group/ Thanks :smile:
Author
Owner

@BlackDex commented on GitHub:

You could also download the pre-built web-vault, use that and add or change images in the images folder there.

@BlackDex commented on GitHub: You could also download the pre-built web-vault, use that and add or change images in the images folder there.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#1888