Porto control surface
The React app is a dense, hash-routed operations desk with a stable left rail, a central ranked inventory per section, and a right-hand inspector for the selected item (an accessible full-screen overlay on narrow widths):
- Local development —
#/localhost-ing(default route) is the Porto project control board: fleet health, compact channel rows, quick actions, and an inspector with routing, branch, maintenance, and log console detail. - Containers —
#/containers,#/images,#/builds,#/volumes,#/networksinventory and operate the local Docker engine; the container inspector includes state-aware lifecycle controls and application/debug terminal modes. - Kubernetes —
#/kubernetes(overview + context picker),#/pods(Overview/Logs/Terminal/Files/Stats/Events/Manifest inspector tabs),#/services,#/storage(PVs/PVCs),#/gateways(GatewayClasses, Gateways, and HTTPRoutes),#/configs,#/secrets, and#/nodes; every resource view can switch context directly. - Virtual machines —
#/machineslists the Lima-backed VM image catalog and instances, with a create form and terminal/snapshot inspector tabs. - System —
#/activityshows recent client-side actions and errors for this session;#/settingskeeps branch cleanup, integrations, desktop behavior, and application updates.
Every runtime section (Docker, Kubernetes, VMs) reports a clear "unavailable" state instead of inventing data when the underlying engine, cluster, or hypervisor cannot be reached. Polled inventories retain their last successful data across route changes and refresh in the background without replacing the current view with a loading state.
Development
npm install
npm run devThe Vite development server proxies /api and WebSocket upgrades to a Porto
daemon running at 127.0.0.1:37623.
Run npm run lint and npm run build before submitting changes.
Desktop app
electron/ contains the Porto desktop app. It loads this UI from the Porto
daemon (http://127.0.0.1:37623) and starts the daemon only when it is
unreachable. Install and run Porto from the ui directory:
npm run desktop:install
npm run desktopSee electron/README.md for packaging.