# site.standard ATProto publishing is **opt-in**. `build`, `check` and `init` never touch the network. Only `uteri sync` does, and only when you ask for it. Nothing is written and nothing is sent until `[standard_site]` exists with `enabled = true`. ## Enable Interactive: ```bash uteri enable atproto ``` It asks for `pds`, `repo`, `publication` and optional `categories`, then confirms before writing: ```conf [standard_site] enabled = true pds = https://pds.example repo = did:plc:example publication = at://did:plc:example/site.standard.publication/example # categories = * ``` Non-interactive: ```bash uteri enable atproto \ --pds https://pds.example \ --repo did:plc:example \ --publication at://did:plc:example/site.standard.publication/example ``` `uteri disable atproto` sets `enabled = false` and keeps the values, so you can turn it back on later. ## Configuration | key | meaning | | --- | --- | | `enabled` | `true` to turn the feature on; defaults to false | | `pds` | the PDS base URL, e.g. `https://bsky.social` | | `repo` | the repo DID that owns the records | | `publication` | `at:///site.standard.publication/` | | `categories` | optional: `*` or a comma list of kinds/slugs | The documentation values contain `example`. They are treated as **not configured**: `build` and `check` warn, `build` skips the `.well-known` file and links, and `sync` refuses. ## Eligibility A page is published only when all of these hold: - it is not a draft; - it is not the home page (`/`); - its `kind` is not `intro` or `page`; - `atproto: true` in its front matter **or** its kind matches `categories`. `atproto: false` always excludes it. ```yaml --- kind: note date: 2026-11-23 atproto: true --- ``` Without `categories` and without `atproto: true`, nothing is published. This is the second opt-in after the `[standard_site]` section. ## Build When enabled and configured, `uteri build`: - writes `.well-known/site.standard.publication` with the publication URI; - adds `` to eligible pages that have an rkey in `standard-site.tsv`. It does not create records. A page that has never been synced has no link. ## Sync ```bash uteri sync --dry-run # plan, no credentials, no network uteri sync # create/update records uteri sync --prune # also delete records no longer eligible ``` Credentials come from the environment: ```bash export ATPROTO_IDENTIFIER=did:plc:… # optional, defaults to repo export ATPROTO_APP_PASSWORD=… # an app password, never the account password uteri sync ``` `sync` uses the system `curl`; there is no HTTP crate. A non-2xx response prints the status and body. The map is saved atomically after each change. ## Map `standard-site.tsv` at the project root: ```text # uteri standard.site map v1 # route rkey sha256 /notas/34a2b5/ 3n2zczzwwiocr ``` The route is the public page path. `sync` creates and updates rows. If the route changes, the record’s `path` changes and the next sync uses `putRecord`. ## Publication record A `site.standard.publication` record must already exist in the repo. Uteri does not create it; create it with an ATProto client or the standard.site tooling, then use its AT-URI as `publication`.