{"repo":"shaneholloman/codemapper","free":true,"listed":false,"github":"https://github.com/shaneholloman/codemapper","clone":"git clone https://github.com/shaneholloman/codemapper.git","description":"Perfect for AI Prompts. CodeMapper is a python script that creates a comprehensive Markdown document representing the structure and contents of any given code base","language":"Python","stars":31,"topics":["ai","markdown","prompting","python"],"license":"MIT","category":"ai-agents","readme_excerpt":"CodeMapper Converts codebases/docs into single-file Markdown documents for language model context and code analysis. What It Does CodeMapper scans a directory or GitHub repository and generates a comprehensive Markdown file containing: - Complete directory tree structure - All file contents with syntax highlighting - Git metadata (branch, commit, remote) Files are filtered intelligently - binary files, lock files, cache directories, and files over 300k characters are excluded. Installation Basic Usage Output By default, CodeMapper creates .codemaps/ in your current directory: - project.codemap.md - Full codebase map - project.docmap.md - Documentation-only map (with --docs flag) Options Configuration [!IMPORTANT] Without setting codemapper defaults, it will make .codemaps/ in the current directory. Which is a sane default for projects. Optional Configuration Copy codemapper.example.toml to /.codemapper/codemapper.toml for optional configuration: Precedence: CLI --output-dir Config output dir Config prefix style Default ( .codemaps/ in current directory) Without config: Creates .codemaps/ where you run the command (project-level management) With output dir set: All codemaps go to one centralized location (system-level management) What Gets Excluded Always excluded: - .git/ , .venv/ , .conda/ , node modules/ - Cache directories: .ruff cache/ , .pytest cache/ , pycache / , etc. - System files: .DS Store , Thumbs.db - Lock files: uv.lock , package-lock.json , yarn.lock , etc. - A","default_branch":null,"files":null,"tree":[],"storefront":"/r/shaneholloman","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shaneholloman/codemapper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}