[GH-ISSUE #768] Branding #528

Closed
opened 2026-03-03 01:30:13 +03:00 by kerem · 10 comments
Owner

Originally created by @utlilb on GitHub (Dec 13, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/768

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 (Dec 13, 2019). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/768 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.
kerem 2026-03-03 01:30:13 +03:00
Author
Owner

@dani-garcia commented on GitHub (Dec 13, 2019):

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.

<!-- gh-comment-id:565491716 --> @dani-garcia commented on GitHub (Dec 13, 2019): 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

@Gyarbij commented on GitHub (Jan 8, 2020):

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?

<!-- gh-comment-id:572081366 --> @Gyarbij commented on GitHub (Jan 8, 2020): > 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

@dani-garcia commented on GitHub (Jan 8, 2020):

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.

<!-- gh-comment-id:572190996 --> @dani-garcia commented on GitHub (Jan 8, 2020): 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

@Gyarbij commented on GitHub (Jan 8, 2020):

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 \

<!-- gh-comment-id:572198581 --> @Gyarbij commented on GitHub (Jan 8, 2020): 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

@dani-garcia commented on GitHub (Jan 8, 2020):

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.

<!-- gh-comment-id:572222858 --> @dani-garcia commented on GitHub (Jan 8, 2020): 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 (Jan 9, 2020):

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

<!-- gh-comment-id:572353631 --> @Gyarbij commented on GitHub (Jan 9, 2020): 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 (Jun 11, 2020):

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

<!-- gh-comment-id:642522602 --> @fuanegua commented on GitHub (Jun 11, 2020): What about the images-folder? How can I change the logo?
Author
Owner

@BlackDex commented on GitHub (Oct 5, 2020):

@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.

<!-- gh-comment-id:703861243 --> @BlackDex commented on GitHub (Oct 5, 2020): @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

@BlackDex commented on GitHub (Oct 9, 2020):

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

<!-- gh-comment-id:706413351 --> @BlackDex commented on GitHub (Oct 9, 2020): You could also download the pre-built web-vault, use that and add or change images in the images folder there.
Author
Owner

@BlackDex commented on GitHub (Oct 12, 2020):

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

Thanks 😄

<!-- gh-comment-id:707283290 --> @BlackDex commented on GitHub (Oct 12, 2020): Anyway, please continue this further on the forum please, since this is not an issue https://bitwardenrs.discourse.group/ Thanks :smile:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#528
No description provided.