32 lines
2.4 KiB
Markdown
32 lines
2.4 KiB
Markdown
# Theme Designer Pro
|
|
|
|
Installed on 2026-10-07 in the existing Unraid OpenWebUI container, version 0.11.4.
|
|
|
|
- Upstream: https://github.com/silentoplayz/theme-designer-pro-presets
|
|
- Original Event Function version: 1.8.5; revision and SHA-256 checksums in `manifest.json`.
|
|
- Function ID: `theme_designer_pro`; type `event`; enabled centrally.
|
|
- Designer: http://192.168.1.2:8095/api/v1/theme-designer (administrator login required).
|
|
- `draft_mode_default=true`: preview changes before applying them.
|
|
- `enable_canvas_api_access=false`: no authentication-token access for canvas effects.
|
|
- Existing appearance retained; no preset applied during installation.
|
|
|
|
No extra container, frontend rebuild, or custom frontend patch. The upstream function composes theme CSS and its loader through runtime routes. The frontend index hash remained unchanged during installation.
|
|
|
|
## Persistence and restore
|
|
|
|
Function source and valves are stored in `/app/backend/data/webui.db`. Theme files live under `/app/backend/data/theme/`. Both are in the existing persistent Unraid appdata volume `/mnt/user/appdata/open-webui`; include this directory in the OpenWebUI backup. This is an optional OpenWebUI integration, not a dependency of the native Athena Deck installation.
|
|
|
|
Pre-install database backup: `/mnt/user/appdata/open-webui/plugin-backups/theme-20261007T142341Z/webui.db`. The backup also records the frontend index hash and copies an existing theme directory if present. Keep this database private: it contains application data and credentials.
|
|
|
|
For a fresh OpenWebUI installation >=0.11.0, import the pinned `theme_designer_pro_event.py` as a Function, set the two valves above, then enable it. Alternatively run `install.py` inside OpenWebUI with this directory available and `PYTHONPATH=/app/backend`. It creates a database backup first and refuses to overwrite an existing function with this ID. No secrets are stored in this repository.
|
|
|
|
Disable the Event Function in Administrator → Functions to turn off its theme integration. No Athena Deck restart is required.
|
|
|
|
## Validation
|
|
|
|
- Installed via normal authenticated Functions API; returned type `event`, active true.
|
|
- Authenticated designer request: HTTP 200, HTML response.
|
|
- Unauthenticated designer request: HTTP 401.
|
|
- Frontend `/app/build/index.html` SHA-256 unchanged.
|
|
- Browser rendering and applying a chosen theme remain user checks; no theme was selected automatically.
|