ledger / README.md
yuntian-deng's picture
snapshot 2026-05-10T22:09:17Z
0e66816 verified
---
license: mit
pretty_name: append.page ledger
tags:
- feedback
- append-only
- public-ledger
---
# appendpage/ledger
Public mirror of every page on [append.page](https://append.page), pushed
roughly every 10 minutes when any chain changes.
For each page slug `<slug>` you get two files under `pages/`:
- `pages/<slug>.jsonl` — the JCS-canonicalized hash chain (one entry per
line, hash-committed to its predecessor). Any later edit, deletion, or
reorder is mathematically detectable by anyone who kept a prior snapshot
(this dataset is one such copy — HuggingFace also keeps full Git history).
- `pages/<slug>.bodies.jsonl` — the actual post text + per-entry salt, in
the same row order as the chain. Erased entries appear with `body: null`
and `erased: true`; `salt` is still present so anyone with a private
archive of the body from before erasure can re-verify it offline.
## Verify a page in one command
Chain only:
```bash
python verify.py pages/advisors.jsonl
```
Chain plus every body commitment (the full integrity check):
```bash
python verify.py pages/advisors.jsonl --with-bodies pages/advisors.bodies.jsonl
```
Exit code `0` means the chain is intact AND every non-erased body
satisfies `SHA-256(salt || body) == entry.body_commitment`. The verifier
is self-contained Python (stdlib + the `jcs` package for RFC 8785
canonicalization) and ships in this repo.
## Load into Python
```python
import json
with open("pages/advisors.jsonl") as f:
entries = [json.loads(line) for line in f if line.strip()]
with open("pages/advisors.bodies.jsonl") as f:
bodies = [json.loads(line) for line in f if line.strip()]
print(len(entries), "entries,", sum(1 for b in bodies if not b["erased"]), "live bodies")
```
## Docs
- Wire format + API + verifier model: <https://append.page/AGENTS.md>
- Machine-readable spec: <https://append.page/api/spec.json>
## Source
- Backend: <https://github.com/appendpage/appendpage>
- Frontend: <https://github.com/appendpage/web>
- License: MIT
Run by [@da03](https://github.com/da03).
Last auto-generated: 2026-05-10T22:09:16Z