Cview offers a local viewer for Claude Code sessions, making it easy to search, navigate, and export your chat-style interactions. Users can benefit from features like a conversation timeline, subagent expansions, and light/dark theme support, all while ensuring a secure local environment.
cview is a powerful local viewer designed specifically for Claude Code sessions. It delivers an intuitive chat-style interface that allows users to easily revisit and manage past sessions. Key features of cview include:
- Interactive Per-Session View: Each Claude Code session is presented with grouped consecutive messages, integrating seamless code-aware Markdown and dedicated tool cards.
- Inline Subagent Expansion: The
Agenttool enables real-time expansion of subagent transcripts directly at the point of call, enriching the conversation flow. - Interactive Conversation Timeline: A draggable timeline slider at the top of the chat view allows users to navigate through lengthy sessions effortlessly; additional keyboard shortcuts enhance this experience.
- Terminal Integration: Each session entry provides a terminal command snippet to quickly return to the working directory and resume the session.
- Comprehensive Search Functionality: Easily search through session titles, last replies, project names, current working directories, Git branches, and session ID prefixes to find relevant discussions.
- Customizable Appearance: Supports light and dark themes in accordance with user preferences, improving accessibility and comfort.
- Export Functionality: Users can export visible transcripts as standalone HTML files or capture screenshots of selected messages in PNG or JPG formats.
- Read-Only Mode: cview operates in a read-only mode, ensuring that session files remain intact and unmodified.
User Interaction
To interact with the timeline slider, utilize the following keyboard shortcuts:
| Key | Action |
|---|---|
← / → | Step one message |
PageUp / PageDown | Step 10 messages |
Home / End | Jump to start / end |
Configuration Options
cview includes configurable variables:
| Variable | Default | Description |
|---|---|---|
PORT | 3001 | Server port |
CVIEW_CLAUDE_DIR | ~/.claude | Claude data root |
Security Considerations
cview operates exclusively in a local-only mode on 127.0.0.1, ensuring secure access. Non-loopback IPs and non-localhost Origin headers are rejected to maintain the integrity of session data.
Overall, cview presents a robust solution for individuals seeking an organized and efficient way to navigate through their Claude Code sessions.
No comments yet.
Sign in to be the first to comment.