travisvn/gptree

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.

41
/ 100
Emerging

This tool helps software developers give Large Language Models (LLMs) the context they need to understand and assist with coding projects. It takes a project folder as input and creates a single text file. This file contains a clear directory tree structure and the content of selected code files, which can then be easily copied into an LLM prompt. This is for any developer using LLMs for code completion, debugging, or explanation.

289 stars. No commits in the last 6 months.

Use this if you regularly use AI coding assistants and need a quick, organized way to feed your entire project's context into their prompts without manual copy-pasting.

Not ideal if you're not a software developer or if you only work on very small, single-file scripts that don't require extensive project context.

software-development LLM-prompt-engineering code-contextualization developer-tooling AI-assisted-coding
Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 13 / 25

How are scores calculated?

Stars

289

Forks

21

Language

Python

License

GPL-3.0

Last pushed

Jul 25, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/travisvn/gptree"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.