Originally created by @theasp on GitHub (Apr 2, 2024).
Is your feature request related to a problem? Please describe.
Currently the manifest.json has the name Open WebUI hardcoded so multiple servers all wind up with the same name when I add them as applications on my phone.
Describe the solution you'd like
I'd like to be able to pass a new name as an env variable., for example MANIFEST_NAME.
An alternative would be to mount manifest.json into the container maybe?
Additional context
None
Originally created by @theasp on GitHub (Apr 2, 2024).
**Is your feature request related to a problem? Please describe.**
Currently the `manifest.json` has the name `Open WebUI` hardcoded so multiple servers all wind up with the same name when I add them as applications on my phone.
**Describe the solution you'd like**
I'd like to be able to pass a new name as an env variable., for example `MANIFEST_NAME`.
I've already pushed the relevant changes to my branch, the instructions say to open an issue before a PR though: https://github.com/theasp/open-webui/tree/add-dynamic-manifest
**Describe alternatives you've considered**
An alternative would be to mount `manifest.json` into the container maybe?
**Additional context**
None
If my understanding of Svelte is correct, this would only be possible as a build-time argument, and thus would not be applicable to the container images published by the project.
@justinh-rahb commented on GitHub (Apr 2, 2024):
If my understanding of Svelte is correct, this would only be possible as a build-time argument, and thus would not be applicable to the container images published by the project.
The commit in my repo makes it so that manifest.json is generated by the backend dynamically on request as I described, not generated with Svelte. I'm willing to open a PR for this.
@theasp commented on GitHub (Apr 2, 2024):
The commit in my repo makes it so that `manifest.json` is generated by the backend dynamically on request as I described, not generated with Svelte. I'm willing to open a PR for this.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @theasp on GitHub (Apr 2, 2024).
Is your feature request related to a problem? Please describe.
Currently the
manifest.jsonhas the nameOpen WebUIhardcoded so multiple servers all wind up with the same name when I add them as applications on my phone.Describe the solution you'd like
I'd like to be able to pass a new name as an env variable., for example
MANIFEST_NAME.I've already pushed the relevant changes to my branch, the instructions say to open an issue before a PR though: https://github.com/theasp/open-webui/tree/add-dynamic-manifest
Describe alternatives you've considered
An alternative would be to mount
manifest.jsoninto the container maybe?Additional context
None
@justinh-rahb commented on GitHub (Apr 2, 2024):
If my understanding of Svelte is correct, this would only be possible as a build-time argument, and thus would not be applicable to the container images published by the project.
@theasp commented on GitHub (Apr 2, 2024):
The commit in my repo makes it so that
manifest.jsonis generated by the backend dynamically on request as I described, not generated with Svelte. I'm willing to open a PR for this.@tjbck commented on GitHub (Apr 2, 2024):
If you think a lot of people would find it useful, feel free to make a PR!
@theasp commented on GitHub (Apr 2, 2024):
Excellent, see #1401.