You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
app catalog: support web-UI applications (HTTP-served) — a 'port-ready' launch kind (Jupyter, OpenRefine, code-server, …) #590
spawn app launch only supports the single Linux X11 GUI app → DCV virtual session → browser model. A large share of what people actually want to launch serves its own web UI on a port and never touches DCV/X11: Jupyter/JupyterLab, OpenRefine, RStudio Server, VS Code (code-server), ComfyUI, Automatic1111, TensorBoard, Streamlit/Gradio/Dash/Shiny, MLflow, Label Studio, Ollama+OpenWebUI.
Today the readiness signal is DCV-specific (spored polls dcv list-sessions, writes a DCV spawn:ready-url). There is no path for a plain web app.
Proposal (net-new; design plan to follow)
Add a second app 'kind' to the catalog:
readiness = TCP/HTTP health on a port (not a DCV session);
spawn:ready-url points at that port (served through the wildcard TLS cert / a small reverse proxy for TLS);
skip the DCV install entirely (no dcvserver, no nice-xdcv/gl).
Schema: an alternative to dcv: true — e.g. kind: web with port:/health_path:, or serves_http: true. Reuses the existing container pull + BYO/overlay/--image machinery unchanged. spored already runs an HTTP server and writes tags, so the port-ready path is a scoped extension of the existing handshake, not a rewrite.
This roughly doubles the addressable app set and is arguably higher-demand than X11 viz for the research/ML audience.
Refs the app-catalog work (#290/#392). Highest-value follow-on to the #286/#389 base-AMI/DCV change (spawn v0.106.0).
The web launch kind is implemented, merged (#596/#597), and real-instance validated: spored probes the app's HTTP port, brings up a built-in :443 TLS reverse proxy (wildcard cert), and writes spawn:ready-url=https://<fqdn>/. Validated with nginx (HTTP 200 over TLS at the FQDN, ready tag written); instance terminated + leak-checked clean. Usable today via spawn app launch <name> --image <ref> --web-port <n> or a kind: web overlay entry. Docs: docs/catalog-schema.md (#593).
Remaining (tracked here): seed built-in web catalog entries
Shipping built-in code-server/jupyter/openrefine entries needs a small design first — they don't work as bare docker run <image>:
code-server binds container-localhost + password auth by default → needs --bind-addr 0.0.0.0:<port> (and an auth choice). jupyter needs a token or --IdentityProvider.token=''. So the catalog needs a command/args field threaded into buildWebUserData's docker run.
Security: a tokenless app on the world-open spawn-web SG (:443, 0.0.0.0/0) is a concern. Options to decide: keep the app's own auth (surface the token), restrict the SG to the launcher's IP, or add a proxy-level auth token to spored's :443 proxy (mirroring the DCV authToken) so web apps are gated regardless of the app.
Leaving open to track the args-field + proxy-auth design + seeding (per #592: prefer existing upstream images).
Activity
feat(catalog): app launch kind (application/desktop/web) + web port f…
feat(app): bare desktop session — spawn app launch desktop (#591) (#594)
feat(app): web-UI app kind — serve an app's own web UI via a spored T…
fix(app): install Docker in web user-data; web-aware launch timeout m…
scttfrdmn commentedon Sep 15, 2026
Capability shipped + validated (spawn v0.107.0)
The
weblaunch kind is implemented, merged (#596/#597), and real-instance validated: spored probes the app's HTTP port, brings up a built-in :443 TLS reverse proxy (wildcard cert), and writesspawn:ready-url=https://<fqdn>/. Validated with nginx (HTTP 200 over TLS at the FQDN, ready tag written); instance terminated + leak-checked clean. Usable today viaspawn app launch <name> --image <ref> --web-port <n>or akind: weboverlay entry. Docs:docs/catalog-schema.md(#593).Remaining (tracked here): seed built-in web catalog entries
Shipping built-in
code-server/jupyter/openrefineentries needs a small design first — they don't work as baredocker run <image>:--bind-addr 0.0.0.0:<port>(and an auth choice). jupyter needs a token or--IdentityProvider.token=''. So the catalog needs acommand/argsfield threaded intobuildWebUserData'sdocker run.spawn-webSG (:443, 0.0.0.0/0) is a concern. Options to decide: keep the app's own auth (surface the token), restrict the SG to the launcher's IP, or add a proxy-level auth token to spored's :443 proxy (mirroring the DCV authToken) so web apps are gated regardless of the app.Leaving open to track the args-field + proxy-auth design + seeding (per #592: prefer existing upstream images).
feat(app): web-app run args + spored :443 proxy access-token gate (#590…
chore(deps): bump libs to v0.47.0 — built-in code-server web app (#590)…
chore(deps): bump libs to v0.48.0 — built-in jupyter web app (#590) (#…
feat(app): built-in openrefine + 'bring your own app' doc; bump libs …