Portal Architecture
Product direction
WarzaOS is the persistent portal and application shell for the WarzaTools product family. Large programs stay as independently versioned packages and integrate through a narrow portal contract rather than being copied into one executable.
The portal keeps a global sidebar available while users move between Dashboard, WarzaTools 2KCV, Stabilizer / NoCV, Universal FPS CV, Cloud Gaming, WarzaTV, Emulator Library, Desktop, Devices, Projects, Plugins, and Settings.
WarzaTV
WarzaTV is registered at https://master.warzatv.pages.dev. The portal attempts an integrated content view and provides a separate-window fallback when the remote site's browser security policy prevents embedding.
Application integration
Each owned application has a local registry record containing its identity, version, supported operating systems, install state, launch mode, URL or executable path, permissions, health endpoint, and capabilities. Large source trees are not loaded into the portal. Programs should expose either:
- A local web UI route for integrated display.
- A narrow authenticated localhost API.
- A signed external application manifest for a future native launcher.
The current browser POC registers external programs but does not execute arbitrary binaries.
Native desktop behavior
- Windows production target: minimize or hide the WarzaTools shell and restore through the tray or configured hotkey.
- Steam Deck/Linux production target: return to KDE Plasma while keeping approved background services alive.
- Browser POC: exit fullscreen and instruct the user to use operating-system controls because a normal web page cannot minimize arbitrary windows.
Linux application installation
The portal detects Flatpak availability and can list installed applications through a read-only endpoint. It can prepare installation commands, but package installation remains disabled by default and requires explicit user confirmation in the future native application. It does not require sudo.
Windows application launching
A future signed native Windows package will use an allowlisted launcher rather than arbitrary command execution. The current package includes the packaging workflow and native command contracts, but not a falsely labeled cross-compiled executable.
Security rules
- Bind local services to
127.0.0.1 only.
- Require CSRF tokens for state-changing requests.
- Validate paths, URLs, manifests, capabilities, and permissions.
- Never store secrets in the application registry.
- Never launch imported binaries automatically.
- Keep licensed console implementations isolated from the generic public codebase.
Current deliverable
The v7 package is runnable today using Python 3 on Windows or Steam Deck/Linux. It includes the portal UI, local API, device simulator, ownership registry, plug-in SDK, WarzaTV integration, launchers, Steam Deck installer, firmware framework, console compatibility documentation, and validation results.
A universal replacement operating-system image, production Windows executable, and verified direct-console compatibility still require device BSPs, signed installers, electrically wired hardware, platform licenses, and physical test matrices.