Claude Transcripts documentation
Self-hosted history for Claude Code sessions. A hook records every session to your own CouchDB and S3-compatible storage; a web API serves it back to a web UI, a CLI and agents. Nothing leaves your machine unless you point it at services elsewhere.
Work in progress, not tested as ready for use. Breaking changes land without notice, stored data may need discarding between versions, and there is no auth: it assumes one user on one trusted machine.
curl -fsSL https://raw.githubusercontent.com/vredchenko/claude-transcripts/main/install.sh | sh
| To... | Read |
|---|---|
| install it | Installation |
| change ports, stores, feature flags | Configuration |
| wire the hook by hand | Hook setup |
| know what the banner and statusline are telling you | In Claude Code |
| browse and search your history | The web UI, Search |
| script against it, or point an agent at it | From the terminal, The API |
| open it from your phone, install it as an app | HTTPS and installing the web UI |
| back up, restore, mirror | Migrations, export and import, Mirrors |
| adopt sessions from before you installed | Backfill |
| look up a command, route or stored document | CLI, HTTP routes, CouchDB documents |
| understand how it fits together | Architecture |
| work on the code | Contributor docs |
These pages, the ones for people running Claude Transcripts, are published at vredchenko.github.io/claude-transcripts/docs and served by every instance at /docs. The contributor docs are read in the repository.
Getting started
Install it, point it at your stores, and record your first session.
Using it
What a recorded session shows you, and the ways to read history back.
Operations
Running an instance: containers, HTTPS, backups, mirrors, backfill.
Reference
Every command, route, hook event and stored document.
How it works
The parts, the data flow between them, and what each store holds.