Go apps on Cloudflare Workers, one way

Pages, an API from a contract, a live feed behind both, languages and search engines, in one Worker.

A new app, in three commands:

go run github.com/joeblew999/charter/cmd/charter@latest create my-app
cd my-app
go tool charter dev

Pages

A structpages tree rendered with gsx and gsxui: one source of routes, links and the sitemap.

An API from a contract

OpenAPI, AsyncAPI, MCP tools and SDKs in Go, Python and as a CLI, all from one Go contract.

One live feed

Declared once: the page's live list, the API's stream and its WebSocket channel all come from it.

A schema, not migrations

Tables are written down once. The migrations, the typed queries and the API's rows come from that.

Languages and search engines

A URL per language, the runtime's own Intl, a sitemap, llms.txt and an audit on every push.

Tests that ask the real thing

Pages in a real browser, the API through its own SDK, on wrangler dev and against the deployed Worker.