ShahzaibAhmad05/gitree
An upgrade from "ls" for developers. An open-source tool to analyze folder structures and to provide code context to LLMs. Published on PyPi
Supports interactive file selection and bulk operations including copying code files to clipboard, zipping projects while respecting `.gitignore` rules, and exporting directory structures in multiple formats (tree, JSON, markdown). The tool uses a modular service architecture with separate pipelines for zipping, drawing, copying, and exporting, enabling flexible workflows from simple tree visualization to comprehensive code context extraction for LLM integration.
Available on PyPI.
Stars
23
Forks
54
Language
Python
License
MIT
Category
Last pushed
Feb 15, 2026
Monthly downloads
134
Commits (30d)
0
Dependencies
3
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/ShahzaibAhmad05/gitree"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
shcherbak-ai/contextgem
ContextGem: Effortless LLM extraction from documents
mufeedvh/code2prompt
A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt...
nicepkg/ctxport
Copy AI conversations as clean Markdown Context Bundles — one click from ChatGPT, Claude,...
WecoAI/weco-cli
The Platform for Self-Improving Code. Ideal for GPU kernels, ML model development, feature...
mkorpela/kopipasta
`cat project | LLM | patch`. Transparent context control and interactive patching for...