By submitting this pull request, I confirm I have read and agree to the CLA.
🔄 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/15495
**Author:** [@F1xGOD](https://github.com/F1xGOD)
**Created:** 7/3/2025
**Status:** ❌ Closed
**Base:** `main` ← **Head:** `main`
---
### 📝 Commits (1)
- [`70f1611`](https://github.com/open-webui/open-webui/commit/70f1611f45b1c396a52fe6c695ee650b6b9cf761) Main
### 📊 Changes
**12 files changed** (+12 additions, -11 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/open_webui/env.py` (+2 -4)
📝 `backend/open_webui/static/apple-touch-icon.png` (+0 -0)
📝 `backend/open_webui/static/favicon-96x96.png` (+0 -0)
📝 `backend/open_webui/static/favicon.ico` (+0 -0)
📝 `backend/open_webui/static/favicon.png` (+0 -0)
📝 `backend/open_webui/static/favicon.svg` (+6 -3)
📝 `backend/open_webui/static/logo.png` (+0 -0)
📝 `backend/open_webui/static/splash-dark.png` (+0 -0)
📝 `backend/open_webui/static/splash.png` (+0 -0)
📝 `backend/open_webui/static/web-app-manifest-192x192.png` (+0 -0)
📝 `backend/open_webui/static/web-app-manifest-512x512.png` (+0 -0)
📝 `src/app.html` (+4 -4)
</details>
### 📄 Description
# Pull Request Checklist
**Title:**
`feat: add customize.sh for interactive branding & asset verification`
---
**Description:**
This PR introduces a new `customize.sh` script that lets users dynamically rebrand Open WebUI in-place. It:
- Prompts for the local repo path (defaults to current directory)
- Asks for a new UI name and base URL for hosted assets
- Verifies each required asset (favicon, logo, manifests, touch icons, splash images, etc.) with size hints—exits early on any 404
- Replaces all “Open WebUI” references in `src/app.html` with the custom name
- Downloads assets into `backend/open_webui/static` (and copies the favicon for legacy support)
- Patches `env.py` to set `WEBUI_NAME` and `WEBUI_FAVICON_URL` and removes the old conditional block
---
## Checklist
- [ ] **Target branch:** `main` maybe dev if you dont want it to go to main
- [ ] **Description:** Concise summary above
- [ ] **Changelog:** Added entry below
- [ ] **Documentation:** _(no docs changes needed—script is self-contained)_
- [ ] **Dependencies:** _(none)_
- [ ] **Testing:** Manual testing of all prompts & asset checks
- [ ] **Code review:** I have self-reviewed for coding style & bash best practices
- [ ] **Prefix:** `feat`
---
## Changelog
### Description
Adds an interactive `customize.sh` helper script so contributors can rebrand Open WebUI without cloning or manual edits.
### Added
- `customize.sh` under project root
- Interactive prompts for:
- Local repo directory
- New WebUI name (default: FixCraft AI)
- Base URL for assets
- Automated checks for all required assets, with helpful size hints
- Bash logic to patch HTML, download files, and update `env.py`
### Removed
- Nothing
### Breaking Changes
**None** — script is opt-in and does not alter code unless explicitly run
---
### Additional Information
- Tested on Bash 5.2 / Debian 12
- No external dependencies beyond `curl`, `sed`, and standard UNIX tools
- Closes issue #15494
---
### Contributor License Agreement
By submitting this pull request, I confirm I have read and agree to the [CLA](/CONTRIBUTOR_LICENSE_AGREEMENT).
---
<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/15495
Author: @F1xGOD
Created: 7/3/2025
Status: ❌ Closed
Base:
main← Head:main📝 Commits (1)
70f1611Main📊 Changes
12 files changed (+12 additions, -11 deletions)
View changed files
📝
backend/open_webui/env.py(+2 -4)📝
backend/open_webui/static/apple-touch-icon.png(+0 -0)📝
backend/open_webui/static/favicon-96x96.png(+0 -0)📝
backend/open_webui/static/favicon.ico(+0 -0)📝
backend/open_webui/static/favicon.png(+0 -0)📝
backend/open_webui/static/favicon.svg(+6 -3)📝
backend/open_webui/static/logo.png(+0 -0)📝
backend/open_webui/static/splash-dark.png(+0 -0)📝
backend/open_webui/static/splash.png(+0 -0)📝
backend/open_webui/static/web-app-manifest-192x192.png(+0 -0)📝
backend/open_webui/static/web-app-manifest-512x512.png(+0 -0)📝
src/app.html(+4 -4)📄 Description
Pull Request Checklist
Title:
feat: add customize.sh for interactive branding & asset verificationDescription:
This PR introduces a new
customize.shscript that lets users dynamically rebrand Open WebUI in-place. It:src/app.htmlwith the custom namebackend/open_webui/static(and copies the favicon for legacy support)env.pyto setWEBUI_NAMEandWEBUI_FAVICON_URLand removes the old conditional blockChecklist
mainmaybe dev if you dont want it to go to mainfeatChangelog
Description
Adds an interactive
customize.shhelper script so contributors can rebrand Open WebUI without cloning or manual edits.Added
customize.shunder project rootenv.pyRemoved
Breaking Changes
None — script is opt-in and does not alter code unless explicitly run
Additional Information
curl,sed, and standard UNIX toolsContributor License Agreement
By submitting this pull request, I confirm I have read and agree to the CLA.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.