← Back to Leaderboard
Ces617

es617/claude-replay

A local Node.js tool that turns coding-agent logs into embeddable HTML replays

Engineering Health (Methodology)
A · 83/100
Maintenance Activity
● Updated 21d ago
Latest Release
v0.11.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance31/35
Fork Adoption15/25
Release Cadence17/20
License Clarity20/20
DockerSelf-HostedCLI
Total Stars
★ 862
24h Growth
+0
7d Growth
+1
Forks
69

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

es617/claude-replay Star History (2026-03-05 - 2026-12-03) ALL-TIME STAR HISTORY (2026-03 – 2026-12) +861 in 273d · avg +3/day 910 455 0 2026-03-05: ★ 12026-03-28: ★ 5672026-04-18: ★ 6262026-05-09: ★ 6672026-05-30: ★ 6932026-06-20: ★ 7272026-07-11: ★ 7412026-08-01: ★ 7842026-08-22: ★ 8132026-09-12: ★ 8272026-10-03: ★ 8372026-10-24: ★ 8462026-11-10: ★ 8572026-12-03: ★ 862 ★ 862 2026-03 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

claude-replay is a JavaScript transcript converter with a CLI, a local web editor, and a standalone browser player. Its parser handles streamed Claude Code JSONL records and groups user messages, assistant content, tool calls, and tool results into turns. Other inputs, such as Gemini CLI's single-file JSON, are normalized into the same structure. Mappings such as Codex CLI's apply_patch to Edit or Write let different sources reuse the player's diff views.

The renderer compresses turn data with deflate, base64-encodes it, and injects it into an HTML template. The vanilla JavaScript player uses the browser's DecompressionStream API rather than fetching data from a backend. There are no npm runtime dependencies; esbuild is used at build time to minify the template. Integration happens through transcript files, session IDs, or supported local stores. Despite the catalog category, this is not an MCP server.

Key Capabilities & Differentiators

The converter handles sessions from Claude Code, Cursor, Codex CLI, Gemini CLI, OpenCode, Kimi Code, and Hermes Agent. OpenCode requires a CLI export; Hermes accepts exports or can read its local SQLite store directly on a compatible Node version. Up to 20 inputs can be combined: turns are sorted by time when all sessions have timestamps, otherwise the inputs are kept in command-line order. Cursor logs lack timestamps, so they use synthetic pacing by default.

The editor previews changes without modifying the originals and lets users select turns, edit user prompts, add chapters, and configure redaction. The player adds speed controls, collapsible tool and thinking blocks, and a file activity sidebar that jumps to the corresponding tool calls. --pacing paced-wording reveals prose word by word at 80–600 WPM, with a default of 238 WPM, while revealing fenced code as a single block. extract recovers normalized turns and bookmarks for re-export; --serve --watch supports live monitoring.

Trade-offs & Limitations

Compared with a screen recording, a replay is easier to navigate by chapter, turn, or tool call, but it cannot show desktop or IDE activity absent from the transcript. Compared with raw logs, it is easier to present and embed, but normalization, editing, and synthetic timing make it a presentation artifact rather than a faithful audit record. A single HTML file removes the need for a playback backend, but larger sessions still produce more data for the browser to load, decompress, and render.

A replay is also a data disclosure surface: its embedded turns can be extracted, and hiding tool calls or thinking blocks by default is a display setting, not a privacy control. Use automatic redaction and explicit replacement rules, then inspect the exported data for sensitive source code, paths, and secrets before publication. For shared hosting, treat the editor differently from static exports: it browses mounted session directories and should not be exposed to untrusted users.

Hardware & Deployment Guide

Install with npm install -g claude-replay or run with npx claude-replay. The baseline is Node.js 18+, and running the command without arguments starts the web editor on 127.0.0.1 by default. Use claude-replay <path-or-session-id> -o replay.html for CLI conversion. No model runtime, API credentials, or separate database service is needed. Once generated, the HTML can be opened locally or served as a static file without Node.js on the viewer's side.

The container uses node:22-alpine, installs the npm package globally, exposes port 7331, and binds the app to 0.0.0.0. Mount transcript directories read-only and use a separate writable output mount for CLI exports. To keep the Docker editor local, publish with -p 127.0.0.1:7331:7331. The release sequence added Kimi Code support in v0.9.0, word-by-word pacing in v0.10.0, and Hermes support in v0.11.0. Direct Hermes SQLite access needs Node.js 22.5+ for node:sqlite; exported Hermes files work on the Node.js 18+ baseline.

Format adapters: Auto-detects logs or exports from Claude Code, Cursor, Codex CLI, Gemini CLI, OpenCode, Kimi Code, and Hermes Agent.
Playback runtime: Embeds deflate-compressed, base64-encoded turn data in HTML and unpacks it with the browser's DecompressionStream API.
Session stitching: Combines up to 20 inputs and sorts turns chronologically only when all sessions have timestamps.
Playback timing: Supports transcript timestamps and synthetic pacing; word-by-word prose reveal is configurable from 80 to 600 WPM.
Editing and export: The local editor previews in-memory edits without changing source logs; extract recovers normalized turns and bookmarks.
Hermes integration: v0.11.0 reads main and per-profile SQLite databases via Node.js 22.5+ or accepts exported session files.
Best For

Teams turning coding-agent transcripts into navigable documentation, demos, bug reports, or training material without operating a playback backend.

Skip If

You need full desktop capture, an MCP server, or an auditable record that preserves the original event stream.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedCLI
npm install -g claude-replay

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
claude-replay ★862+1JavaScriptMITA local Node.js tool that turns coding-agent logs into embeddable HTML replays
cc-switch159.1k+1.7kRustMITTauri desktop manager for AI coding providers, local routing, and MCP config
herdr54.1k+871RustApache-2.0Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces
magpie45.5k+2.9kGoMITA local API gateway that pools model subscriptions across coding agents

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/es617/claude-replay.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

es617/claude-replay Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about claude-replay

How do I embed a replay in existing documentation?

Generate the HTML locally, then link to it or embed it in an iframe. The player and compressed turn data are bundled in the file, so playback needs neither a replay server nor access to the original transcript. The viewer's browser must support DecompressionStream.

Does replay generation require a GPU, and how should I size it?

No GPU or model runtime is needed. Node.js parses and packages the logs, and the browser decompresses and renders the replay. For long sessions or combined exports, measure generation memory, HTML size, and browser load time with representative logs before standardizing the workflow.

Can a company self-host the tool and publish its exports?

Yes. The MIT license permits commercial use and self-hosting, subject to its notice requirements when redistributing the software. It does not grant rights to publish source code, prompts, or other material in a transcript. Review both the visible replay and its extractable data before sharing.

When is this a better choice than a screen recording or raw log?

Choose a replay when readers need to pause, jump to chapters, or inspect tool activity. Use a screen recording when visual context outside the transcript matters, and retain raw logs when exact source events and format matter more than presentation. An exported replay is not a substitute for the original transcript.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining es617/claude-replay? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature es617/claude-replay on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare