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 |
--no-thinking |
Hide thinking blocks |
--no-tools |
Hide tool sections |
--no-diffs |
Hide diff content |
--no-gaps |
Hide time gap markers |
--code-font NAME |
Font (default: Source Code Pro) |
--font-size N |
Base size in px (default: 15) |
--full-output |
No truncation on tool output |
--strict |
Fail on malformed JSONL |
--redact |
Redact PII (emails, IPs, paths, API keys, env vars) |
--share |
Redact PII, hide cost/thinking/timestamps/tool output |
Python 3.8+. No required dependencies.
