Skip to main content

Browse your Claude Code chat history

Project description

Claude Code Chat Browser (CCCB)

A lightweight desktop app for browsing, searching, and copying text from your Claude Code chat history. No cloud, no tracking—everything stays local.

Features

  • Browse chats — Organized by project with expandable groups
  • Full-text search — Find conversations by name or content, with navigation wrapping
  • View transcripts — Syntax-highlighted code blocks, expandable thinking sections, tool visualizations, message numbering
  • Copy to clipboard — Extract text, code, or entire conversations
  • Light/Dark mode — Toggle theme with persistent preference
  • Metadata — See message count, token usage, and timestamps
  • Persistent state — Remembers your last opened chat and theme preference

Install

pip install claude-code-chat-browser
cccb

From source:

git clone git@github.com:rick-does/claude-code-chat-browser.git
cd claude-code-chat-browser
pip install -e .
cccb

Usage

  • Search — Type in the sidebar to filter chats
  • Project filter — Select a project to narrow the list
  • Transcript search — Use the search box in the main pane to find text within a chat; navigate with arrow buttons (wraps around at edges)
  • Message numbering — Each user/assistant message is numbered for easy reference when copying sections
  • Light/Dark mode — Click the theme toggle button (◑/◯) next to the refresh button to switch themes
  • Copy — Right-click to copy selected text or entire sections
  • GitHub — Click the footer link to report issues or request features

Linux / WSL

On Linux and WSL, CCCB runs as a local web server instead of a desktop app. Open your browser to the URL printed on startup.

WSL: CCCB automatically opens your Windows browser.

Remote Linux server (SSH): Use an SSH tunnel so you can access the UI from your local browser — no firewall changes needed:

ssh -L 5000:localhost:5000 user@your-server

Then open http://localhost:5000 in your local browser while the tunnel is active.

Development

cccb                # Run normally
cccb --dev          # Run with auto-reload on file changes
cccb --serve        # Force browser mode (test headless on any platform)

Standalone Executable

build.py produces a self-contained binary via PyInstaller (no Python required):

pip install pyinstaller
python build_exe.py

Output: dist/CCB.exe (Windows), dist/CCB (macOS/Linux)

Architecture

  • Backend: Python with in-memory indexing
  • Frontend: Alpine.js + vanilla HTML/CSS
  • Framework: pywebview (Windows/Mac), Flask (Linux/WSL)
  • Data source: ~/.claude (Claude Code chat history)

Data & Privacy

CCCB reads from your local ~/.claude directory only—no data is sent anywhere. The app runs entirely offline.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_code_chat_browser-0.1.0.tar.gz (64.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_code_chat_browser-0.1.0-py3-none-any.whl (69.6 kB view details)

Uploaded Python 3

File details

Details for the file claude_code_chat_browser-0.1.0.tar.gz.

File metadata

  • Download URL: claude_code_chat_browser-0.1.0.tar.gz
  • Upload date:
  • Size: 64.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for claude_code_chat_browser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a5720552c479e3de10910b39b5ea17b4bb6cceef8dc1435ac4130f9fba65f483
MD5 7bd3b39b280501a8ca96a98367d55450
BLAKE2b-256 83816c4c3a0a52dd558267536ac62124f9fd9944e3f771a550c978bd29af4279

See more details on using hashes here.

File details

Details for the file claude_code_chat_browser-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_code_chat_browser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 882107e3fe86c65b44c832e73fe16c32cb9892f40ddf37bfc8e8f235c963c38e
MD5 f5cebb7ee069cd01548389cb89cf0846
BLAKE2b-256 4d7734f261356da389a78238e1af7e1e86ee987a05852c559c0caa9539e8b839

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page