feat: Create manifest.json dynamically #584

Closed
opened 2025-11-11 14:26:51 -06:00 by GiteaMirror · 4 comments
Owner

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

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
Author
Owner

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

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

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

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

@tjbck commented on GitHub (Apr 2, 2024):

If you think a lot of people would find it useful, feel free to make a PR!

@tjbck commented on GitHub (Apr 2, 2024): If you think a lot of people would find it useful, feel free to make a PR!
Author
Owner

@theasp commented on GitHub (Apr 2, 2024):

Excellent, see #1401.

@theasp commented on GitHub (Apr 2, 2024): Excellent, see #1401.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#584