An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Cephalopod [![CI](https://github.com/c-cube/cephalopod/actions/workflows/main.yml/badge.svg)](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
```