https://github.com/travisvn/gptree-gui
A tool to provide LLM context for coding projects by combining project files into a single text file (or clipboard text) with directory tree structure.
https://github.com/travisvn/gptree-gui
ai artificial-intelligence chatgpt claude coding-assistant copilot cursor developer-tools devtools gemini gpt llama llm llms openai productivity rust tauri tool
Last synced: about 1 month ago
JSON representation
A tool to provide LLM context for coding projects by combining project files into a single text file (or clipboard text) with directory tree structure.
- Host: GitHub
- URL: https://github.com/travisvn/gptree-gui
- Owner: travisvn
- Created: 2025-04-22T19:28:20.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-04-22T19:53:45.000Z (10 months ago)
- Last Synced: 2025-04-23T16:16:25.671Z (10 months ago)
- Topics: ai, artificial-intelligence, chatgpt, claude, coding-assistant, copilot, cursor, developer-tools, devtools, gemini, gpt, llama, llm, llms, openai, productivity, rust, tauri, tool
- Language: TypeScript
- Homepage:
- Size: 3.51 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GPTree GUI π³
**Prep your codebase for LLMs β with full control, no IDE lock-in, and zero cloud dependencies.**



---
## π§ What It Does
GPTree GUI lets you visually select which files from your local project to include in a combined file tree + code output β perfect for pasting into ChatGPT, Claude, or a local LLM. It gives you full control over what the model sees, while respecting your privacy and workflow.

---
## β‘ Why Use GPTree?
Other tools (like Cursor or cloud-based repo summarizers) either:
- Automatically include irrelevant files
- Require installing a new IDE or extension
- Send your code to the cloud without control
**GPTree GUI is different**:
- π§© Pick only what you want the model to see
- π§ Use _your own_ LLM (OpenAI, Claude, LM Studio, etc.)
- π₯οΈ Works offline and respects `.gitignore`
- β‘ Outputs ready-to-paste markdown + source in seconds
> βItβs not an AI copilot β itβs the pre-flight checklist before the prompt.β
---
## β
Features
- **Visual File/Folder Tree** β Easily browse and toggle file selection
- **Output Panel** β Preview the file tree + selected code content in one scrollable blob
- **Clipboard Export** β Copy or save the LLM-ready output in one click
- **Smart Ignoring** β Automatically skips `.gitignore`d files and large binaries
- **Config Manager** β Toggle and edit global/project-specific configs in the UI
- **Dark/Light Mode** β Adapts to system or manual preference
- **Blazing Fast + Lightweight** β Uses ~100MB RAM total
---
## π§ͺ Installation
### π macOS
- [Download GPTree for macOS (.dmg) - Universal](https://github.com/travisvn/gptree-gui/releases/latest/download/GPTree-mac-universal.dmg)
### π§ Linux
```bash
curl -fsSL https://raw.githubusercontent.com/travisvn/gptree-gui/main/scripts/install.sh | sh
```
### πͺ Windows
- [Download GPTree for Windows (.exe)](https://github.com/travisvn/gptree-gui/releases/latest/download/GPTree-windows.exe)
- [Download GPTree for Windows (.msi)](https://github.com/travisvn/gptree-gui/releases/latest/download/GPTree-windows.msi)
---
## π§ How To Use
1. Launch the app, select your project folder
2. Use checkboxes to select files or folders
3. Adjust config options in the right-hand panel (file types, exclusions, etc.)
4. Click βGenerate Outputβ β preview shows combined tree + contents
5. Copy to clipboard or open the file to paste into your LLM
---
## π§ Configuration
GPTree GUI uses the same config system as the [gptree CLI](https://github.com/travisvn/gptree):
- Global config: `~/.gptreerc`
- Local config: `.gptree_config` in the current repo
---
## βοΈ Tech Stack
- Tauri (Rust backend, system Webview)
- React + TypeScript + Tailwind (frontend)
- Jotai (state management)
- Vite (build tooling)
---
## π Performance Snapshot
| Metric | GPTree GUI | Typical Electron App |
| --------------- | ---------- | -------------------- |
| RAM Usage | \~100 MB | 300β600+ MB |
| Backend | Rust | Node.js |
| Cold Start Time | Fast | Slower |
| Bundle Size | \~3β10 MB | 100MB+ |
> GPTree GUI is 5Γ leaner than most dev GUI tools.
---
πΌοΈ **Demo Screenshot**

## π¬ Feedback Welcome
If this is useful to you, please star the repo β or file an issue if you have feature requests or bugs.
Built by [@travisvn](https://github.com/travisvn), based on the original [gptree CLI](https://github.com/travisvn/gptree).