maniacs.club
← Back to all apps
Local web app MIT

claude-code-history-console

Browse, search, export, and migrate your Claude Code chat history from a local web UI — zero dependencies, Python standard library only.

claude-code-history-console
docs/screenshot.png — history console

Features

Search across all projects

Full-text search over session titles and message bodies, with matches highlighted.

One-click export

Download a ZIP of full project data, including subagent transcripts and memory/.

Import on another PC

Paths are re-encoded automatically so /resume keeps working on the target machine.

Orphan detection

Lists every history folder with its status, so deleted or moved projects can be cleaned up safely.

Follow a folder move

Copies a project history to the folder for its new path; the old one is kept.

Standalone viewer

build_viewer.py bakes everything into a single self-contained viewer.html — no server, works offline.

Install

Python 3.8+ and nothing to pip install. Double-click launchers are provided for Windows and macOS.

python serve.py            # http://127.0.0.1:8765/
python serve.py --port 9000 --no-open

python build_viewer.py     # 単体の viewer.html を生成

Stack

Python 3.8+ 標準ライブラリのみ HTTP JSON API Windows / macOS / Linux

Support & limitations

SafetyBound to 127.0.0.1 only, with loopback Host checks and origin checks on POST.
DeleteGuarded by an in-browser confirmation and a server-side check that the target sits under ~/.claude/projects/.
ImportHardened against path traversal and Zip Slip; migration is copy-based.
LimitationsCross-OS migration is a prefix swap only; viewer.html is read-only.
NoteUnofficial community tool, not affiliated with Anthropic.

Other apps