~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

Compatibility: every PDS implementation, run through compat

Open
Open chadtmiller.com opened this issue 0 comments

Every PDS implementation found so far, to run through harness/compat.mjs (compat/README.md, "Adding an implementation"). Tick one once it has an adapter, a pin in bench/impls.json, and a run in compat/RESULTS.md.

Sources: threddyrex/atproto-links, zds's docs/references.md, atproto.com self-hosting, and searches. Each one's shape (multi-account or one account) comes from each project's own description; check it when writing the adapter. A server that hosts one account runs in the one-account mode (spec/COMPAT.md, "One account").

In the compatibility check

  • spec-pds: Rust, this repository
  • zds (zat.dev/zds): Zig, multi-account
  • vlpds (jazware/vlpds): Rust, multi-account, S3 storage
  • pds.js (chadtmiller.com/pds.js): JavaScript (Node, Deno, Workers), one account. In the pull at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/spec-pds/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3mzxwnza5uizc

The reference (bluesky-social/pds, @atproto/pds) is the baseline every run compares against.

Active

  • rsky-pds (Blacksky): Rust, multi-account, part of the rsky workspace
  • tranquil-pds: Rust, multi-account, named on atproto.com; passkeys, delegation
  • cocoon: Go, multi-account, named on atproto.com; moved from tangled to GitHub
  • cirrus (@getcirrus/pds): TypeScript, one account, Cloudflare Worker, Durable Object and R2; needs a local Workers runtime (wrangler/miniflare)
  • arroba: Python, multi-account, the PDS library behind Bridgy Fed
  • pegasus: OCaml, compact; zds's architecture reference
  • atproto-pds (in atproto-crates): Rust, OAuth 2.1 provider and spaces; operator guide
  • alteran: TypeScript, Cloudflare Workers
  • dnproto: C#
  • rustproto: Rust
  • micropod: JavaScript
  • metalbear: C
  • ezpds: Rust
  • pesque: Elixir, announced on the Elixir Forum about a month ago
  • @dwk/atproto-pds: TypeScript, one account, Cloudflare Worker and Durable Object; beta and unreleased; did:web by default, did:plc opt-in
  • distributed-pds: experimental, distributed
  • bluepds: Rust, after millipds; check whether still maintained
  • wickwork.cafe "a teaching port": TypeScript, multi-account, TanStack Start and Postgres; source repository not found yet
  • atprotify.me (notes): Cloudflare; source not found yet

Not a server: ocaml-pds is storage only (repositories over SQLite/irmin), with no XRPC to compare.

Archived or inactive

Low priority; run one only if it still builds.

What each needs

  • Pin: a release image by digest, or a repository and commit with a Dockerfile (bench/README.md).
  • Adapter in harness/lib/adapters.mjs, with every setting it cannot be given listed in unsupported, with why. Its signIn drives the server's own OAuth page.
  • One-account servers (cirrus, @dwk/atproto-pds) also need claim and password.
  • Workers-only servers (cirrus, alteran, @dwk/atproto-pds) need a local runtime in Docker first.