AT Protocol (Bluesky) building blocks for Quarkus: identity resolution, lexicon runtime and code generation, an XRPC client, and an OAuth client. Client side only in this milestone.
Minimum supported Quarkus: 3.40 (LTS). Status: experimental, version 0.1.
| Module | Artifact | Kind |
|---|---|---|
atproto-syntax |
atproto-syntax |
plain library |
atproto-lexicon-codegen |
atproto-lexicon-codegen |
plain library (JavaPoet generator) |
xrpc/api |
atproto-xrpc-api |
plain library |
lexicons/core |
atproto-lexicons-core |
lexicon pack (com.atproto.* subset) |
lexicons/standard-site |
atproto-lexicons-standard-site |
lexicon pack |
lexicons/bsky |
atproto-lexicons-bsky |
lexicon pack (app.bsky.*) |
identity |
quarkus-atproto-identity |
extension |
lexicon |
quarkus-atproto-lexicon |
extension |
xrpc |
quarkus-atproto-xrpc |
extension |
oauth |
quarkus-atproto-oauth |
extension |
test |
quarkus-atproto-test |
test support: FakeAtproto (PLC directory, authorization server, PDS), FakeDns |
integration-tests |
not published | sample application and end-to-end tests (login and link mode, JVM and native) |
bom |
quarkus-atproto-bom |
BOM |
Antora docs in docs/ (docs/modules/ROOT/pages): introduction, syntax types, identity, lexicons, XRPC and records,
OAuth, and the manual live check against Bluesky (the sample in dev mode,
signing in with a real account). Each module has a README; the extensions also ship a quarkus-skill.md for coding
agents.
- One sign-in in progress per browser. The login endpoint binds each started sign-in to the browser with a
short-lived cookie (
<session.cookie-name>-binding, path = the callback path, lifetimepending.ttl) that the callback must present (protection against login CSRF). There is one such cookie per browser, so when a user starts a second sign-in (for example in another tab) before finishing the first, the first one's callback fails with 401 and the user signs in again. - Refresh during an outage. Before spending a refresh token the extension checks that the session's
authorization server still protects the account's current PDS. When the DID directory or the metadata cannot be
reached, the call fails with
AtprotoTemporarilyUnavailableand the session is kept; retry later.
Depends on sibling checkouts installed to the local repository, in this order: multikey-java, quarkus-safe-fetch,
quarkus-did (quarkus-did depends on safe-fetch).
mvn -T 8 install
This runs the unit and extension tests and the sample's integration tests against the packaged jar. Native:
mvn -T 8 verify -Dnative -pl integration-tests -am \
-Dquarkus.native.additional-build-args=-J-XX:TieredStopAtLevel=1,--parallelism=8
Apache License 2.0.