Convert Claude Code, Cursor, and Codex CLI session transcripts to interactive HTML replays
Project description
ai-replay
Convert Claude Code, Cursor, and Codex CLI session transcripts to interactive HTML replays.
Python port of claude-replay by es617 (original JavaScript version).
Installation
uv tool install ai-replay
Usage
# Generate HTML replay from a session file
ai-replay session.jsonl -o replay.html
# Generate from a session ID (auto-discovered)
ai-replay <session-id> -o replay.html
# Extract turns from a generated replay
ai-replay extract replay.html
# Serve replay on local HTTP server
ai-replay session.jsonl --serve --port 4000
Options
-o, --output FILE: Output HTML file (default: stdout)--title TEXT: Custom page title--theme NAME: Color theme (default: tokyo-night)--no-redact: Disable automatic secret redaction--open: Open in browser after generating--no-compress: Embed raw JSON instead of compressed--serve: Serve on a local HTTP server--port INTEGER: Port for --serve (default: 4000)--turns TEXT: Turn range filter (e.g. "1-10")--exclude TEXT: Exclude specific turns (e.g. "3,7")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ai_replay-0.1.1.tar.gz
(41.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ai_replay-0.1.1-py3-none-any.whl
(44.9 kB
view details)
File details
Details for the file ai_replay-0.1.1.tar.gz.
File metadata
- Download URL: ai_replay-0.1.1.tar.gz
- Upload date:
- Size: 41.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b5d4c6aa541164558e767d4e6cce5e241c9deb7c346cdf7ce5e27cdde78bf4c
|
|
| MD5 |
bd108965804ee16ea17fab88c8aea5e3
|
|
| BLAKE2b-256 |
a012569bea7c4c24db6ff2c043bcc8855713e29cb25fd1afb7449219b8dccdc0
|
File details
Details for the file ai_replay-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ai_replay-0.1.1-py3-none-any.whl
- Upload date:
- Size: 44.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
938252825d1f9e5d0d354b5020bec5e1857fa567a606263ef43f2b85c912cf30
|
|
| MD5 |
8c12eb5ef7c24137332a8fa6fffacc16
|
|
| BLAKE2b-256 |
50f43843d09de8726d43f22115bfe6982d64a753136d27b879e672cbd8f782cd
|