shacthulu/one-click-folder-flattener
Dead simple client-side, private, web-based tool to flatten nested directories into a single one, maintaining directory context. Add local directories or pull directly from a GitHub repo. Perfect for Claude, ChatGPT and other systems that don't gracefully handle subdirectories and/or lose context.
This tool helps people who work with large, nested codebases or documentation when preparing content for AI assistants like Claude or ChatGPT. It takes your project's complex folder structure, either from your computer or a GitHub repository, and flattens all files into a single directory. The output is a ZIP file with clearly renamed files that include their original folder paths, ensuring the AI understands the context and relationships between them.
Use this if you need to upload an entire software project, documentation, or any collection of files with a deep folder structure to an AI assistant and want the AI to retain understanding of the original organization.
Not ideal if you only need to upload a few individual files or if your AI assistant already gracefully handles deeply nested directories without losing context.
Stars
10
Forks
2
Language
TypeScript
License
—
Category
Last pushed
Jan 30, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/shacthulu/one-click-folder-flattener"
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