mattmireles/Flatty
transform an entire GitHub repo into a simple text file so that you can upload it to an LLM (Claude, ChatGPT, etc.)
This tool helps software developers and engineers by transforming an entire codebase, whether a GitHub repository or a local folder, into a single, structured text file. It intelligently processes all relevant code, skipping unnecessary binary files and build artifacts. The output is a clean text file that can be easily uploaded to large language models (LLMs) like ChatGPT or Claude, allowing you to get comprehensive architectural overviews or system-wide insights.
103 stars. No commits in the last 6 months.
Use this if you need an LLM to understand and reason about your entire codebase for architectural analysis or deep system comprehension without being limited by file upload counts.
Not ideal if you primarily need day-to-day code completion or inline editing, as dedicated coding assistants are better suited for those tasks.
Stars
103
Forks
4
Language
Shell
License
MIT
Category
Last pushed
Jun 10, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/mattmireles/Flatty"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
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...
ShahzaibAhmad05/gitree
An upgrade from "ls" for developers. An open-source tool to analyze folder structures and to...
nicepkg/ctxport
Copy AI conversations as clean Markdown Context Bundles — one click from ChatGPT, Claude,...
nikolay-e/treemapper
Export your entire codebase to ChatGPT/Claude in one command. Structure + contents in YAML/JSON...