banger/internal/daemon
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
..
capabilities.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
capabilities_test.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
daemon.go Serve a local web UI from bangerd 2026-03-21 16:47:47 -03:00
daemon_test.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
dashboard.go Serve a local web UI from bangerd 2026-03-21 16:47:47 -03:00
doctor.go Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
fastpath_test.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
image_build_ops.go Serve a local web UI from bangerd 2026-03-21 16:47:47 -03:00
image_seed.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
imagebuild.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
imagebuild_test.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
images.go Serve a local web UI from bangerd 2026-03-21 16:47:47 -03:00
logger.go Speed up VM create with work seeds 2026-03-18 21:22:12 -03:00
logger_test.go Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
nat.go Move helper NAT management into Go 2026-03-17 15:07:49 -03:00
nat_test.go Move helper NAT management into Go 2026-03-17 15:07:49 -03:00
opencode.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
ports.go Refine vm ports output 2026-03-19 18:21:04 -03:00
preflight.go Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
snapshot.go Harden VM stop cleanup for stale snapshots 2026-03-18 12:28:15 -03:00
snapshot_test.go Harden VM stop cleanup for stale snapshots 2026-03-18 12:28:15 -03:00
tap_pool.go Speed up VM create with work seeds 2026-03-18 21:22:12 -03:00
vm.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
vm_create_ops.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
vm_test.go Manage image artifacts and show VM create progress 2026-03-21 14:48:01 -03:00
web.go Serve a local web UI from bangerd 2026-03-21 16:47:47 -03:00