Panel architecture
How the panel talks to your servers.
The panel is a standard Laravel application distributed as the cipi/gui package (cipi-sh/gui). It holds no state about your infrastructure: it authenticates to each server's API, submits jobs and polls them. Tear it down and rebuild it elsewhere without touching a managed server.
Components#
| Aspect | Detail |
|---|---|
| Framework | Laravel 12 or 13, Livewire 3.6+ or 4, no asset build step |
| Package | cipi/gui from GitHub, Composer VCS dev-main |
| Install path | /opt/cipi/gui |
| Config | /etc/cipi/gui.json |
| Isolation | Own FPM pool, open_basedir limited to its own directories |
| Auth | Session login, optional TOTP, optional OpenID Connect SSO |
| Jobs | No local queue worker: remote jobs polled through each server's API |
- Panel (cipi/gui)sessions, roles, server connections
- HTTPS + Bearer tokenone per server, IP allowlist
- Cipi API (cipi/api)queues async jobs
- cipi CLI via sudoersthe same code path as SSH
API coverage#
| Area | Endpoints used | |
|---|---|---|
| Server | GET /api/status; PHP, DB engines, Node runtimes, SSH keys, services, SMTP, search, packages, monitor, Zero Trust, GET /api/disk and /api/disk/dbs, IP allowlist | |
| Apps | CRUD, suspend, fix-permissions, basic auth, logs, .env, auth.json, Artisan, app commands; create with engine, octane, Node options; webhook rotation; per-app health check | |
| Deploy | Deploy, rollback, unlock, deploy/audit, deploy/history, GET /api/deploys/last, deploy-config | |
cipi.yml | GET /api/apps/{name}/yml, POST …/yml/apply, `…/yml/auto/enable | disable` |
| Domains | Aliases, www ↔ apex, SSL install and force HTTPS | |
| Routing | /api/apps/{name}/redirect*, /api/apps/{name}/proxies | |
| Node | GET /api/node, /api/apps/{name}/node, SSR restart | |
| Search | GET /api/search, per-app enable/disable | |
| Databases | List, create, back up, restore (with chunked upload), rotate password, link to apps; deletion stays on the host CLI | |
| Backups | /api/backups… profiles, runs, destinations test | |
| Jobs | Status, output and parsed result (credentials, backup file, webhook token) |
A server with an older API keeps every page it supports; a missing tab says what it needs. Disk sizes are measured when the tab opens, with their own timeout (CIPI_GUI_HTTP_DISK_TIMEOUT, 180 s). cipi ssh apps, cipi firewall attempts, disk limits and DNS accounts are changed on the host.
Prefer the terminal? The CLI client does the same over the API, and the WHMCS module automates it for hosting providers.