Render Claude Code and Codex AI session transcripts as standalone, browsable HTML (more agent support WIP).
pip install orjson cmarkgfm # optional: faster JSON + better markdown
./claude-transcript -a # render all to ~/claude-transcripts/
./codex-transcript -a # render all to ~/codex-transcripts/
./claude-transcript --recent 5 # most recent 5
./claude-transcript session.jsonl -o output.html # single file- Search — search across turns, auto-expands matching tool calls
- Sidebar TOC — see all rendered transcripts via
-aor--recent N - Parallel — renders all sessions fast ⚡
| Flag | Effect |
|---|---|
-a / --all |
Render all transcripts |
--recent N |
Most recent N |
-j N |
Parallel workers |
--expanded |
All turns expanded |
--wide / --narrow |
1600px / 800px layout |
--hide SECTION... |
Hide sections: thinking, tools, diffs, cost, timestamps, icons, compactions, toc |
--code-font NAME |
Font (default: Source Code Pro) |
--font-size N |
Base size in px (default: 15) |
--full-output |
No truncation on tool output |
--redact |
Redact PII (emails, IPs, paths, API keys, env vars) |
Python 3.8+. No required dependencies.
