Your AT Protocol data, as an app. Open any account to see the apps it uses and its records, shown through the lexicons their collections publish; create, edit and delete your own with forms generated from those lexicons, signed in or in a local profile.
A static SvelteKit app with no backend: every repo is read from its own PDS. See docs/principles.md for how enform keeps to the atproto specs, and docs/self-host.md to serve your own instance, anywhere.
bun install
bun run dev # http://127.0.0.1:5173
bun run test
bun run types
bun run build # static site in dist/
bun run verify # all of the above and formatting: before every commitAgainst a local atproto network, so signing in (OAuth), permission popups and writes run headless without real accounts, and offline.
bun run test:e2e # starts the network and the app, runs e2e/*.spec.ts
bun run e2e:network # or only the network, to try by hand (Node 22+)e2e/network.mjsruns@atproto/dev-env: a PLC directory (in memory) and a PDS (SQLite in a temp directory) with its OAuth sign-in pages onhttp://localhost, plus a DNS-over-HTTPS answerer for_atprotoand_lexiconlookups. No Postgres, Redis or Docker. It runs on Node, not Bun (the PDS uses better-sqlite3).e2e/network.json: ports, accounts (handles and passwords) and which account publishes each lexicon authority's schemas, frome2e/lexicons/<authority>/.- The network writes
e2e/.network/app.json: the app config with its services pointed at the network andoauth.allowHttpon.vite --mode e2euses it in place ofsrc/lib/config/app.json; other modes and builds are unchanged. - Playwright (Chromium, phone and desktop sizes) blocks every request off localhost.
src/lib/atproto/: identity (DNS, DID documents) and public repo readssrc/lib/lexicons/: lexicon resolution and refssrc/lib/records/: how record values are summarized and shownsrc/lib/forms/: record forms from lexicons: initial values, constraints, cleaning, validationsrc/lib/components/:enform-*elements (form/: the generated record form)src/lib/config/app.json: services and settingsi18n/messages/: translations