banger/internal
Thales Maciel 2362d0ae39
Serve a local web UI from bangerd
Add a localhost-only web console so VM and image management no longer depends on the CLI for every inspection and lifecycle action.

Wire bangerd up to a configurable web listener, expose dashboard and async image-build state through the daemon, and serve CSRF-protected HTML pages with host-path picking, VM/image detail views, logs, ports, and progress polling for long-running operations.

Keep the browser path aligned with the existing sudo and host-owned artifact model: surface sudo readiness, print the web URL in daemon status, and document the new workflow. Polish the UI with resource usage cards, clearer clickable affordances, cancel paths, confirmation prompts, image-name links, and HTTP port links.

Validation: GOCACHE=/tmp/banger-gocache go test ./...
2026-03-21 16:47:47 -03:00
..
api Serve a local web UI from bangerd 2026-03-21 16:47:47 -03:00
cli Serve a local web UI from bangerd 2026-03-21 16:47:47 -03:00
config Serve a local web UI from bangerd 2026-03-21 16:47:47 -03:00
daemon Serve a local web UI from bangerd 2026-03-21 16:47:47 -03:00
firecracker Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
guest Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
guestconfig Refactor VM lifecycle around capabilities 2026-03-18 19:28:26 -03:00
guestnet Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
hostnat Move helper NAT management into Go 2026-03-17 15:07:49 -03:00
model Serve a local web UI from bangerd 2026-03-21 16:47:47 -03:00
opencode Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
paths Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
policy Add vsock-backed VM port inspection 2026-03-19 15:52:11 -03:00
rpc Propagate RPC cancellation to daemon requests 2026-03-16 18:28:33 -03:00
runtimebundle Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
store Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
system Serve a local web UI from bangerd 2026-03-21 16:47:47 -03:00
vmdns Replace mapdns with daemon DNS 2026-03-17 15:49:35 -03:00
vsockagent Add vsock-backed VM port inspection 2026-03-19 15:52:11 -03:00
webui Serve a local web UI from bangerd 2026-03-21 16:47:47 -03:00