Generate manifest.json dynamically, using MANIFEST_NAME and MANIFEST_SHORT_NAME from the environment.
Pull Request Checklist
Description: Briefly describe the changes in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
Documentation: Have you updated relevant documentation?
Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
Description
Allow overriding the application name in manifest.json for installing Open WebUI as a PWA.
Changelog Entry
Changed
The name of the application in manifest.json can now be configured with the environment variables MANIFEST_NAME and MANIFEST_SHORT_NAME, which is used when installing Open WebUI as a PWA.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/1401
**Author:** [@theasp](https://github.com/theasp)
**Created:** 4/2/2024
**Status:** ✅ Merged
**Merged:** 4/4/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `add-dynamic-manifest`
---
### 📝 Commits (4)
- [`83ad488`](https://github.com/open-webui/open-webui/commit/83ad488e314dff5c0eceb700221c4374229b31e9) Do not use hardcoded manifest.json
- [`c890707`](https://github.com/open-webui/open-webui/commit/c89070797c1883761aa0e1b41853a9924535b436) refac
- [`2113242`](https://github.com/open-webui/open-webui/commit/21132420d89a2f9d060a485b7985f64ee55fd3ac) Update Dockerfile
- [`8caad59`](https://github.com/open-webui/open-webui/commit/8caad59cb4f38b5e75ac496aa0c3a83bed7d884e) feat: allow webui name customisation
### 📊 Changes
**3 files changed** (+15 additions, -18 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/config.py` (+1 -1)
📝 `backend/main.py` (+14 -1)
➖ `static/manifest.json` (+0 -16)
</details>
### 📄 Description
Generate manifest.json dynamically, using MANIFEST_NAME and MANIFEST_SHORT_NAME from the environment.
## Pull Request Checklist
- [X] **Description:** Briefly describe the changes in this pull request.
- [X] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [ ] **Documentation:** Have you updated relevant documentation?
- [X] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
---
## Description
Allow overriding the application name in `manifest.json` for installing Open WebUI as a PWA.
---
### Changelog Entry
### Changed
- The name of the application in `manifest.json` can now be configured with the environment variables `MANIFEST_NAME` and `MANIFEST_SHORT_NAME`, which is used when installing Open WebUI as a PWA.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1401
Author: @theasp
Created: 4/2/2024
Status: ✅ Merged
Merged: 4/4/2024
Merged by: @tjbck
Base:
dev← Head:add-dynamic-manifest📝 Commits (4)
83ad488Do not use hardcoded manifest.jsonc890707refac2113242Update Dockerfile8caad59feat: allow webui name customisation📊 Changes
3 files changed (+15 additions, -18 deletions)
View changed files
📝
backend/config.py(+1 -1)📝
backend/main.py(+14 -1)➖
static/manifest.json(+0 -16)📄 Description
Generate manifest.json dynamically, using MANIFEST_NAME and MANIFEST_SHORT_NAME from the environment.
Pull Request Checklist
Description
Allow overriding the application name in
manifest.jsonfor installing Open WebUI as a PWA.Changelog Entry
Changed
manifest.jsoncan now be configured with the environment variablesMANIFEST_NAMEandMANIFEST_SHORT_NAME, which is used when installing Open WebUI as a PWA.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.