Converts Claude Code JSONL log files into interactive HTML.
Requires Go 1.21 or later. Install Go from https://go.dev/
git clone https://github.com/brads3290/cclogviewer
cd cclogviewer
make buildOr install directly:
go install github.com/brads3290/cclogviewer/cmd/cclogviewer@latest# 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-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
- Hierarchical conversation display
- Expandable tool calls and results
- Nested Task tool conversations
- Token usage tracking
- Syntax-highlighted code blocks
- Timestamps and role indicators
make build # Build binary
make test # Run tests
make install # Install to /usr/local/binSee Makefile for all available commands.
