{"repo":"travisvn/gptree","free":true,"listed":false,"github":"https://github.com/travisvn/gptree","clone":"git clone https://github.com/travisvn/gptree.git","description":"A CLI tool to provide LLM context for coding projects by combining project files into a single text file (or clipboard text) with directory tree structure.","language":"Python","stars":290,"topics":["brew","cli","gpt","homebrew","llm","chatgpt","claude","coding-assistant","command-line","copilot"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"gptree 🌳 A CLI tool to provide LLM context for coding projects by combining project files into a single text file with a directory tree structure. What is gptree? When working with Large Language Models (LLMs) to continue or debug your coding projects, providing the right context is key. gptree simplifies this by: 1. Generating a clear directory tree structure of your project. 2. Combining the contents of relevant files into a single output text file. 3. Allowing you to select files interactively to fine-tune which files are included. 4. Supporting both simple file type filtering and advanced glob patterns for maximum flexibility. The resulting file can easily be copied and pasted into LLM prompts to provide the model with the necessary context to assist you effectively. Features - 🗂 Tree Structure : Includes a visual directory tree of your project. - ✅ Smart File Selection : Automatically excludes ignored files using .gitignore and common directories like .git , pycache , and .vscode . - 📁 Simple File Types : Easy filtering by file extensions (e.g., .py,.js ) for quick setup. - 🎯 Advanced Patterns : Optional glob patterns for complex filtering (e.g., src/ / .py , ! /tests/ ). - 🎛 Interactive Mode : Select or deselect files interactively using arrow keys, with the ability to quit immediately by pressing ESC . - 🌍 Global Config Support : Define default settings in a /.gptreerc file. - 🔧 Directory-Specific Config : Customize behavior for each project via a .gptree config","default_branch":null,"files":null,"tree":[],"storefront":"/r/travisvn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/travisvn/gptree/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}