$ cchat

Your terminal as a private,
searchable ChatGPT

Every conversation saved as a local, greppable folder. cchat is a lightweight bash harness around Claude Code — terminal Q&A that feels like the Claude desktop app, with nothing leaving your machine.

cchat — your terminal as a private, searchable ChatGPT

What you get

Install

cchat is a single bash script. Clone it, make it executable, and symlink it onto your PATH.

git clone git@github.com:Dzhuneyt/cchat.git
cd cchat
chmod +x cchat
ln -s "$PWD/cchat" /usr/local/bin/cchat

Needs claude (sessions), jq (transcript rendering) and rg / ripgrep (search).

Usage

cchat                   # prompts for a topic, then opens the session
cchat "tax deadline"    # skip the prompt — topic preset from the argument
cchat search "deadline" # ripgrep across every transcript, grouped by session

End the session the way you normally exit Claude Code; the transcript is archived automatically and the saved folder path is printed. Full details live in the README.