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.

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.2.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.2-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ai_replay-0.1.2.tar.gz
  • Upload date:
  • Size: 40.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ai_replay-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1c38b9dff43965eb69338506d5938670478fe6c962de299c3c42709b4776453a
MD5 30ac4cbd8855aa07741098b0fdd95a66
BLAKE2b-256 7af61c9bdebea36475baa9acbbc17bd01716c35377b64889b058059832813f57

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_replay-0.1.2.tar.gz:

Publisher: cicd.yml on yanndebray/ai-replay

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: ai_replay-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 44.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ai_replay-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 95c2f9c39bc36d5b69132b505f9a30a0390f7c0edea20146e44d599473b18ccd
MD5 6f75381b302f082f9436502bf0840c0a
BLAKE2b-256 08de1d4a2e8a9ad690464b2a1b305f83fa032988fa3e729e0c6c5981f7912980

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_replay-0.1.2-py3-none-any.whl:

Publisher: cicd.yml on yanndebray/ai-replay

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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