Unreal Brains Logo Unreal Brains
← Back to All Work
Fleet Management & Kiosk Software • 2026

Running a Gaming Cafe from One Dashboard: Fleet Command for 10 Windows PCs

A zero-inbound-port fleet manager (Astro + Svelte 5 + PowerShell + WebView2) that optimizes, watches and controls every gaming PC, replaces the Windows desktop with a branded kiosk, and takes food orders from the seat.

Target Domain Ozone eSports (Gaming Cafe)

Verified Engineering Benchmarks

Fleet Managed
10 PCs
Mixed hardware, one dashboard
Inbound Ports on PCs
0
One outbound WebSocket per rig
Host Infrastructure
$0 / month
Runs on the owner's MacBook
Order Price Tampering
Not possible
Agent prices from the published menu

Founder’s TL;DR:

  • The Problem: A gaming cafe owner was running about ten Windows 10 PCs of different ages by hand: no way to see which PC was slow or stuck, no remote screen, customers sitting in a bare Windows desktop, and food orders shouted across the room.
  • The Engineering Fix: One dashboard on the owner’s laptop. Each PC runs a small agent that dials out to it (nothing listens on the PCs), takes signed commands, and shows customers a branded kiosk screen with offers, games and a food menu with an order button.
  • The Bottom Line: The owner manages, optimizes, watches and sells from one screen, the cafe keeps working when the laptop is off, and the whole system costs nothing to host.

The Ozone customer screen on a real gaming PC: launchers on the left, a PC rates slide and a Cheesy Maggi photo slide, and a games dock at the bottom
The customer screen on a real cafe PC (OZONE-9). Rate cards, food photos, launchers, a Call staff button and a games dock, all managed from the dashboard.

Executive Summary

A gaming cafe is a small fleet of expensive, abused computers. Every PC drifts: background services creep back, drivers go stale, a game hangs, a customer closes the wrong window. The owner of Ozone eSports had roughly ten PCs (from an i5-7400 with a GTX 1050 Ti up to RTX 2060 Super machines) and one question: “Can I see and fix all of this from my laptop?”

Unreal Brains built Ozone Fleet Command, a system with three faces:

  • For the owner: a dashboard that shows every PC live, optimizes and audits them, shows and even controls their screens, and designs everything customers see.
  • For customers: a kiosk shell that replaces the Windows desktop with a clean, branded screen where they launch games, read offers and order food without leaving the seat.
  • For staff: orders and “Call staff” taps arrive on their phones in Discord, and a hidden sign-in opens Windows when something needs fixing.

It is also a worked example of designing for hostile, unreliable conditions: a host laptop that is often switched off, customers who will try to break out of any lock, and Windows scripts that cannot even be executed on the developer’s Mac.


The Problem

PainWhat it looked like on the floor
No visibilityThe only way to know a PC was overheating, throttling or out of disk space was to walk to it and ask.
DriftWindows tweaks that make a PC feel fast were applied once, then silently undone by updates. No one could say what was actually in place.
Hands-on fixesA hung game, a stuck cache or a flaky network meant staff leaving the counter.
A bare desktopCustomers saw Windows, not the cafe. No place for offers, rules or the menu.
Orders by shoutingFood and drink orders were taken verbally, with no record and no price check.
An unreliable hostThe “server” is the owner’s MacBook Air, which is closed whenever they leave. The cafe cannot depend on it.

An earlier attempt at this tool (written in a previous AI-assisted session) had a fake audit that reported success without checking anything, a broken updater, UAC prompts on customer machines and committed zip files. We kept the goal and rebuilt the system from scratch as v2.7.0, with the rule that every claim the dashboard makes must be checked against the real machine.


Architecture: Two Servers, One Process, Zero Inbound Ports

Architecture diagram: the host MacBook runs the dashboard on port 4321 and the rig server on port 8080; each Windows PC keeps one outbound WebSocket and posts orders to Discord; the host polls PS4 and PS5 consoles
PCs only ever connect out. Every host-to-PC message is signed and verified before it is obeyed.

The host is a single Node process that hosts two servers:

  1. The dashboard (Astro 6 + Svelte 5, port 4321) behind a session login.
  2. The rig server (port 8080): token-protected downloads and the WebSocket endpoint the PCs connect to. It starts at boot through an Astro config hook, so it is up even if nobody has opened a page.

Each PC runs OzoneAgent.ps1, a PowerShell service that keeps one outbound WebSocket to the host. Because the connection goes out, there are no firewall holes, no port forwarding and nothing to scan on the customer PCs. PCs are identified by their Windows MachineGuid, not their IP address, so a DHCP lease change never loses a machine.

Design decisions worth explaining

Signed host-to-PC messages. Anything the host sends is wrapped as {t:'m', b:<json>, s:<HMAC-SHA256>}. The body names the target PC, carries a strictly increasing sequence number and an expiry, and the PC’s welcome handshake echoes a random nonce it generated. Old traffic cannot be replayed to another PC or at a later time. Two keys are derived from one fleet secret: a wire token that identifies a client and a signing key that never travels in a handshake.

