From 216930f1f8aefea037794d484852cb7426bcb827 Mon Sep 17 00:00:00 2001 From: pixelsize Date: Thu, 12 Jun 2025 22:46:56 +0300 Subject: [PATCH] Change frontend branding to Pixelsize --- backend/open_webui/env.py | 4 +--- src/app.html | 8 ++++---- src/lib/constants.ts | 2 +- static/opensearch.xml | 4 ++-- static/static/site.webmanifest | 4 ++-- 5 files changed, 10 insertions(+), 12 deletions(-) diff --git a/backend/open_webui/env.py b/backend/open_webui/env.py index fcfccaedf52..dfd72ab96a0 100644 --- a/backend/open_webui/env.py +++ b/backend/open_webui/env.py @@ -105,9 +105,7 @@ log.setLevel(SRC_LOG_LEVELS["CONFIG"]) -WEBUI_NAME = os.environ.get("WEBUI_NAME", "Open WebUI") -if WEBUI_NAME != "Open WebUI": - WEBUI_NAME += " (Open WebUI)" +WEBUI_NAME = os.environ.get("WEBUI_NAME", "Pixelsize") WEBUI_FAVICON_URL = "https://openwebui.com/favicon.png" diff --git a/src/app.html b/src/app.html index d19f3d227eb..c7a873b077e 100644 --- a/src/app.html +++ b/src/app.html @@ -7,7 +7,7 @@ - + - + @@ -101,7 +101,7 @@ })(); - Open WebUI + Pixelsize %sveltekit.head% diff --git a/src/lib/constants.ts b/src/lib/constants.ts index d92f3367184..55c25bb1753 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -1,7 +1,7 @@ import { browser, dev } from '$app/environment'; // import { version } from '../../package.json'; -export const APP_NAME = 'Open WebUI'; +export const APP_NAME = 'Pixelsize'; export const WEBUI_HOSTNAME = browser ? (dev ? `${location.hostname}:8080` : ``) : ''; export const WEBUI_BASE_URL = browser ? (dev ? `http://${WEBUI_HOSTNAME}` : ``) : ``; diff --git a/static/opensearch.xml b/static/opensearch.xml index ce47e39ae98..98d6cbe7a99 100644 --- a/static/opensearch.xml +++ b/static/opensearch.xml @@ -1,6 +1,6 @@ -Open WebUI -Search Open WebUI +Pixelsize +Search Pixelsize UTF-8 http://localhost:5137/favicon.png diff --git a/static/static/site.webmanifest b/static/static/site.webmanifest index 95915ae2bca..994ed807383 100644 --- a/static/static/site.webmanifest +++ b/static/static/site.webmanifest @@ -1,6 +1,6 @@ { - "name": "Open WebUI", - "short_name": "WebUI", + "name": "Pixelsize", + "short_name": "Pixelsize", "icons": [ { "src": "/static/web-app-manifest-192x192.png",