A tiny Python tool that recursively scans a project folder and creates a single Markdown file (project_context.md) containing all text-based files — skipping images, videos, audio files, and itself.
Perfect for passing full project context into an AI (LLM) for summarization, agent memory, or fine-tuning tasks.
- ✅ Recursively scans current directory and all subdirectories
- ✅ Skips media files (images, video, audio)
- ✅ Skips itself and its generated output
- ✅ Outputs a clean, Markdown-formatted
.mdfile with relative paths and contents
- Clone or copy this script into the root of your project:
wget https://raw.githubusercontent.com/yourname/project-context-dumper/main/context_dumper.pyRun the script using Python 3:
python context_dumper.pyYou'll get a file called:
project_context.mdThis file contains a full dump of your project’s readable files for easy context loading into LLMs.