The host decides, the PC verifies. A command to update the agent or install the optimizer carries the SHA-256 of the exact file, chosen by the host inside the signed body. The PC downloads with the token header and refuses anything whose hash differs. A compromised download path cannot ship code.

A watchdog that can roll back. OzoneLauncher.ps1 is a single scheduled task with no time limit. It runs the current versioned agent folder, kills a hung agent (stale heartbeat.txt), marks a new version stable only after 40 seconds of healthy running, and rolls back automatically after repeated crashes. Fleet updates go out as a canary PC first, then batches of three, so a bad build never reaches all ten at once.

The cafe works without the host. Staff sign-in, the kiosk content, ordering and Call staff all run on the PC itself. Closing the laptop lid costs the owner visibility, never revenue.


What the Owner Gets: The Dashboard

The dashboard has five top-level tabs: PCs, Screen Wall, Network, Consoles and Kiosk.

PCs: see it, audit it, fix it

Each PC has a live card (online state, CPU / RAM / GPU load, the game being played, even CPU and GPU power draw from NVML and Windows’ RAPL energy counter). Opening one gives:

  • Tweak Audit: optimize with Sophia Script plus esports tweaks, then audit what is really in place and re-apply only what is missing.
  • System health: temperatures, throttling, SSD health and wear, free space, power losses and driver crashes.
  • Live Screen & Control: a silent “stealth” view, or take over mouse, keyboard and scroll.
  • Tools: kill a stuck game, purge caches, reset the network, update, reinstall or roll back the agent.

Select several PCs with Cmd+click and act on all of them at once.

One tweak catalog, so the audit cannot lie

The old tool’s biggest failing was an audit that could disagree with the optimizer. The rebuild has a single source of truth, Ozone-Tweaks.ps1, that drives optimize, audit and re-apply. Sophia Script runs first in an isolated process, then every tweak is re-checked independently and falls back to a direct fix if Sophia missed it. If the audit says a tweak is in place, it is, because the same definition checked it.

Network: who is eating the line?

Each PC measures its own bandwidth and pings. The Network tab shows the fleet total for the last 30 minutes, a plain-language verdict (“ping rises when someone downloads”) and a per-PC table. It only ever reads; it never touches a PC or the router.


What Customers See: The Ozone Shell

