Logbook
A diary that writes itself.
Your life already gets recorded, by your phone, your photos, your calendar, your messages. Logbook writes it all down once, in one folder that only you hold, and reads it back to you as days. You hand a page to someone you care about; they hand one back.
It is the opposite of social media: no feed, no followers, no likes, no counts. Reveal, never reward. Nothing leaves without a name.
brew install bighydro/logbook/logbook # Mac, with Homebrew
pipx install openlogbook # Linux; or anywhere Python is: uv tool install openlogbook
pipx install openlogbook # Windows, in Terminal, once pipx is there; the steps: docs/install.md
logbook demo --out ~/Demo/Logbook # a month of a person who does not exist, every profile
export LOGBOOK_HOME=~/Demo/Logbook
logbook show trips # a cabin weekend, Zürich, a week aboard, Copenhagen
logbook day 2026-06-17 # one day read back: nights, stays, who was there, health
logbook verify # the chain is intact
Never opened a terminal? docs/install.md walks through the install on each platform and says what the screen will show.
Then your own: logbook setup asks one question at a time (the first hour), or logbook init makes the folder and your key, logbook add ~/Downloads/takeout.zip reads any export without flags, and logbook show today reads it back. Docker and Nix are in the tour.
What it does
The record. Everything that happened to you, written once, as JSON lines in files you own. One file per month, every line hash-chained to the one before, nothing ever edited or pruned. Fifty-odd adapters read the exports and app stores you already have: Google Takeout, an iPhone backup, Apple Health, Photos, WhatsApp, iMessage, mail, calendars, flights, music, money, boats and aircraft. Live sources (sync) write the same line for the same event, so backfill and live never duplicate. What a tier 2 or 3 line says can be sealed at rest with age to keys only you hold; the chain verifies without any key (sealing, RFC 0029).
The recount. The record reads your life back to you without your effort. day is one calendar day: the night, the stays, who was there, health, weather, what you wrote. show trips finds runs of nights away; show year composes a year; digest is the day in 25 lines with one question you may ignore; rollup, rollup ledger, people, promises, promises tasks and search each read one aspect. serve shows it in a browser on this machine, show year --print lays it out for paper, export vault renders it for Obsidian or Logseq, export site renders it as static HTML with nothing fetched (the demo persona's forty years are browsable that way at bighydro.github.io/logbook/ines/), and serve mcp serves it to an agent on this machine behind a tier gate. lab runs readers still finding their shape, read-only and with their blind spots written down (docs/labs.md).
The circle. export share day and export trip-bundle write a signed bundle of one day or one trip for a named person; import page checks the signature and keeps their side beside your record, never in its chain. Two logbooks, one shared moment, each side its own words and photos.
Nothing here needs the app to make sense: open the files in any editor twenty years from now. The format is one page, SPEC.md, and a second implementation written from it alone, logbook-ts, agrees with this one on every record either writes.
The ten rules
- Append only. Every line is hash-chained to the one before. Nothing is updated or deleted; a correction is a new line that retracts an old one. A broken chain is an error, never repaired silently.
- Files are the truth. The record is a folder of JSON lines and Markdown. Any database is a cache that can be thrown away and rebuilt.
- One log. Every source writes into the same record. Days, trips, people and places are derived from it and recomputed when the rules improve; they are never the source of anything.
- Nothing leaves without a name. There is no server and no account. A share is a signed page handed to one named person, and the policy file says how much each person may receive.
- Reading never opens a connection. Every reader touches the record and the tables shipped in the package, nothing else. A socket opens only behind a command that says so, and a test enforces it.
- Adapters are pure. Export in, observations out. No network on the default path, no write to the source, and every app store is checked with
PRAGMA table_infobefore it is read. - Every line has a tier. 1 is where you were, 2 is what you said, 3 is money and health. Derived data inherits the highest tier of its evidence, tiers 2 and 3 cross to no one by default, and a record with recipients seals them at rest.
- Reveal, never reward. No feed, no followers, no likes, no counts, no streaks, no ranking. The one evening question can be ignored forever.
- Humans write, agents operate. An agent may import, derive and draft. A note, a confirmation and a visibility decision are the owner's alone, enforced in the lowest layer.
- The spec is the product. The envelope changes only with a version bump, a regenerated conformance fixture and a decision record, and two independent implementations must agree before 1.0 is frozen.
Where to go next
| You want to | Read |
|---|---|
| install it, one line on each platform | Install |
| try it in five minutes, nothing of yours | Try it |
| set up your own record, one question at a time | The first hour |
| see every command on your own record | The tour, the 22 commands |
| find every page | The docs, also at https://bighydro.github.io/logbook/ |
| understand the format, or implement it | SPEC.md, conformance/, the RFCs |
| know how the pieces fit | ARCHITECTURE.md, the decisions |
| know why, and what it refuses to have | VISION.md, LORE.md |
| know who decides, what is still unsolved, and read the letters | GOVERNANCE.md, PROBLEMS.md, the letters |
| know what shipped and what is next | Release notes, CHANGELOG.md, ROADMAP.md |
| write an adapter for the export you already have | CONTRIBUTING.md, the bounties |
| report a vulnerability, or read the threat model | SECURITY.md |
Implementations
| Implementation | Language | Status |
|---|---|---|
| openlogbook (this repository) | Python | reference |
| logbook-ts | TypeScript | independent, written from the spec alone |
Both reproduce the conformance head in conformance/expected.json (Level 1), and CI appends a line with one and verifies it with the other on every pull request. Level 2, the sealed sample conformance/sample-logbook-sealed opened with the published fixture identity (conformance/expected-sealed.json), is the reference's so far; logbook-ts's Level 2 is the next step of RFC 0029 §14. Level 2, the sealed sample conformance/sample-logbook-sealed with its published identity, is the reference's so far (SPEC §6).
Status
Format logbook/0.3, package 0.6.0, status alpha. The record, the readers, sharing by file and sealing of tiers 2 and 3 at rest all ship; a transport for the circle is the next format work (ROADMAP.md).
Apache-2.0 for code. The specification is CC0.
Metadata
Release files for openlogbook 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openlogbook-0.6.0.tar.gz | 2.6 MB | With provenance | Details for openlogbook-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openlogbook-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for openlogbook-0.6.0-py3-none-any.whl |
Total release size: 3.5 MB
Release files / openlogbook-0.6.0.tar.gz
| Download URL | openlogbook-0.6.0.tar.gz |
|---|---|
| Size | 2.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39a0aed9b51cd2000de6915f9603f98dbaf7e716bc4a00f88685ed29d3329c2b
|
|
BLAKE2b-256 checksum How to use checksums |
a8fed8700d09ebe1d850e72b1dc088e65c1513fcadc1f78a1ea5161c5b225c89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency logRelease files / openlogbook-0.6.0-py3-none-any.whl
| Download URL | openlogbook-0.6.0-py3-none-any.whl |
|---|---|
| Size | 952.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b78aa737a30c67b82d873951c23cf40d4a7b39bf372d4fec087ccccb3827d03e
|
|
BLAKE2b-256 checksum How to use checksums |
7c47be2f3a570fc96718582ed28ad7f6e3092b2de6c2e25e6074621dfea95c9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency logSecurity for openlogbook 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for openlogbook-0.6.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.