Sharing an AI coding session has always been awkward. Screen recordings balloon in file size, and the raw JSONL transcripts that Claude Code and Cursor write to disk are effectively unreadable for anyone who isn't the developer who ran them. A new open-source tool called claude-replay takes a different approach: it converts those transcripts into polished, self-contained HTML files that behave like interactive video players.
Released as a zero-dependency npm package, claude-replay auto-detects the source format — reading from ~/.claude/projects/ for Claude Code or ~/.cursor/projects/ for Cursor — and renders the full session as a navigable replay. The generated files include playback speed controls, collapsible tool-call panels, bookmarks, chapter markers, and multiple color themes, all bundled into a single HTML file that can be hosted statically, emailed, or embedded via iframe with no external runtime dependencies. Thinking blocks are surfaced inline, giving viewers visibility into the model's reasoning at each step.
The tool includes a few features aimed at real-world sharing scenarios. An extract sub-command lets developers recover structured turn data from a previously generated HTML replay when the original JSONL has been deleted — a practical safeguard against transcript loss. Automatic and manual secret redaction strips out API keys and other sensitive strings before the file leaves the developer's machine. Intended use cases span blog posts, technical documentation, reproducible demos, bug reports, and educational walkthroughs. The project is independently developed and explicitly not affiliated with Anthropic.