alexkorol/repo2GPT
Repo2GPT is a Python application that clones a GitHub repository and generates a tree diagram of the repository's file structure and a consolidated text file containing all the code files in the repository. This utility can help in quickly understanding the structure of a repository and reviewing its code.
This tool helps software developers quickly understand and analyze GitHub repositories. It takes a repository URL or local path and generates a structured map of the codebase and a single, consolidated file containing all relevant source code. Developers can use this output to efficiently review projects or prepare code for large language model prompts.
Use this if you need to rapidly grasp the structure of a codebase or consolidate multiple code files into a single, clean text file for review or AI processing.
Not ideal if you primarily need to execute code, debug applications, or perform deep static analysis beyond file structure and consolidated content.
Stars
10
Forks
2
Language
Python
License
MIT
Category
Last pushed
Nov 21, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/alexkorol/repo2GPT"
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