3 min read
[AI Minor News]

Transforming Claude Code into 'Videos'! Introducing the Interactive Replay Tool 'claude-replay'


A community tool has emerged that converts session logs from Claude Code into a single HTML file that can be played back in the browser. It also visualizes thought processes and tool executions.

※この記事はアフィリエイト広告を含みます

[AI Minor News Flash] Transforming Claude Code into ‘Videos’! Introducing the Interactive Replay Tool ‘claude-replay’

📰 News Overview

  • The ‘claude-replay’ tool has been released, which converts session logs from Claude Code (in JSONL format) into a single HTML file that can be played back interactively.
  • The generated HTML is free from external dependencies, making it easy to share via email attachments, embed in documents, or host on the web.
  • It features adjustable playback speed, the ability to expand and collapse thinking blocks and tool execution results, and bookmarking capabilities.

💡 Key Points

  • Utilizing Local Logs: It reads conversation histories stored in ~/.claude/projects/ and recreates them with a terminal-style UI.
  • Advanced Customization: Users can choose from multiple color themes (like Tokyo Night, Dracula, etc.), extract specific turns, and even automatically redact sensitive information.
  • Efficiency in Sharing: It provides a lightweight, interactive replay as an alternative to heavy screen recordings or difficult-to-read text logs.

🦈 Shark’s Eye (Curator’s Perspective)

It’s groundbreaking to visualize sessions of Claude Code, including the “thought processes,” so vividly! Instead of just exporting logs, you can actually “experience” how the AI thinks and rewrites code by pressing the play button. The implementation of a self-contained HTML output, with no external libraries required, is fantastic! This means it can be easily embedded in documents, significantly improving the quality of bug reporting and demo sharing within development teams!

🚀 What’s Next?

There’s a possibility that the method of showcasing code evolution through replay will become standard in technical blogs and documents by AI engineers. Additionally, as it allows for step-by-step learning of AI’s thought processes, it’s likely to see increased usage in educational settings.

💬 Sharky’s Take

No more hassle of recording videos, and you can even copy and paste the content—this is the ultimate tool for developers! 🦈🔥

📚 Terminology Explained

  • JSONL: A file format where each line contains one JSON object, used for saving session histories in Claude Code.

  • Thinking Blocks: The internal reasoning processes that Claude performs before generating responses.

  • Self-contained: A state where all functionalities operate without requiring other external files or servers.

  • Source: es617/claude-replay

【免責事項 / Disclaimer / 免责声明】
JP: 本記事はAIによって構成され、運営者が内容の確認・管理を行っています。情報の正確性は保証せず、外部サイトのコンテンツには一切の責任を負いません。
EN: This article was structured by AI and is verified and managed by the operator. Accuracy is not guaranteed, and we assume no responsibility for external content.
ZH: 本文由AI构建,并由运营者进行内容确认与管理。不保证准确性,也不对外部网站的内容承担任何责任。
🦈