The optional web control panel for Cipi: manage one or many Cipi servers from the browser through the Cipi REST API β apps, deploys, domains, routing, databases, PHP and Node runtimes, monitoring and API access.
Cipi stays CLI-first. The panel is a thin Laravel + Livewire client of the API: everything it does can still be done with cipi over SSH, it keeps no state about your servers besides an encrypted API token, and removing it leaves every server untouched.
Screenshots in this README come from the bundled demo environment (
./dev/demo.sh) β a stand-in forcipi api1.36 with three fictional servers. See Local development & demo.
- A Cipi server to host the panel β
cipi gui <domain>provisions everything - Cipi API on every server you manage (
cipi api), ideally API 1.36+ (environment labels β production, staging, β¦ β andcipi-<env>.yml); 1.35 / 5.6.4 for cipi.yml plan, apply and auto-apply; 1.34 / 5.6.0 for the build command at creation and the repository access check; 1.33 / 5.5.2 for disk usage; 1.31 / 5.4.1 for everything else - PHP 8.3+, Laravel 12 or 13, Livewire 3.6+ or 4 (only relevant for manual installs)
On a Cipi server:
cipi gui panel.example.com # Laravel host app, FPM pool, vhost, scheduler, first admin
cipi gui ssl # Let's Encrypt for the panelUpdates: cipi gui update (Composer update + migrations + theme refresh) or cipi gui upgrade (clean rebuild). See the GUI docs for every subcommand.
Manual install in an existing Laravel app:
composer require cipi/gui
php artisan vendor:publish --tag=cipi-gui-config
php artisan migrate
php artisan cipi:seed-gui-user --email=admin@example.com --password='a-long-passphrase'- Enable the API on the server:
sudo cipi api <domain> - Create a token with every ability the panel uses (the Connections page shows the same command with a copy button):
sudo cipi api token create --name=gui --abilities=apps-view,apps-create,apps-edit,apps-delete,apps-suspend,apps-basicauth,apps-env,apps-auth,apps-artisan,apps-run,apps-deploy-config,aliases-view,aliases-create,aliases-delete,www-manage,redirects-view,redirects-manage,proxies-view,proxies-manage,node-view,node-manage,search-view,search-manage,deploy-manage,ssl-manage,dbs-view,dbs-create,dbs-manage,php-view,php-manage,ssh-view,ssh-manage,services-view,services-manage,smtp-view,smtp-manage,health-view,health-manage,packages-view,packages-manage,monitor-view,metrics-view,metrics-manage,zt-view,zt-manage,sync-manage,updates-view,updates-manage,disk-view,yml-view,yml-manage,ip-whitelist-view,ip-whitelist-manage,status-view,firewall-view,firewall-manageOr sudo cipi api token create --name=gui --full-access (Cipi 5.9.0+): it also passes the abilities later versions add.
- In the panel open Connections β Add server and enter a name, the API URL (
https://vps.example.com) and the token. The connection is tested right away; tokens are encrypted at rest with Laravel'sCrypt.
Sections a server's API or token does not support are shown as "not available" one by one β an older server still works for everything else.
Light and dark themes follow the system preference (toggle in the header), and the layout adapts to phones:
The panel targets Cipi API 1.36 and degrades per section on older APIs or narrower tokens.
| Area | Endpoints |
|---|---|
| Status | GET /api/status β dashboard (queried concurrently for every server) and server overview |
| Apps | GET/POST /api/apps, GET/PUT/DELETE /api/apps/{name}, suspend, unsuspend, fix-permissions, webhook recreate; create accepts engine, octane, custom/docroot, node_build for Laravel (API 1.34+) and Node (node, framework, node_version, build, start, output, health_path); create and update take env and app objects carry it (API 1.36+ β older servers drop it and list every app as production) |
| Env / auth.json | GET/PUT /api/apps/{name}/env, GET/POST/PUT/DELETE /api/apps/{name}/auth |
| Artisan / commands | POST /api/apps/{name}/artisan, GET /api/run-commands, POST /api/apps/{name}/run |
| Deploy | deploy, rollback, unlock, GET /api/apps/{name}/deploy/audit, GET /api/apps/{name}/deploy/status (1.37+), GET /api/apps/{name}/deploy/history and GET /api/deploys/last (1.39+, Cipi 5.9.0+: durations from the rotated deploy logs too, and the app list's last deploy), GET/PUT /api/apps/{name}/deploy-config |
| cipi.yml | GET /api/apps/{name}/yml (with env next to file since API 1.36: cipi-<env>.yml is read first, then cipi.yml), POST /api/apps/{name}/yml/apply (job app-yml-apply), POST /api/apps/{name}/yml/auto/enable and β¦/disable β abilities yml-view / yml-manage (API 1.35+, Cipi 5.6.4+) |
| Domains | aliases, www status/add/force-to-root/force-from-root/clear, ssl, ssl/force |
| Routing | /redirects, /redirect (set, enable, disable, unset), /proxies |
| Node | GET /api/node, GET /api/apps/{name}/node, POST /api/apps/{name}/node/restart; runtimes: POST /api/node/install, POST /api/node/upgrade, PUT /api/node/default, DELETE /api/node/{major} (1.39+, ability node-runtimes-manage) |
| Search | GET /api/search, POST /api/apps/{name}/search/enable and β¦/disable |
| Health | GET /api/health, GET/PUT/DELETE /api/apps/{name}/health, POST /api/apps/{name}/health/check |
| Databases | GET /api/dbs/engines, POST /api/dbs/engines/install, GET/POST /api/dbs, backup, restore, password; 1.39+: app on create, POST/DELETE /api/dbs/{name}/link, dump upload (GET /api/dbs/uploads/limits, POST /api/dbs/uploads, POST /api/dbs/uploads/{id}/chunks, DELETE /api/dbs/uploads/{id}, then restore with upload_id) |
| Backups | GET /api/backups, GET /api/backups/runs, POST /api/backups/run, POST /api/backups/verify, POST /api/backups/destinations/test, POST /api/backups/profiles, PUT/DELETE /api/backups/profiles/{name}, β¦/enable, β¦/disable β abilities backups-view / backups-manage (1.39+, Cipi 5.9.0+); POST /api/backups/destinations, PUT/DELETE /api/backups/destinations/{name}, GET β¦/{name}/key (SFTP 1.48+, S3 1.49+); PUT /api/backups/config, GET /api/backups/key, POST /api/backups/key/rotate, POST /api/backups/prune (1.49+, Cipi 5.19.0+) |
| Server | PHP list/install, SSH keys, services + restart, SMTP (configure, enable, disable, test, delete), packages (list; install and remove β packages-manage, API 1.44+ / Cipi 5.14.0+), monitor, Zero Trust, IP whitelist |
| Zero Trust | GET /api/zt β ability zt-view; details from 1.46 (Cipi 5.16.0+), details.mesh from 1.48 (Cipi 5.18.0+). The mesh network: POST/DELETE /api/zt/mesh (join, leave), POST/DELETE /api/zt/mesh/lock (close and reopen SSH or 80/443), PUT /api/zt/mesh/ssh (Tailscale SSH) β ability zt-manage, API 1.48+ / Cipi 5.18.0+ |
| Page cache | GET/PUT /api/apps/{name}/cache, PUT /api/apps/{name}/cache/exclude, POST /api/apps/{name}/cache/clear β abilities nginx-view, nginx-manage (API 1.47+, Cipi 5.17.0+) |
| Octane | GET /api/apps/{name}/octane, PUT /api/apps/{name}/octane/php (job octane-php), POST /api/apps/{name}/octane/restart (job octane-restart), POST /api/frankenphp/upgrade β abilities php-view, php-manage (API 1.47+, Cipi 5.17.0+) |
| Page cache in memory, object cache | storage on PUT /api/apps/{name}/cache (ability nginx-manage); GET/PUT /api/apps/{name}/cache/object, POST /api/apps/{name}/cache/object/flush β abilities services-view, services-manage (API 1.50+, Cipi 5.20.0+) |
| Valkey per app | GET /api/valkey, POST /api/valkey/isolate and /share (jobs), POST /api/valkey/{app}/restart, POST /api/valkey/flush-shared β abilities services-view, services-manage (API 1.47+, Cipi 5.17.0+) |
| Notification settings | settings in GET /api/notifications, PUT /api/notifications/settings β the time zone and the server name (API 1.47+, Cipi 5.17.0+) |
| Transfer | GET /api/sync/key, POST /api/sync/check, POST/DELETE /api/sync/trust, POST /api/sync/push (job sync-push) β ability sync-manage; cipi/api 1.48 on Cipi 5.18.0+, on the source and on a target the panel prepares. No passphrase is sent or received: the source makes it for the transfer. |
| Firewall | GET /api/firewall, POST/DELETE /api/firewall/rules, POST/DELETE /api/firewall/blocks, PUT /api/firewall/attempts, DELETE /api/firewall/bans, POST/DELETE /api/firewall/crowdsec/allowlist, POST /api/firewall/crowdsec/enable and β¦/disable (jobs crowdsec-enable, crowdsec-disable), PUT/DELETE /api/firewall/real-ip, POST /api/firewall/real-ip/refresh, PUT/DELETE /api/firewall/http2, PUT/DELETE /api/firewall/http3 β abilities firewall-view / firewall-manage (1.44+, Cipi 5.14.0+) |
| Metrics | GET /api/metrics, GET /api/metrics/series, GET /api/apps/{name}/metrics, GET /api/metrics/uptime, GET /api/metrics/events, GET/PUT /api/metrics/settings, PUT/DELETE /api/metrics/heartbeat, POST /api/metrics/heartbeat/test; GET/PUT /api/apps/{name}/basicauth/agent β abilities metrics-view / metrics-manage (1.41+, Cipi 5.11.0+) |
| Disk | GET /api/disk, GET /api/disk/dbs β the figures of cipi disk / cipi disk db (API 1.33+, Cipi 5.5.2+ for the API sudoers); measured on request, so these two calls use http_disk_timeout |
| Logs | GET /api/apps/{name}/logs β available_types and app_log say which logs the app has and which is its own (API 1.53+) |
| Server domain, webhooks, previews | GET /api/server/domain, PUT/DELETE /api/server/domain (jobs server-domain-set, server-domain-remove), POST /api/server/domain/sync β abilities apps-view, nginx-manage; GET /api/apps/{name}/webhook, PUT β¦/webhook/auto, POST β¦/webhook/rotate β apps-edit; GET/POST /api/apps/{name}/previews (job preview-create), PUT /api/previews/{name}/keep, DELETE /api/previews/{name} (job preview-delete) β apps-view, apps-create, apps-edit, apps-delete; public on app create and edit (API 1.53+, Cipi 5.24.0+) |
| Jobs | GET /api/jobs/{id}; reads repository_access and build from app create / app edit results (API 1.34+, Cipi 5.6.0+) and the outcome of a cipi.yml apply (API 1.35+, Cipi 5.6.4+) |
cipi disk is in the panel since API 1.33 (Server β Disk). What is not in the panel yet β per-app disk limits and Cloudflare DNS accounts (API 1.32), cipi ssh apps β is pointed to with the command where it matters. On purpose never in the panel: Cloudflare's side of Zero Trust (cipi zt enable, hostnames, Access, its locks), opening the SSH port, 80 or 443 from the Firewall tab while a lock holds them (the mesh network's locks are in the Zero Trust tab), CrowdSec's rescue listener.
config/cipi-gui.php (publish with --tag=cipi-gui-config):
| Key | Description | Default |
|---|---|---|
route_prefix |
URL prefix for every panel route | '' |
job_poll_interval_ms |
How often a running job is polled | 1500 |
job_poll_max_attempts |
Poll attempts before giving up | 120 |
http_timeout / http_connect_timeout |
API request timeouts (seconds) | 30 / 10 |
http_disk_timeout |
Timeout for GET /api/disk*, which measure every app home on request (seconds) |
180 |
php_versions |
Fallback PHP hints when a server cannot list its versions | ['8.4', '8.5'] |
token_abilities |
Abilities shown in the token command on Connections | API 1.44 list |
sso |
Single sign-on over OpenID Connect: issuer, client id and secret, button label, auto-provisioned domains, SSO-only, scopes β written to .env by cipi gui sso |
off |
Environment variables: CIPI_GUI_PREFIX, CIPI_GUI_JOB_POLL_MS, CIPI_GUI_JOB_POLL_MAX, CIPI_GUI_HTTP_TIMEOUT, CIPI_GUI_HTTP_CONNECT_TIMEOUT, CIPI_GUI_HTTP_DISK_TIMEOUT, CIPI_GUI_DB_UPLOAD_CHUNK_MB (4: how much of a dump one request carries, never more than this PHP accepts), CIPI_GUI_ADMIN_EMAIL, CIPI_GUI_ADMIN_NAME; for single sign-on CIPI_GUI_SSO_ISSUER, CIPI_GUI_SSO_CLIENT_ID, CIPI_GUI_SSO_CLIENT_SECRET, CIPI_GUI_SSO_LABEL, CIPI_GUI_SSO_DOMAINS, CIPI_GUI_SSO_ONLY, CIPI_GUI_SSO_SCOPES (redirect URI to register at the provider: {APP_URL}/auth/sso/callback).
Artisan commands: cipi:seed-gui-user (create or --reset the admin), cipi:gui-refresh-theme, cipi:gui-version.
./dev/setup.sh # Laravel host app in dev/host that loads this package from the working tree
./dev/demo.sh # demo API + panel on http://127.0.0.1:8000 (admin@cipi.local / admin)dev/demo/api is a stateful stand-in for cipi api 1.36: three fictional servers (production, client hosting, staging) with Laravel, Node and custom apps, databases, monitor checks, a deploy ledger and logs. Async jobs go from pending to completed with CLI-like output, and changes persist until ./dev/demo.sh --reset. Domains and IPs are reserved documentation ranges. Details in dev/README.md.
Tests (Orchestra Testbench + PHPUnit) and the CI matrix (PHP 8.3β8.6 Γ Laravel 12/13 Γ Livewire 3/4; PHP 8.6 with Laravel 13 only, as Laravel 12 does not support PHP 8.6 upstream):
composer install
composer testcipi/gui
βββ config/cipi-gui.php
βββ database/migrations/ # cipi_servers, cipi_settings, grants, invites; users columns (2FA, role, sso_subject)
βββ resources/
β βββ css/cipi-gui.css # theme, inlined β no build step
β βββ views/ # layouts, partials, <x-cipi::β¦> components, Livewire views
βββ routes/web.php
βββ src/
β βββ CipiGuiServiceProvider.php
β βββ Livewire/ # Dashboard, Servers, Apps, AppDetail, Databases, ServerManage, Settings, LogViewer
β βββ Services/ # CipiApiClient, JobOutputParser, TwoFactorService, OidcClient (single sign-on)
β βββ Support/ # Theme, Icons, BuildCommand (the CLI's build-command rule), AppEnv (environment labels), AppGroups (previews under their app)
β βββ Models/CipiServer.php
βββ dev/ # host bootstrap + demo API
βββ tests/
How cipi gui provisions the panel on a server is described in docs/CIPI_CLI.md. Release notes: CHANGELOG.md.
MIT


































