Skip to content

mirasvarc/claude-code-log-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

claude-code-log

Interactive terminal UI for browsing Claude Code session history.

Platform Swift

Features

  • Browse Claude Code sessions for the current project or all projects
  • Live search/filter by summary, project, or branch
  • Full conversation view with scrolling
  • Color-coded columns: date, project, branch, message count

Usage

claude-logs          # sessions for the current project (auto-detected from CWD)
claude-logs --all    # all sessions across all projects
claude-logs -a       # same as --all

Keys — list view

Key Action
/ j k Navigate
Enter Open session
/ Search / filter
Esc Clear search
PgUp PgDn Page up / down
g G First / last
q Quit

Keys — session view

Key Action
/ j k Scroll
PgUp PgDn Page up / down
g G Top / bottom
b q Esc Back to list

Install

cd ~/Develop/tools/claude-code-log
sudo make install

This builds a Release binary and installs it to /usr/local/bin/claude-logs.

Update

sudo make install

Uninstall

sudo make uninstall

Requirements

  • macOS
  • Xcode (for building)

Project structure

claude-code-log/
├── main.swift          # Entry point, argument parsing
├── Models.swift        # Session and Message value types
├── SessionLoader.swift # Load sessions from ~/.claude/projects/
├── Terminal.swift      # Raw mode, ANSI helpers, key input
├── App.swift           # Event loop, view state machine
├── ListView.swift      # List view rendering and navigation
└── DetailView.swift    # Conversation view rendering and navigation

About

Interactive terminal UI for browsing Claude Code session history

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors