2026-09-04 15:02:16 +02:00
|
|
|
# Shared media WebUI
|
2026-08-31 22:06:29 +02:00
|
|
|
|
2026-09-04 15:02:16 +02:00
|
|
|
The browser-facing services in this workspace's shared media family share one SvelteKit application. The
|
2026-08-31 22:06:29 +02:00
|
|
|
service variant is selected at build time with `VITE_MEDIA_APP` and uses the same
|
|
|
|
|
Svelte 5, Tailwind CSS v4, bits-ui-compatible component patterns, Lucide icons,
|
|
|
|
|
semantic tokens, responsive shell, and static adapter as the other projects.
|
|
|
|
|
|
|
|
|
|
From this directory:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
npm install
|
|
|
|
|
npm run build:all
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
`build:all` creates ignored `.webui/` directories in each service. Docker builds
|
|
|
|
|
compile the requested variant in a dedicated frontend stage and set
|
|
|
|
|
`MEDIA_UI_DIR` to the generated output. The existing JSON, media, WebSocket,
|
|
|
|
|
Socket.IO, and service-to-service routes remain owned by each backend.
|