regenrek/codefetch

Turn code into Markdown for LLMs with one simple terminal command

53
/ 100
Established

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.

software-development code-analysis llm-prompting developer-tools codebase-documentation
Maintenance 6 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 12 / 25

How are scores calculated?

Stars

420

Forks

21

Language

TypeScript

License

MIT

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.