ui

command
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Demo UI server — substrate multiplex visualization.

Tiny stdlib HTTP server. Reads worker + actor state from the substrate ateapi gRPC service, reads pod logs from the k8s API via client-go, exposes JSON endpoints, and serves index.html that polls them.

No kubectl shellouts — all data flows go through:

  1. ateapi gRPC (workers / actors / actor names) — mirrors the pattern in demos/sandbox/client/main.go.
  2. client-go corev1 typed client (pod logs) — uses the operator's kubeconfig when running outside the cluster; in-cluster service account credentials otherwise.

Prereq when running outside the cluster:

kubectl port-forward svc/ateapi 8080:8080 -n ate-system &
PORT=8090 ATEAPI_ADDR=localhost:8080 DEMO_NAMESPACE=claude-multiplex-demo go run ./server.go

(Pick a UI PORT that doesn't collide with the port-forward.)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL