Skip to content

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.

License

Notifications You must be signed in to change notification settings

bteamapp/python-project-context-dumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Free Python Project Context Dumper

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.


✅ Features

  • ✅ Recursively scans current directory and all subdirectories
  • ✅ Skips media files (images, video, audio)
  • ✅ Skips itself and its generated output
  • ✅ Outputs a clean, Markdown-formatted .md file with relative paths and contents

🚀 Usage

  1. Clone or copy this script into the root of your project:
wget https://raw.githubusercontent.com/yourname/project-context-dumper/main/context_dumper.py

Run the script using Python 3:

python context_dumper.py

You'll get a file called:

project_context.md

This file contains a full dump of your project’s readable files for easy context loading into LLMs.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages