regenrek/codefetch
Turn code into Markdown for LLMs with one simple terminal command
This tool helps software developers and teams prepare their code for analysis by Large Language Models (LLMs). It takes a Git repository or local codebase as input and converts it into a structured Markdown document. This output is ideal for feeding into AI chat tools to ask questions, refactor, or get explanations about your code.
420 stars. Available on npm.
Use this if you need to quickly get a comprehensive, AI-ready overview of a codebase, including token counts, to leverage generative AI for code understanding, review, or migration.
Not ideal if you're looking for an automated code review system or a tool to directly modify your codebase based on AI suggestions.
Stars
420
Forks
21
Language
TypeScript
License
MIT
Category
Last pushed
Dec 07, 2025
Commits (30d)
0
Dependencies
7
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/regenrek/codefetch"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
ogre-run/miniogre
Automate the generation of infrastructure and documentation files from source code
JackBekket/Reflexia
Autodoc project, aimed to autonomously generating documentation for any code repository and...
JordanCoin/docmap
Instant documentation structure for LLMs and humans. Sister tool to codemap.
littlebearapps/pitchdocs
Turn any codebase into professional, marketing-ready GitHub documentation — powered by AI coding...
czottmann/interfazzle
A Swift CLI tool for building simple Markdown docs for a package's public interface from its...