https://github.com/nyatinte/ccexp
interactive terminal interface for discovering, previewing, and managing Claude Code configuration files and slash commands.
https://github.com/nyatinte/ccexp
claude claude-code
Last synced: 2 months ago
JSON representation
interactive terminal interface for discovering, previewing, and managing Claude Code configuration files and slash commands.
- Host: GitHub
- URL: https://github.com/nyatinte/ccexp
- Owner: nyatinte
- License: mit
- Created: 2025-06-30T16:31:29.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-08-26T13:50:49.000Z (3 months ago)
- Last Synced: 2025-08-29T23:46:08.327Z (3 months ago)
- Topics: claude, claude-code
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/ccexp
- Size: 11.4 MB
- Stars: 130
- Watchers: 1
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-ai - nyatinte/ccexp
- awesome-claude-code - `ccexp`
README
# ccexp (claude-code-explorer)
## Overview
> [!IMPORTANT]
> **ccexp** is the shortened name for **claude-code-explorer**. The npm package [claude-code-explorer](https://www.npmjs.com/package/claude-code-explorer) is the previous version of this tool. The name was shortened to **ccexp** for brevity and easier command-line usage.
**ccexp** (short for **claude-code-explorer**) is a React Ink-based CLI tool that provides an interactive terminal interface for discovering, previewing, and managing Claude Code configuration files and slash commands. Navigate through your codebase to find CLAUDE.md files, slash command definitions, and other Claude-related configurations with a beautiful terminal UI.
## Features
- 🔍 **Interactive File Discovery** - Automatically finds Claude Code configuration files
- 📁 **Split-pane Interface** - File list on the left, preview on the right
- ⌨️ **Keyboard Navigation** - Arrow keys, Enter, ESC for smooth navigation
- 🔎 **Live Search** - Filter files as you type
- 📋 **File Actions** - Copy content, copy paths, open files in default applications
- 🎨 **Terminal UI** - Beautiful React Ink interface with proper focus management
- 📝 **Markdown Preview** - Renders CLAUDE.md files with syntax highlighting
## Screenshots
## Target Files
ccexp (claude-code-explorer) automatically discovers these configuration files:
### Memory Files
- **CLAUDE.md** → Project memory (project configuration)
- **CLAUDE.local.md** → Project memory local (local overrides, gitignored) (deprecated: https://docs.anthropic.com/en/docs/claude-code/memory#determine-memory-type)
- **~/.claude/CLAUDE.md** → User memory (global configuration)
### Command Files
- **.claude/commands/**/*.md** → Project commands (project-specific slash commands)
- **~/.claude/commands/**/*.md** → User commands (personal slash commands)
### Subagent Files
- **.claude/agents/**/*.md** → Project subagents (project-specific agents)
- **~/.claude/agents/**/*.md** → User subagents (personal agents)
### Settings Files
- **.claude/settings.json** → Project settings (shared configuration)
- **.claude/settings.local.json** → Project settings local (local overrides, gitignored)
- **~/.claude/settings.json** → User settings (global configuration)
## Installation
### Quick Start (Recommended)
No installation required! Run directly with:
```bash
# Using Bun (fastest)
bunx ccexp@latest
# Using npm
npx ccexp@latest
# Using pnpm
pnpm dlx ccexp@latest
```
### Global Installation
For frequent use, install globally:
```bash
# npm
npm install -g ccexp
# Bun
bun install -g ccexp
# pnpm
pnpm add -g ccexp
```
Then run from anywhere:
```bash
ccexp
```
## Usage
### Interactive Mode (Default)
```bash
ccexp # Launch interactive TUI
ccexp --path ~/projects # Scan specific directory
```
### Command Line Options
```bash
ccexp --help # Show help information
ccexp --version # Show version number
ccexp --path # Specify directory to scan
```
### Examples
```bash
# Launch in current directory
bunx ccexp@latest
# Scan specific project
bunx ccexp@latest --path ~/my-project
# Quick exploration without installation
npx ccexp@latest
# Show help
bunx ccexp@latest --help
# Show version
bunx ccexp@latest --version
```
### Common Use Cases
```bash
# Find all Claude configuration in your workspace
cd ~/workspace
bunx ccexp@latest
# Check Claude settings in a specific project
bunx ccexp@latest --path ./my-project
# Explore global Claude configuration
bunx ccexp@latest --path ~/.claude
# Using alias (after setup)
ccexp # Current directory
ccexp --path ~/workspace # Specific directory
```
## Keyboard Shortcuts
- **↑/↓** - Navigate file list
- **Enter** - Open file actions menu
- **ESC** - Close menu / Exit
- **Tab** - Switch between panes
- **/** - Focus search input
- **c** - Copy file content (in menu)
- **p** - Copy absolute path (in menu)
- **r** - Copy relative path (in menu)
- **d** - Copy file to current directory (in menu)
- **e** - Edit file with $EDITOR (in menu)
- **o** - Open file in default application (in menu)
## Development
For development setup, commands, and contribution guidelines, see [DEVELOPMENT.md](./DEVELOPMENT.md).
## Contributing
Contributions are welcome! Please see [DEVELOPMENT.md](./DEVELOPMENT.md#contributing) for detailed contribution guidelines.
## License
MIT License - see LICENSE file for details