An open API service indexing awesome lists of open source software.

https://github.com/tyql688/cc-session

Browse, search, resume and manage your AI coding sessions in one desktop app. (Claude Code, Codex, Gemini,OpenCode, Cursor, kimi)
https://github.com/tyql688/cc-session

claude codex cursor-cli gemini-cli kimi-cli opencode

Last synced: about 1 month ago
JSON representation

Browse, search, resume and manage your AI coding sessions in one desktop app. (Claude Code, Codex, Gemini,OpenCode, Cursor, kimi)

Awesome Lists containing this project

README

          


English | δΈ­ζ–‡


CC Session


One desktop app to browse, search, resume, and manage all your AI coding sessions.


Latest Release
CI
Platform
License


CC Session β€” session browser

---

## Why CC Session?

Claude Code, Codex, Antigravity, Kimi Code, Cursor CLI, and more all store their session data locally β€” but each in its own format, in its own folder, with no way to look back. **CC Session brings every provider together in one fast, native app:** read full conversation histories, search across all of them at once, export clean archives, and jump straight back into any session in your terminal.

> πŸ’‘ **One window for every local coding session** β€” no more digging through `~/.claude`, `~/.codex`, and a dozen other folders.

## ✨ Features

- πŸ—‚οΈ **Unified view** β€” every session from every supported provider, in one explorer
- πŸ” **Full-text search** β€” instant search across all session content (SQLite FTS5), plus in-session find
- ↩️ **Resume in one click** β€” drop straight back into any session in your terminal
- πŸ“Š **Usage analytics** β€” cost, token, and per-model breakdowns with cache hit/write detail
- 🎨 **Rich rendering** β€” Markdown, syntax highlighting, Mermaid diagrams, KaTeX math, inline images, and structured tool-call diffs
- πŸ‘€ **Live watch** β€” file-based providers auto-refresh via OS watchers; OpenCode uses provider-aware polling
- πŸ“€ **Export** β€” JSON, Markdown, or a self-contained HTML file (dark mode, collapsible tools & thinking blocks)
- πŸ—ƒοΈ **Session management** β€” rename, favorite, trash/restore, and batch operations
- ⌨️ **Keyboard-first** β€” navigate and act without touching the mouse
- πŸ”„ **Auto-update**, 🌐 **English / δΈ­ζ–‡**, and 🚫 **blocked folders** to hide noisy projects

## πŸ“Š Usage analytics

Track exactly what you're spending across every provider β€” daily cost trends, per-model token totals, and cache efficiency, all in one dashboard.


CC Session β€” usage analytics

## 🧩 Supported tools

| Provider | Source format | Live watch | Resume |
|----------|---------------|:----------:|--------|
| **Claude Code** | JSONL | FS | `claude --resume` |
| **Codex CLI** | JSONL | FS | `codex resume` |
| **Antigravity** | JSONL | FS | `agy --conversation` |
| **Kimi Code** | JSONL | FS | `kimi --session` |
| **Cursor CLI** | JSONL + SQLite | FS | `cursor agent --resume` |
| **OpenCode** | SQLite | Poll | `opencode -s` |
| **CC-Mirror** | JSONL | FS | per-variant |

Across providers, CC Session parses messages, tool calls, thinking/reasoning blocks, token usage, inline images, Markdown, Mermaid diagrams, and KaTeX math wherever the source format supports them β€” including subagent/child sessions.

## πŸ“₯ Install

Grab the latest build from [**Releases**](https://github.com/tyql688/cc-session/releases):

| Platform | File |
|----------|------|
| macOS | `.dmg` |
| Windows | `.exe` (NSIS installer) |
| Linux | `.deb` / `.AppImage` |

> **macOS Gatekeeper:** the app isn't code-signed, so macOS may block it on first launch. Clear the quarantine flag:
>
> ```bash
> xattr -cr "/Applications/CC Session.app"
> ```

## πŸš€ Quick start

1. Install and open CC Session
2. Let it index your local provider data
3. Browse a session, search across your history, or resume right where you left off

## πŸ› οΈ Build from source

Requires [Rust](https://rustup.rs/) and [Node.js](https://nodejs.org/) 20+.

```bash
git clone https://github.com/tyql688/cc-session.git
cd cc-session
npm install
npm run tauri build # Production build
npx tauri build --bundles dmg # DMG only
```

## πŸ’» Development

```bash
npm run tauri dev # Dev with hot reload
npm run check # Type-check + Biome + ESLint (frontend)
npm test # Frontend tests (Vitest)
cd src-tauri && cargo test # Rust tests
cd src-tauri && cargo clippy --all-targets --all-features -- -D warnings
```

Code style is documented in [`style/ts.md`](style/ts.md) and [`style/rust.md`](style/rust.md), enforced by Biome, ESLint, Clippy, and a lefthook pre-commit hook. On macOS, file-based live watch uses the `notify` crate's `kqueue` backend for more reliable file-level updates.

## πŸ—οΈ Built with

- [Tauri 2](https://v2.tauri.app/) β€” desktop shell and native integrations
- [SolidJS](https://www.solidjs.com/) β€” reactive frontend UI
- [Rust](https://www.rust-lang.org/) β€” provider parsing, indexing, export, and session lifecycle
- [SQLite](https://www.sqlite.org/) + FTS5 β€” local storage and full-text search
- [Vitest](https://vitest.dev/), [Biome](https://biomejs.dev/), [ESLint](https://eslint.org/), and [Clippy](https://doc.rust-lang.org/clippy/) β€” testing and code quality

## πŸ“„ License

[MIT](LICENSE) Β© tyql688