addyosmani/git2txt
CLI tool to convert GitHub repositories to text files for LLMs
This tool helps developers quickly consolidate the code and documentation from any public GitHub repository into a single text file. You provide a GitHub repository link, and it outputs a single, clean text file containing all the relevant source code and text-based content. It's ideal for developers, researchers, or educators who need a simple way to get repository content ready for analysis, documentation, or feeding into AI models.
552 stars. No commits in the last 6 months.
Use this if you need to quickly extract and consolidate all the text-based files from a public GitHub repository into one convenient document for review or further processing.
Not ideal if you need to clone a repository for active development, manage version control, or process extremely large binary files.
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...
abinthomasonline/repo2txt
Web-based tool converts GitHub repository contents into a single formatted text file