code2prompt

code2prompt

mufeedvh

A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.

7.3k Stars
420 Forks
7.3k Watchers
Rust Language
mit License
100 SrcLog Score
Cost to Build
$399.9K
Market Value
$2.56M

Growth over time

4 data points  ·  2025-06-13 → 2026-04-12
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about code2prompt

Question copied to clipboard

What is the mufeedvh/code2prompt GitHub project? Description: "A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.". Written in Rust. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone code2prompt

Clone via HTTPS

git clone https://github.com/mufeedvh/code2prompt.git

Clone via SSH

[email protected]:mufeedvh/code2prompt.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the code2prompt issue tracker:

Open GitHub Issues