addyosmani/git2txt
CLI tool to convert GitHub repositories to text files for LLMs
Automatically filters out binary files and applies configurable size thresholds (default 100KB) to keep output manageable, while recursively traversing all directories except node_modules and .git. Supports multiple GitHub URL formats (HTTPS, SSH, short notation) and generates structured text with file paths and metadata markers, enabling LLMs to parse repository context systematically without manual preprocessing.
552 stars. No commits in the last 6 months.
Stars
552
Forks
58
Language
JavaScript
License
MIT
Category
Last pushed
Nov 22, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/addyosmani/git2txt"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
cyanheads/repo-map
repo-map generates LLM-enhanced summaries and analysis of software repositories, providing...
kirill-markin/repo-to-text
Convert a repository structure and its contents into a single text file, including the tree...
TonyStef/Grov
Grov automatically captures the context from your private AI sessions and syncs it to a shared...
zebangeth/DirPrint
Print/export your project's directory structure and code | Simplify your code sharing with...
sansan0/ai-code-context-helper
🚀 Desktop tool for extracting code context to enhance AI-assisted development. Visualize project...