From ffad0ecf549f36bcc61f51c489a2abcb00369660 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sat, 23 May 2026 16:13:50 +0200 Subject: [PATCH] docs: describe atproto-backed /pub route --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 8cede27..7c91955 100644 --- a/README.md +++ b/README.md @@ -18,3 +18,15 @@ pnpm build # build for production pnpm preview # preview the production build on port 5050 pnpm typecheck # run vue-tsc ``` + +## AT Protocol notes (`/pub`) + +Pages under `/pub/:rkey/:slug` are generated at build time from records +published to my AT Protocol repository. + +- DID: `did:plc:4m3kouplb7s7xozjd3whinvl` +- Collection: `site.standard.document` +- PDS endpoint is resolved via [plc.directory](https://plc.directory), + then records are listed with `com.atproto.repo.listRecords`. + +See `src/api/fetch-notes.ts` and `src/pages/pub/[rkey]/[slug].vue`.