A lightweight web dashboard to browse and search your Claude Code session history. Zero dependencies, single-command install.
- Auto-scans
~/.claude/to discover all session history - Timeline view grouped by date
- Filter by project, search across messages
- One-click "resume" command for any session
- Browser-based rescan button (no restart needed)
- Works on any server with Claude Code installed
- Single HTML file, no build step, no JS frameworks
- Auto-starts on reboot via crontab
git clone https://github.com/olimpuss/claude-sessions-viewer.git ~/claude-sessions
bash ~/claude-sessions/install.shCustom port:
bash ~/claude-sessions/install.sh 9090That's it. Open http://<your-ip>:8089 in your browser.
~/.claude/history.jsonl --> scanner.py --> sessions-data.json --> index.html
(Claude Code) (extracts) (JSON data) (web UI)
scanner.pyreads Claude Code'shistory.jsonl, groups messages by session ID, extracts project paths, timestamps, and message previewsserve.pyserves the static files and exposes a/rescanendpointindex.htmlloadssessions-data.jsonand renders the timeline UI
Scan sessions:
python3 scanner.pyStart server:
python3 serve.py
# or with custom port:
CLAUDE_SESSIONS_PORT=9090 python3 serve.py| File | Description |
|---|---|
index.html |
Web UI - single file, zero dependencies |
scanner.py |
Session scanner - reads ~/.claude/ history |
serve.py |
HTTP server with /rescan endpoint |
install.sh |
One-command installer |
- Python 3.8+
- Claude Code installed (
~/.claude/directory)
MIT