An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# GPTree GUI 🌳

**Prep your codebase for LLMs β€” with full control, no IDE lock-in, and zero cloud dependencies.**

![Memory Usage](https://img.shields.io/badge/RAM~100MB-lightweight-brightgreen)
![Built with Tauri](https://img.shields.io/badge/Built_with-Tauri_v2-blue)
![Rust Backend](https://img.shields.io/badge/Backend-Rust-orange)

---

## 🧠 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.

![GPTree GUI Demo](./demo.gif)

---

## ⚑ 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**
![GPTree GUI Screenshot](https://gptree.dev/screenshot-dark.png)

## πŸ’¬ 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).