Minimal helper to turn any folder of source files into one text blob ready for ChatGPT / Gemini / Claude.
Large-language models understand a codebase better when they see every file at once. Copy-pasting folders is a pain.
dump_project prints a clean tree view plus the contents of every readable, non-binary file—nothing more, nothing less.
# grab the script
curl -LO https://raw.githubusercontent.com/isaturk66/Dump-Project/main/dump_project.py
# run it on a repo
python3 dump_project.py /path/to/project > project.txtUpload project.txt to your favourite LLM and start asking questions.
Create a .dumpignore in the project root (same syntax as .gitignore):
# ignore generated files
dist/
*.log
# but keep the README
!README.md
Hidden folders (.git/, .idea/, …) are skipped automatically.
Download the binary for your OS from the GitHub Releases page and make it executable.
chmod +x dump_project-linux
./dump_project-linux /path/to/project > project.txt(Optional) move it to your PATH:
sudo mv dump_project-linux /usr/local/bin/dump_projectchmod +x dump_project-macos # make it executable
xattr -d com.apple.quarantine dump_project-macos # remove Gatekeeper quarantine
./dump_project-macos /path/to/project > project.txt(If you prefer the GUI, right‑click → Open once, then macOS will remember.)
# If SmartScreen complains, click “More info” → “Run anyway”
# or unblock via PowerShell:
Unblock-File .\dump_project-win.exe
.\dump_project-win.exe C:\path\to\project > project.txtAdd the folder to your Environment Variables → Path for convenience.
python3 -m pip install pyinstaller
pyinstaller --onefile dump_project.py # binary appears in dist/MIT © 2025 İsa Türk