Extracts a new backend/authproxy package for the AuthGuard-proxy helper
functions (session cookie handling, input normalization, error
translation) that Bitmagnet/GameStream/media-backend/AutoCode/
CollabTable/PubliSafe/SimpleCollection/SyncServer/UnraidMonitor/
OutdoorGames were each independently reimplementing, and repoints all
of them onto it.
Extends packages/web-ui's Button/Badge with the variants media-webui
needed (outline, icon size, primary badge) and promotes EmptyState/
SectionTitle/Metric/StatusWidget/StatusDialog into the shared library,
then migrates media-webui off its own diverged ui/{button,card,badge,
metric} components and local duplicates of the promoted components
onto @gabriel20xx/web-ui, so media-webui is a proper consumer of the
same design system every other project already uses instead of a
parallel fork.
Also removes the dead `desktop`/MediaDesktop service variant from
media-backend and media-webui (MediaDesktop is an Electron client that
never actually runs this stack).
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.