← all repositories

mufeedvh/code2prompt

A Rust-based CLI tool that ingests a codebase and produces a structured, token-counted prompt for use with LLMs.

7.4k stars Rust Coding Assistants
code2prompt
Velocity · 7d
+9.0
★ / day
Trend
steady
star history

Code2Prompt is a context engineering tool that walks a source tree, formats code files into a single prompt, and supports templating for customization. It includes token counting to help manage context window limits when feeding code to language models.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.