Cloudio
All projectsOne control panel for one VPS. Cloudio brings DNS, Caddy routes, services and containers into a server-rendered workspace for a single operator.
Inspect a route change
Start with the host as it is
- DNSCloudflare records
- RoutingCaddy fragment
- HostSockets and services
Cloudio reconciles observations from these sources. If a refresh fails, the last successful observation stays visible, and writes to that target are blocked.
Compare the intended change
- ObservedLast successful observation
- DesiredEdited route
- PreviewProposed Caddy fragment
Only one Caddy fragment belongs to Cloudio. A preview shows the proposed routes. Before applying, Cloudio checks that the fragment on disk still matches the observation.
const before = try readFragment(ctx);
defer before.deinit(ctx.gpa);
const observed_text = (try latestObservedText(ctx)) orelse return error.CaddyWriteUnavailable;
defer ctx.gpa.free(observed_text);
if (!std.mem.eql(u8, before.text, observed_text)) return error.CaddyObservationChanged;
Keep a way back
- ApplyValidate the configuration
- ReloadCheck the running configuration
- RecoverRestore the previous state on failure
A successful apply verifies the reload. A failed verification takes the restore path. Route mutations are recorded in the audit history.
reloadConfig(ctx, opts.caddy_executable) catch |err| {
try restoreAndReload(ctx, opts, before, previous_runtime);
return err;
};
verifyRuntime(ctx, opts.curl_executable, expected_runtime) catch |err| {
try restoreAndReload(ctx, opts, before, previous_runtime);
return err;
};
The operating boundary
One operator
The web UI sends native form posts. Passkeys protect access, and mutations are recorded in SQLite. Cloudio manages local Docker containers and its own Caddy fragment.
One host
The operator still owns Caddy, systemd and the provider accounts. Cloudio keeps a narrow view of the resources it can observe and safely change.
Verified apply and restore implementation · Browser acceptance checks