Skip to content

Point the arcade at the live registry - #11

Merged
nicodes merged 1 commit into
mainfrom
point-at-the-live-registry
Aug 3, 2026
Merged

Point the arcade at the live registry#11
nicodes merged 1 commit into
mainfrom
point-at-the-live-registry

Conversation

@nicodes

@nicodes nicodes commented Aug 3, 2026

Copy link
Copy Markdown
Member

DefaultURL becomes https://api.termca.de.

Its own comment set the condition for this change:

It becomes https://api.termca.de when that is deployed and answering — and not before, because this value is compiled into every released binary, so pointing it at a host that is not up costs a release to undo.

That condition is now met. aviorstudio/termcade-be#7 deployed the stack; /healthz answers, the catalog responds, and the deploy's own health checks passed.

TERMCADE_REGISTRY still overrides it, which is how a local termcade-be stack is reached now that the default is not localhost:

TERMCADE_REGISTRY=http://127.0.0.1:8080 termcade add you/mygame

Verification

Built from this commit, run against a clean HOME with no environment overrides:

Check Result
termcade list all three bundled games, no network
add while signed out account gate, before any request
add with a session, live host no game aviorstudio/tetris in the marketplace

That last line is the point: it is api.termca.de answering — the registry's own response about an empty catalog — not a connection error. The compiled-in default reaches production with nothing configured.

go vet clean, full suite passes.

Note

The catalog is empty, so a released binary can play the bundled three and browse an empty marketplace. Publishing asteroid, tetris and brickough is deliberately left out of this PR: under the current first-publish-wins model, the account that publishes them permanently claims the aviorstudio namespace, and that should be a real account rather than one created in passing.

🤖 Generated with Claude Code

DefaultURL becomes https://api.termca.de. Its own comment set the
condition for this — "when that is deployed and answering, and not
before, because this value is compiled into every released binary, so
pointing it at a host that is not up costs a release to undo". The host
now serves: /healthz answers, the catalog responds, and the deploy's
health checks passed.

TERMCADE_REGISTRY still overrides it, which is how a local termcade-be
stack is reached now that the default is not localhost.

Verified with a binary built from this commit and no configuration at
all: the bundled three still list and play with no network, and a
marketplace add reaches api.termca.de and comes back with that
registry's own answer rather than a connection error.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@nicodes
nicodes merged commit 11a38fa into main Aug 3, 2026
1 check passed
@nicodes
nicodes deleted the point-at-the-live-registry branch August 3, 2026 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant