Skip to content

forhadahmed/ai-transcript

Repository files navigation

Render Claude Code and Codex AI session transcripts as standalone, browsable HTML (more agent support WIP).

screenshot

Quick Start

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

Features

  • Search — search across turns, auto-expands matching tool calls
  • Sidebar TOC — see all rendered transcripts via -a or --recent N
  • Parallel — renders all sessions fast ⚡

Flags

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

Requirements

Python 3.8+. No required dependencies.

About

Render Claude Code and Codex session transcripts as shareable HTML

Resources

Stars

Watchers

Forks

Packages