{"id":30158743,"url":"https://github.com/milisp/treepick","last_synced_at":"2026-06-20T12:32:50.555Z","repository":{"id":309198416,"uuid":"1035470496","full_name":"milisp/treepick","owner":"milisp","description":"Interactive file tree picker for Claude Code and Gemini cli, codex and more","archived":false,"fork":false,"pushed_at":"2025-08-10T13:25:22.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-19T19:54:22.172Z","etag":null,"topics":["claude-code","codex","filetree","gemini-cli","tui"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/milisp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-10T13:24:22.000Z","updated_at":"2025-08-15T20:15:46.000Z","dependencies_parsed_at":"2025-08-10T14:52:25.326Z","dependency_job_id":null,"html_url":"https://github.com/milisp/treepick","commit_stats":null,"previous_names":["milisp/treepick"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/milisp/treepick","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milisp%2Ftreepick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milisp%2Ftreepick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milisp%2Ftreepick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milisp%2Ftreepick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milisp","download_url":"https://codeload.github.com/milisp/treepick/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milisp%2Ftreepick/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34570535,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-code","codex","filetree","gemini-cli","tui"],"created_at":"2025-08-11T14:55:06.088Z","updated_at":"2026-06-20T12:32:50.527Z","avatar_url":"https://github.com/milisp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TreePick 🌲\n\nInteractive file tree picker for AI CLI tools like Claude Code, OpenAI Codex, and Google Gemini CLI.\n\n## Features\n\n- 🌲 **Interactive File Tree** - Beautiful terminal-based file picker\n- ✅ **Multi-select** - Choose multiple files and folders easily  \n- 🚀 **AI Integration** - Automatically passes selected files to AI tools\n- 🎯 **Smart Filtering** - Ignores common non-essential directories\n- ⚡ **Fast \u0026 Lightweight** - Built with Node.js and blessed\n\n## Quick Start\n\n### npm\n\n```bash\n# Install dependencies\nnpm install\n\n# Run the tool\nnpm start\n\n# Or use directly\nnode bin/fselect.js\n```\n\n### bun\n\n```bash\n# Install dependencies\nbun i\n\n# Link for global usage\nbun link treepick\n```\n\n## Usage\n\n### Basic Usage\n```bash\n# Start with default settings (scans current directory for Claude)\ntreepick\n\n# Specify a different directory  \ntreepick -d /path/to/your/project\n\n# Use with different AI tools\ntreepick -t codex    # OpenAI Codex\ntreepick -t gemini   # Google Gemini CLI\n\n# Dry run (see selected files without executing)\ntreepick --dry-run\n```\n\n### Interactive Controls\n\n| Key | Action |\n|-----|--------|\n| `↑/↓` | Navigate through files |\n| `Space` | Select/deselect file or folder |\n| `Enter` | Confirm selection and start AI tool |\n| `Ctrl+A` | Select all files |\n| `Ctrl+D` | Clear all selections |\n| `Esc` or `Q` | Cancel and exit |\n\n## How It Works\n\n1. **File Tree Display** - Shows your project structure in an interactive tree\n2. **Multi-Select** - Use spacebar to select files and folders you want to work with\n3. **AI Integration** - Automatically starts your chosen AI tool (Claude, Codex, etc.)\n4. **File Context** - Selected files are automatically added using the tool's syntax (e.g., `@file.js`)\n5. **Interactive Session** - You can then chat with the AI about your selected files\n\n## Example Workflow\n\n```bash\n$ treepick\n# Interactive file tree appears\n# Select src/components/Header.jsx\n# Select src/utils/api.js  \n# Select README.md\n# Press Enter\n\n🚀 Starting claude...\n📎 Adding 3 files to claude...\n✅ Files added successfully!\n\n# Claude starts with: @src/components/Header.jsx @src/utils/api.js @README.md \n# You can now type: \"Please review these files for potential bugs\"\n```\n\n## Configuration\n\nThe tool automatically ignores common directories:\n- `node_modules`\n- `.git` \n- `.next`\n- `target`\n- `dist`\n- `build`\n- `.venv`\n- `__pycache__`\n\n## Supported AI Tools\n\n- **Claude Code** (`claude`) - Anthropic's terminal coding assistant\n- **OpenAI Codex** (`codex`) - OpenAI's CLI coding tool\n- **Google Gemini** (`gemini`) - Google's CLI tool\n- Easily extensible for other tools\n\n## Requirements\n\n- Node.js 16+\n- The AI tool you want to use must be installed and accessible in PATH\n  - For Claude Code: Follow [installation guide](https://docs.anthropic.com/claude-code)\n  - For OpenAI Codex: `npm install -g @openai/codex`\n  - For Google Gemini: Install Google AI CLI\n\n## Installation\n\n```bash\n# Install globally from npm\nnpm install -g treepick\n\n# Or for development\ncd /path/to/treepick\nnpm install\nnpm link\n```\n\n## Development\n\n```bash\n# Run in development mode\nnpm run dev\n\n# Test with dry run\nnpm start -- --dry-run\n```\n\n## License\n\nMIT License - feel free to use and modify!\n\n## Contributing\n\nThis is an MVP - contributions welcome! Areas for improvement:\n- Better error handling\n- Configuration file support  \n- More AI tool integrations\n- Performance optimizations\n- Tests\n\n---\n\n**Made for developers who want to work smarter with AI tools** 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilisp%2Ftreepick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilisp%2Ftreepick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilisp%2Ftreepick/lists"}