atprotoversion Documentation on ocaml.org
Typed OCaml toolkit for the AT Protocol
Typed OCaml toolkit for the AT Protocol. Resolve identities, read and write repositories, follow the firehose, and call AppView, Ozone, and hosted Bluesky products (chat, video, Jetstream) from one library. Protocol pieces — XRPC, CID/CAR/MST, lexicons, OAuth/DPoP — are implemented here, not left as raw HTTP.
This package is a client. It does not host a PDS, chat service, video transcoder, Tap, SMS gateway, or push backend. An HTTP/2 TLS client is included for XRPC calls that need status and response headers.
Public modules include Auth, Session, Actor, Feed, Graph, Bookmark, Video, Unspecced, Labeler, Chat, Ozone, Admin, Repo, Repo_sync, Server, Identity, Did_plc, Did_web, Did_key, Sync, Cid, Car, Dag_cbor, Mst, Tid, At_uri, Lexicon, Temp, Firehose, Websocket, Jetstream, Oauth, Oauth_scope, Label, Xrpc, Error, Syntax, Embed, Facet, Records, Notification, Draft, Contact, Ageassurance, Moderation, Site, Germnetwork, Http_client, Request, Response, and experimental Lt_hash / Space_commit / Space_credential / Space_xrpc / Space_sync / At_uri.Space (proposal 0016 commit digest, deniable signed commits, space URIs, space-credential JWT / DPoP, draft com.atproto.space.* XRPC helpers, and local oplog / two-root CAR apply; not a spaces product API). Password chat clients send atproto-proxy (default did:web:api.bsky.chat#bsky_chat, the session DID-document #bsky_chat service, or ATP_CHAT_DID). OAuth DPoP cannot be proxied; list_convos_service / get_messages_service / send_message_service call api.bsky.chat with a getServiceAuth JWT.
Video support is a client for the hosted video service (byte upload + job-status poll). This package does not host an OAuth client-metadata document or browser login.
| Tags | atproto bluesky xrpc lexicon |
|---|---|
| Author | david-engelmann <david.engelmann44@gmail.com> |
| License | MIT |
| Published | |
| Homepage | https://github.com/david-engelmann/atproto |
| Issue Tracker | https://github.com/david-engelmann/atproto/issues |
| Documentation | https://david-engelmann.github.io/atproto/ |
| Maintainer | david-engelmann <david.engelmann44@gmail.com> |
| Available | arch != "arm32" & arch != "x86_32" |
| Dependencies |
|
| Source [http] | https://github.com/david-engelmann/atproto/archive/refs/tags/1.0.2.tar.gz sha256=50ebbbd412c55878005c39eac9493a4a3475882d43d64e685aed2164048320f2 |
| Edit | https://github.com/ocaml/opam-repository/tree/master/packages/atproto/atproto.1.0.2/opam |


