RepoDepot
Other

cclogviewer

by Brads3290
Claude Code log viewer — converts .jsonl session files into interactive HTML for review

This utility provides a web-based interface for reviewing Claude Code session logs, transforming raw .jsonl files into structured, interactive HTML. Developers can easily visualize conversation flow, tool calls, and token usage from their Claude Code interactions. It offers a convenient way to debug and understand agent behavior outside of the Claude Code environment.

View on GitHub ↗
Key features
  • Hierarchical conversation display with role indicators
  • Expandable tool calls and their results
  • Nested Task tool conversation visualization
  • Token usage tracking for each interaction
  • Syntax-highlighted code blocks within logs
Languages
Go81%CSS7%JavaScript5%HTML5%Makefile3%
Top contributors
Looks dormant
No pushes in over six months (8mo ago).

Claude Code Log Viewer

Converts Claude Code JSONL log files into interactive HTML.

Demo

Installation

Requires Go 1.21 or later. Install Go from https://go.dev/

git clone https://github.com/brads3290/cclogviewer
cd cclogviewer
make build

Or install directly:

go install github.com/brads3290/cclogviewer/cmd/cclogviewer@latest

Usage

# Quick view (auto-opens in browser)
cclogviewer -input session.jsonl

# Save to file
cclogviewer -input session.jsonl -output conversation.html

# Save and open
cclogviewer -input session.jsonl -output conversation.html -open

Arguments

  • -input: JSONL log file path (required)
  • -output: HTML output path (optional, auto-generates temp file if omitted)
  • -open: Open in browser (automatic without -output)
  • -debug: Enable debug logging

Features

  • Hierarchical conversation display
  • Expandable tool calls and results
  • Nested Task tool conversations
  • Token usage tracking
  • Syntax-highlighted code blocks
  • Timestamps and role indicators

Building from Source

make build           # Build binary
make test           # Run tests
make install        # Install to /usr/local/bin

See Makefile for all available commands.

Similar other

Added to RepoDepot ·