- Gleam 96%
- TypeScript 2%
- Shell 2%
- Makefile <1%
gleam-atproto #
Gleam packages for building on atproto, extracted from at-record. All are alpha: pre-1.0, evolving alongside at-record, breaking changes between 0.x releases.
| Package | Hex | What it does |
|---|---|---|
atproto_core |
hex.pm | Shared sans-io core: XRPC error vocabulary and the OAuth effect kernel. |
atproto_client |
hex.pm | Transport-agnostic client: XRPC, identity, OAuth, blobs, repo CRUD. Dual-target. |
atproto_browser |
hex.pm | Browser-native OAuth + XRPC: WebCrypto DPoP/PKCE, async fetch. javascript-only. |
atproto_lexicon |
hex.pm | Bidirectional lexicon AST, source resolver, pinned cache with lockfile, semantic diff. |
atproto_codegen |
hex.pm | Generates Gleam types, JSON codecs, and a typed XRPC client from lexicons. |
atproto_mlf |
hex.pm | Parse and print mlf against the atproto_lexicon AST. |
atproto_sdl |
hex.pm | Prisma/GraphQL-inspired lexicon schema language over the same AST. |
atproto_openapi |
hex.pm | One-way OpenAPI 3.1.0 emitter from lexicons. |
atproto_repo |
hex.pm | Sans-io repo proofs: DAG-CBOR, CIDs, CAR, MST, commit signatures. Dual-target. |
atproto_space |
hex.pm | Sans-io Spaces: Space AT-URIs, OAuth space scopes, policies, XRPC builders. Dual-target. |
The lexicon toolchain (the json, mlf, and sdl front-ends and the codegen
and openapi back-ends) meets at the atproto_lexicon AST. Each package's
README and hexdocs carry the details.
The packages live under packages/ (each directory is the package name
without atproto_: atproto_client is packages/client), repo tooling under
scripts/, and repo-level docs (such as the release runbook) under docs/.
Versioning & releases #
Each package follows semver independently; while
pre-1.0, breaking changes bump the minor. make release PKG=<package> BUMP=<patch|minor|major> prepares a release PR; merging it publishes to Hex.
The release flow, the dependency-range rules,
and maintenance releases are in docs/releasing.md.