Effortlessly consolidate your entire codebase into a single, well-structured Markdown file with this CLI tool. Designed to make large codebases more LLM-friendly, CodeBaseMD provides a streamlined way to improve context when working with AI tools, perfect for developers leveraging AI-driven coding assistance.
npm
npx codebasemdbun
bunx codebasemdbunx codebasemd --helpbun add codebasemd --devbun run codebasemdInstall the dependencies:
bun installBuild:
bun run buildUse local build:
bun run genBun is a fast JavaScript all-in-one toolkit.
It should work, just run the npx equivalent
npx codebasemdUse bunx to auto-install and run packages from npm. It's Bun's equivalent of npx or yarn dlx
- Implement tests
- Support more configuration options
- truncate large files
--truncate=<middle|top|bottom>--truncate-percent=10will truncate 10% starting from--truncatearg only when the file exceeds--max-linesarg - support ignore globs in eslint and tsconfig