Publishing

A box is a directory of your data, kept under version control with a full history of changes (using git); a card is a markdown file with a structured header; the agent is the coding agent (Claude Code or Codex) that operates the box. Publishing takes a website the agent has built from material in the box and serves it on the open web, under your control.

What it does for you

What it needs

A Cloudflare account that holds the sites, set up once by whoever runs the machine: an account-scoped Cloudflare token pasted into the Admin page, granted to the box, and one web address (a hostname in a domain on that account) assigned to the box. The agent is never given the token. See ../install/index.md.

How it works, briefly

Each box gets one hostname and one small server program on Cloudflare that serves it. Public sites live at /<name>/ and secret-link sites at /s/<identifier>/ on that hostname. The agent asks the box server to prepare a site by its publication card; the server builds it if needed, scans it, and uploads it as a release. Pages render at that point, content marked redacted is left out entirely, and the scan runs over the rendered result. A finished page runs only in the visitor's browser, never in the box.

Limits

Go deeper

../reference/bbx-commands.md, ../10-your-data-and-safety.md