es617/claude-replay

703 stars · Last commit 2026-05-03

Convert AI coding agent sessions (Claude Code, Cursor, Codex, Gemini, OpenCode) into self-contained, embeddable HTML replays

README preview

# claude-replay

![npm](https://img.shields.io/npm/v/claude-replay)
![Claude Code](https://img.shields.io/badge/Claude_Code-replay-blue)
![Cursor](https://img.shields.io/badge/Cursor-replay-purple)
![Codex CLI](https://img.shields.io/badge/Codex_CLI-replay-green)
![Gemini CLI](https://img.shields.io/badge/Gemini_CLI-replay-orange)
![OpenCode](https://img.shields.io/badge/OpenCode-replay-red)
![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)
![Node.js](https://img.shields.io/badge/node-18%2B-green.svg)
![Zero Dependencies](https://img.shields.io/badge/dependencies-0-brightgreen)

> Community tool — not affiliated with or endorsed by Anthropic.

AI coding sessions are great for development, but hard to share. Screen recordings are bulky and transcripts are hard to navigate.

**claude-replay** turns Claude Code, Cursor, Codex CLI, Gemini CLI, and OpenCode session logs into interactive, shareable HTML replays. The generated replay is a single self-contained HTML file with no external dependencies — you can email it, host it anywhere, or embed it in documentation. Use `--serve --watch` to monitor agent sessions live as they run.

![Demo](https://raw.githubusercontent.com/es617/claude-replay/main/docs/demo.gif)

View full repository on GitHub →