https://github.com/Brads3290/cclogviewer
Review Claude Code .jsonl files with a nice HTML UI
https://github.com/Brads3290/cclogviewer
Last synced: 12 months ago
JSON representation
Review Claude Code .jsonl files with a nice HTML UI
- Host: GitHub
- URL: https://github.com/Brads3290/cclogviewer
- Owner: Brads3290
- License: mit
- Created: 2025-07-28T22:31:29.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-08-08T08:13:50.000Z (12 months ago)
- Last Synced: 2025-08-08T10:10:38.833Z (12 months ago)
- Language: Go
- Size: 2.61 MB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ai - Brads3290/cclogviewer
- awesome-claude-code - cclogviewer - A humble but handy utility for viewing Claude Code `.jsonl` conversation files in a pretty HTML UI. (Tooling 🧰 / General)
- awesome-openclaw-skills - cclogviewer - A humble but handy utility for viewing Claude Code .jsonl conversation files in a prett... | - | (Other)
- awesome-claude-code-cn - cclogviewer - 一个谦虚但实用的实用程序,用于在漂亮的 HTML UI 中查看 Claude Code `.jsonl` 对话文件。 (工具 🧰 / 通用)
README
# Claude Code Log Viewer
Converts Claude Code JSONL log files into interactive HTML.

## Installation
Requires Go 1.21 or later. Install Go from https://go.dev/
```bash
git clone https://github.com/brads3290/cclogviewer
cd cclogviewer
make build
```
Or install directly:
```bash
go install github.com/brads3290/cclogviewer/cmd/cclogviewer@latest
```
## Usage
```bash
# 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
```bash
make build # Build binary
make test # Run tests
make install # Install to /usr/local/bin
```
See Makefile for all available commands.