Skip to main content

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.

How Logbook works

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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_info before it is read.
  7. 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.
  8. Reveal, never reward. No feed, no followers, no likes, no counts, no streaks, no ranking. The one evening question can be ignored forever.
  9. 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.
  10. 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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openlogbook 0.6.1
File Size Uploaded Provenance Actions
openlogbook-0.6.1.tar.gz 2.7 MB With provenance Details for openlogbook-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openlogbook 0.6.1
File Interpreter ABI Platform Actions
openlogbook-0.6.1-py3-none-any.whl Python 3 none any Details for openlogbook-0.6.1-py3-none-any.whl

Total release size: 3.8 MB

Release files / openlogbook-0.6.1.tar.gz

Download URL openlogbook-0.6.1.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
06dc763bb94a1019d1e9c9053b79e8593a29ad793f3a75328c60f7e987dfc61b
BLAKE2b-256 checksum
How to use checksums
b5e92b1717c3d3ef2ea9f6ea24d3651e5445d69a3432b654047c804250a6e78c
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 10, 2026.

Transparency log

Release files / openlogbook-0.6.1-py3-none-any.whl

Download URL openlogbook-0.6.1-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
fda2ae7d3dfa7173c77f37b518feffbb1e01a1fe449fbc672e34e35aac4641ca
BLAKE2b-256 checksum
How to use checksums
910c173b08123a341769c86469622451e7dea697d511fad3540d528d7af9b228
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 10, 2026.

Transparency log

Security for openlogbook 0.6.1

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.

Select from 2 files

Attestation for openlogbook-0.6.1.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 10, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page