MediaCollection WebUI
The browser-facing MediaCollection services share one SvelteKit application. The
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:
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.