HeadlinesBriefing favicon HeadlinesBriefing.com

Claude Replay: Turn AI Sessions into Shareable HTML Demos

Hacker News •
×

A developer has built claude-replay, a CLI tool that converts Claude Code session transcripts into interactive HTML replays. The tool addresses the common problem of sharing AI-assisted development sessions, which typically requires bulky screen recordings or hard-to-navigate text transcripts.

Claude Code already stores full session logs locally as JSONL files containing prompts, tool calls, thinking blocks, and timestamps. claude-replay parses these files and generates a single self-contained HTML file that works like an interactive terminal session. Users can step through the conversation, jump to specific timestamps, expand tool calls, and inspect the full conversation flow.

The output requires no external dependencies and can be embedded in blog posts, documentation, or bug reports. Features include playback controls, multiple color themes, automatic secret redaction, and keyboard shortcuts for navigation. The tool is available via npm or can run directly with npx for zero-installation use.