package atproto

  1. Overview
  2. No Docs
Typed OCaml toolkit for the AT Protocol

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.0.2.tar.gz
sha256=50ebbbd412c55878005c39eac9493a4a3475882d43d64e685aed2164048320f2

Description

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

Added to opam-repository:

Dependencies (24)

  1. ppx_jane >= "v0.16.0" & < "v0.18~"
  2. zstandard >= "v0.16.0" & < "v0.18~"
  3. zarith
  4. mirage-crypto-rng >= "1.2.0"
  5. mirage-crypto-ec >= "1.2.0"
  6. digestif >= "1.1.2"
  7. jose
  8. lwt_ssl
  9. ssl
  10. cohttp-async
  11. cohttp-lwt-unix
  12. cohttp >= "5.1.0"
  13. httpaf-lwt-unix
  14. httpaf >= "0.7.1"
  15. h2-lwt-unix >= "0.10.0"
  16. h2 >= "0.10.0"
  17. lwt >= "5.6.1"
  18. ptime
  19. yojson
  20. uri >= "4.2.0"
  21. async >= "v0.16.0" & < "v0.18~"
  22. core >= "v0.16.0" & < "v0.18~"
  23. ocaml >= "4.14.1" & < "5.4"
  24. dune >= "3.11"

Dev Dependencies (2)

  1. odoc with-doc
  2. ounit2 with-test

Used by

None

Conflicts

None