Skip to main content

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.

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.0.tar.gz (40.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_replay-0.1.0-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

Details for the file ai_replay-0.1.0.tar.gz.

File metadata

  • Download URL: ai_replay-0.1.0.tar.gz
  • Upload date:
  • Size: 40.9 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

Hashes for ai_replay-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9c726ddb0efc67c34953ca930723ae412ef8342405341c699e1e332c554a900c
MD5 168b92694ae6600ff445f7abbb39558f
BLAKE2b-256 56f174f6a718b4e034c3ab8e838d692a4d5c21f6ae07065da6286db453bbff33

See more details on using hashes here.

File details

Details for the file ai_replay-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ai_replay-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 44.7 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

Hashes for ai_replay-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6b7dd1b15ba19316353a7252bcdeab5582697cbda85c9445bea33cfd9cfb456
MD5 cd87eb4fd8b924e2d4fdd4d50ea8a44e
BLAKE2b-256 e09cdf04dd358ea9d7b53be3a768321e04833758059c5445c4af3ed142ff7f20

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page