https://github.com/c-cube/cephalopod
[incomplete] OCaml libraries to deal with dasl.ing and ATproto.
https://github.com/c-cube/cephalopod
atproto bsky dasl ocaml
Last synced: 7 months ago
JSON representation
[incomplete] OCaml libraries to deal with dasl.ing and ATproto.
- Host: GitHub
- URL: https://github.com/c-cube/cephalopod
- Owner: c-cube
- Created: 2024-12-25T17:39:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-28T03:40:47.000Z (10 months ago)
- Last Synced: 2025-09-29T19:52:18.317Z (8 months ago)
- Topics: atproto, bsky, dasl, ocaml
- Language: OCaml
- Homepage: https://c-cube.github.io/cephalopod/
- Size: 6.78 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cephalopod [](https://github.com/c-cube/cephalopod/actions/workflows/main.yml)
An incomplete collection of tools to deal with ATproto and bluesky, in OCaml.
Currently, it has:
- `cephalopod`: a core library with the core types (dCBOR42, encoding to/from CBOR and JSON, CAR)
- `cephalopod.lexicon`: lexicon schemas a code generator that parses lexicon schemas and generates OCaml types
- `cephalopod-models`: code generated from the bsky and atproto lexicons
- `cephalopod-firehose-client`: a small tool to read from the firehose, mostly used for
testing purpose so far.
The main part is really the core library and the lexicon-based code generator.
## Read from the firehose
```sh
$ ./scripts/firehose_client.sh --uri https://bsky.network/xrpc/com.atproto.sync.subscribeRepos
```