Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🧹 AI Code Scraper (LLM-friendly)

Scrapes a project directory into a single Markdown snapshot (Projectcode.md) for easy sharing with an AI. Filters secrets/binaries, uses relative paths, includes a directory tree, manifest, and per-file code blocks with language hints.

✨ Features

  • Code-only mode (ask at runtime)
  • Filters: .env, .git/, node_modules/, binaries, big files
  • Relative paths (no username leaks)
  • LLM-ready Markdown with tree, stats, and code fences

🚀 Usage

python scraper.py
# 1) enter folder to scrape
# 2) enter output folder
# 3) (optional) choose output filename
# 4) choose code-only mode (y/N)

About

A lightweight Python utility that extracts source code from an entire project directory into a single formatted file. Designed for AI-assisted code reviews, it preserves project structure and file context without exposing sensitive paths, making it easy to share projects with LLMs.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages