The original MediaEngine extraction (later folded into this repo) had been done BEFORE the owner's decision to revert the MediaViewer/Forge/ etc. rename, and was never re-extracted afterward like the other 7 service repos were - it silently carried stale renamed-era text (e.g. 'Porter' instead of 'MediaServant') into Go doc comments, WebUI prose, project-icons.json, and app-config.ts. Re-copied both directories fresh from the current (correctly reverted) MediaCollection/backend and MediaCollection/WebUI, then re-applied the go.mod replace-directive fix and re-added SECURITY_AUDIT.md (also newly migrated from MediaCollection root - a real deployment security checklist that would otherwise have been lost when MediaCollection is deleted). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.