mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-12 10:04:14 -05:00
feat: Create manifest.json dynamically #584
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.