Server tools to backfill, tail, mirror, and verify PLC logs
Rust 100.0%
35 3 3

Clone this repository

https://tangled.org/microcosm.blue/Allegedly https://tangled.org/did:plc:lulmyldiq4sb2ikags5sfb25/Allegedly
git@tangled.org:microcosm.blue/Allegedly git@tangled.org:did:plc:lulmyldiq4sb2ikags5sfb25/Allegedly

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
readme.md

Allegedly#

Some public ledger server tools and services

Allegedly can

  • Tail PLC ops to stdout: allegedly tail | jq

  • Export PLC ops to weekly gzipped bundles: allegdly bundle --dest ./some-folder

  • Dump bundled ops to stdout FAST: allegedly backfill --source-workers 6 | pv -l > /ops-unordered.jsonl

  • Wrap the reference PLC server and run it as a mirror:

    allegedly mirror \
      --bind 0.0.0.0:8000 \
      --wrap http://127.0.0.1:3000 \
      --wrap-pg "postgresql://postgres:postgres@localhost:5432/postgres"
    

(add --help to any command for more info about it)

also can:

install#

for now you'll need rust installed locally. after cloning, run

cargo install --path . --bin allegedly