talira

claude-code-transcripts

Tools for publishing transcripts for Claude Code sessions

open sourceApache-2.0self-hostablefree

claude-code-transcripts converts Claude Code session files (the JSONL files in ~/.claude/projects, or JSON from Claude Code on the web) into clean, mobile-friendly, paginated HTML: an index page with a timeline of prompts and commits, and numbered transcript pages. Run with no arguments, it shows a picker of recent local sessions and opens the chosen one in a browser; all turns every local session into a browsable archive with an index per project, and --gist uploads the pages to a GitHub Gist through the GitHub CLI and prints a shareable preview link. It's by Simon Willison.

Problems it solves

  • share a Claude Code session with someone as a readable web page
  • publish the full transcript of how an agent built something alongside the code
  • turn a Claude Code JSONL session file into HTML I can read on my phone
  • pick one of my recent Claude Code sessions and open it in a browser
  • convert all my local Claude Code sessions into a browsable HTML archive
  • see the prompts and commits of a coding session on one timeline
  • upload an agent transcript to a gist and get a link to send

Features

  • interactive picker of recent local Claude Code sessions
  • paginated, mobile-friendly HTML transcripts with an index page
  • timeline of prompts and commits, with commit links to the GitHub repository
  • all command converts every local session into an archive with per-project pages
  • --gist uploads the pages to a GitHub Gist and prints a preview URL
  • converts a JSON or JSONL session file from a path or a URL
  • optionally includes agent session files and the original session file

Limitations

  • Can't import Claude Code on the web sessions at the moment: its web commands broke when the undocumented API they used changed1

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what claude-code-transcripts does.

  1. claude-code-log A Python CLI tool that converts Claude Code transcript JSONL files into readable HTML and Markdown
  2. Claude Code Viewer A full-featured web-based Claude Code client that provides complete interactive functionality for managing Claude Code projects
  3. Claude Code Trace Claude Code session log viewer for JSONL files in ~/.claude/projects: browse conversations, tool calls, tokens, and live tail sessions on desktop, web, and TUI
  4. cc-viewer A request monitoring system for Claude Code that captures and visualizes all API requests and responses in real time

Compare claude-code-transcripts with the top 3