When a PC starts, customers see the Ozone Shell instead of a Windows desktop: a full-screen WebView2 page (C# host, web UI) with only what the owner allows.

The shell showing a House Rules slide on the left and a Beverages grid menu with photos and prices on the right
Left rail: clock, PC name, scrollable launchers, Call staff, sound with a Boost switch. Centre: two slide slots (house rules, the Beverages board). Bottom: the games dock.

Slides drawn from text, not images

The two banner slots are rendered from text and photos in the browser, so they stay sharp at any resolution and the PC needs no internet. Slide types include menu item, menu category, full menu, PC offer, event, rules, rate card and QR code, each with themed templates.

A QR slide inviting customers to join the cafe's WhatsApp channel, next to a food promo slide
A QR slide (the cafe's WhatsApp channel) next to a food promo. Menu photos rotate automatically.

Games find themselves

Scan-Games.ps1 reads each launcher’s own records, so games on any drive appear in the dock with their icons, with nothing to configure:

  • Steam (every library folder), Epic, Riot (VALORANT, League of Legends) and the launchers themselves.
  • Minecraft (TLauncher), the official Minecraft launcher and Roblox leave no install records, so they are found by known folders for any profile on any drive, then through Start Menu and Desktop shortcuts. A shortcut only counts when its target is the program’s own executable (TLauncher’s javaw -jar TLauncher.jar form is parsed exactly), so a shortcut someone planted cannot put another program in the grid.
Roblox started from the shell on a PC
TLauncher started from the shell on a PC
Roblox and Minecraft (TLauncher) launched from the dock on a real PC (OZONE-9). Closing a game returns to the shell.

Kiosk, guest mode and lockdown

Three independent, reversible modes, each sent per PC from the dashboard:

ModeWhat it does
KioskThe shell replaces Explorer for the signed-in user; the Windows key and Ctrl+Esc are blocked. A supervisor restarts it if it crashes and falls back to the normal desktop after repeated crashes, so a bug never locks a PC out.
Guest modeCustomers use a standard OzoneGuest account with auto-logon. The agent moves to a SYSTEM start-up task, and a guard reverts everything if the agent never comes back after a restart.
LockdownFive separate switches: uac, srp (only allow-listed folders may run programs), chrome, wallpaper, usb. The allow-list is built from the scanner’s results.

Staff open Windows by clicking the logo five times and signing in. The agent verifies the password on the PC against salted PBKDF2 hashes, so it works with the host off, and five wrong attempts lock sign-in for 30 seconds.


The Slides Studio: Design Once, Publish to Ten PCs

The owner designs the whole customer experience in Kiosk > Slides. Slides are dragged between two slots, edited with a live preview, and sent with Publish. The preview is drawn by the very same code the PCs run, so what the owner sees is what customers see.

The Kiosk slides studio in the dashboard: left and right slot lists, a QR slide preview in the centre and its editor on the right
The slides studio. The header shows "v27 live, 10 of 10 PCs": which PCs have the latest published content.

Edits are saved as a draft; Publish creates a versioned package that connected PCs receive immediately and offline PCs catch up on when they reconnect. A single menu file (ozone-menu.yaml) is the source of truth, so a price is typed once and flows to slides, the on-PC menu and the lounge TV. Renaming a category or item in the dashboard automatically re-links the slides that reference it.


Ordering Food from the Seat

Customers press Menu on the shell, fill a cart and press Place order. Staff receive it on their phones within a second.

Order flow: the customer adds items and presses Place order, the shell sends only item ids and counts over a local pipe, the agent prices every line from the published menu, and the order lands in a staff Discord channel
The page never sends a price. The agent prices the order from the menu the owner published.

The security thinking matters more than the feature:

  • The page is untrusted. The shell sends only item ids, size labels and quantities. The agent prices every line from the published menu, so a tampered page cannot change what an order costs. Variants (for example Cold Drinks: Thums Up) are validated the same way, and a sold-out variant is refused even if a stale page still shows it.
  • Orders go straight from the PC to Discord through a webhook, so they arrive when the host laptop is off. The webhook is stored outside git, only its last four characters are ever shown in the dashboard, and it is delivered to PCs in a signed command.
  • Cancel (two presses, 3-minute window) crosses the original message out in red and posts a short new “do not prepare it” message so phones ring again.
  • Customer text can never ping anyone (allowed_mentions is empty), and limits apply: one order per 10 s, one staff call per 30 s, an 80-character note.
  • If Discord is unreachable, the customer is told and the cart is kept.
  • There is no payment in v1: staff take it at the counter. A deliberate scope cut.

Tested end to end on a real PC: ordering, cancelling and calling staff through Discord.


Beyond the PCs: Consoles and the Lounge TV

  • PlayStation consoles cannot run an agent, so the host polls PS4 / PS5 directly for online status, wake and play-session timers. Because stock firmware cannot be locked remotely, time-up is an alert plus an optional, confirmed smart-plug cut. (Verified against a simulated console; real-hardware testing is still pending.)
  • Lounge TV. A 43” Blaupunkt Google TV beside the PS5 was debloated and given its own home app: a full-screen WebView app with no network permission, two layouts that rotate (a warm “Menu Board” and a glass “Bento”), a PS5 button that switches HDMI, and a poster screensaver with Ken Burns photo drift, built from the same menu file. It needs no host at all.

Engineering Under Unusual Constraints

ConstraintHow we handled it
Windows PowerShell 5.1 onlySource is ASCII-only (a BOM-less UTF-8 character silently breaks 5.1), the shell’s C# is C# 5, and a linter (npm run lint:ps) runs before every PC-side change.
Cannot run Windows code on the dev MacServer and UI are type-checked (tsc, svelte-check) and tested against a scratch host; PC-side changes are verified one real PC at a time and the README states plainly what has and has not been run on hardware.
No UAC prompts, everThe agent already runs as administrator; nothing on a customer PC may pop an elevation dialog.
Hostile usersSalted hashes, replay-proof signed commands, hash-pinned downloads, allow-listed program folders, and a lockdown that is reversible so staff are never locked out of their own machines.
A single stylesheetThe dashboard was migrated to Tailwind CSS v4 in six phases, deleting about 1,500 lines of hand-written CSS in favour of utilities plus shared tokens that follow the light/dark toggle.

The codebase is roughly 19,000 lines (about 8,000 PowerShell and C# on the PCs, about 11,000 TypeScript and Svelte for the host and dashboard), documented with a per-release changelog, a runbook and a security model.


Outcomes

  • One screen runs the floor. The owner checks health, optimizes, watches screens and edits what customers see from a single dashboard.
  • Honest audits. Optimize, audit and re-apply share one catalog, so a green tick means the setting is really in place.
  • Safe updates. Canary-then-batch rollouts with automatic rollback mean a bad build cannot take down the whole cafe.
  • A branded customer experience. The desktop is replaced by a kiosk that sells: offers, food photos, a menu and an order button, with games one click away.
  • Zero hosting bill and no open ports. The host is a laptop; the PCs only dial out.
  • Resilience by design. Staff sign-in, content, ordering and Call staff all work with the host switched off.

What is still to come

Planning notes cover customer sessions with a lock screen and billing, alerts and history, and game sync from a master PC. The prerequisite, running customers in a standard (non-admin) account while the agent runs as a SYSTEM service, is the largest technical step and is documented as an open decision rather than glossed over.


The takeaway for founders: the hard part of operational software is rarely the dashboard. It is deciding who is trusted with what: a laptop that is often off, a customer who will poke at every lock, a page that must never set its own price. Designing those boundaries first is what let this system grow from a tweak script into a full cafe platform without being rewritten.

Need something like this?

I build data pipelines that get past anti-bot blocks, iOS apps from web apps, and SaaS MVPs.

Start a Project →