← All work

Project 02 / Early working prototype

Switch
board.

Everything you host.
One careful control panel.

A self-hosted service monitor with an API for controlling applications. Agents watch the software on each machine, the server keeps the history, and the browser dashboard uses the same API available to other integrations.

Switchboard’s purple logo with two opposing arrows
Watch closely. Act deliberately.
Application
Server + agents + dashboard
Backend
C# · ASP.NET Core · .NET 10
Storage
SQLite
Frontend
HTML · CSS · JavaScript

01 / The problem

Self-hosting means
a lot to watch.

Websites, bots, and game servers each have their own way of starting, stopping, and failing.

Switchboard brings them into one panel. It checks health over HTTP, TCP, or the process itself, and shows CPU, RAM, uptime, and live output. People can restart an application without needing access to the whole machine.

The current build also includes IIS, Apache, and Nginx adapters, Minecraft Java and Bedrock presets, website hosting and release tools, Cloudflare tunnel setup, in-panel alerts, and backups.

02 / How it fits together

Agents report out.
The server decides.

Agents open the connections. The server never opens a remote shell on them.

Each machine

Agent

Health checks and
approved actions

Behavior

Server API

Sign-in, permissions
and the action queue

Persistence

SQLite

Health, actions
and audit history

Browser dashboard & integrationsOne documented API · OpenAPI description · scoped integration tokens

03 / Following one restart

Someone presses Restart.
What happens next?

The path a request takes, from the panel to a running process.

Example request

Restart an application

A member with Restart permission for one app confirms a restart in the panel.

Queued, run once, audited
  1. Check the requestThe server confirms this person can restart this specific app. Viewing it is a separate permission.
  2. Save the actionA retry with the same key returns the existing action. The server saves a pending action before saying it was accepted.
  3. Claim and run it onceThe agent claims the action, checks its own local approval, and restarts only the process it started itself.
  4. Watch for recoveryA finished action means the process launched. A later health check shows whether the app actually recovered.

A simplified summary of the restart flow described in Switchboard’s architecture documentation.

04 / Engineering decisions

Small decisions.
Real consequences.

A few of the choices that make a control panel safe enough to trust.

01

Never accept commands from callers

Programs and arguments are configured on the agent’s machine. The API only accepts an application ID, so a stolen token cannot run something new.

02

Don’t replay uncertain actions

If an agent disappears mid-action, the outcome is marked unknown instead of retried. Avoiding a duplicate restart matters more than retrying automatically.

03

Separate permissions for each app

View, control, logs, files, and backups are granted separately for every application, and administrator actions are recorded in one audit timeline.

04

Share core behavior, isolate platforms

The core works the same on Windows, Linux, and macOS. IIS, systemd, Homebrew, and Windows services each sit behind their own adapter.

05 / Verification & next steps

Show the evidence.
Know the limits.

922 workflow assertions passedRecorded local Windows run · plus 399 simulated interface checks

The suite starts real local server, agent, and disposable application processes. It checks permission boundaries, real restarts, deduplication, stale agents, crash recovery, and history persistence. Earlier milestones also passed on Windows, Ubuntu, and macOS in CI.

These checks do not establish actual browser rendering, or control of installed web servers, PHP, databases, package managers, or real Minecraft worlds. Native adapters are tested against their command contracts.

Discord delivery for alerts has passed its offline checks; nothing has been posted to Discord by the tests.

Next milestone: continue acceptance testing across installed services and recovery scenarios.

Keep exploring

One panel.
Plenty to build on.

Visit the public status page or get in touch about the project.

More work

Switchboard’s script launcher docs include an example setup for Espresso Bot, the Discord bot behind project 01.

Back to the portfolio →