A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.
Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.
A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.
A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.
code2prompt is an open-source project. It is released under the MIT license.
Yes. code2prompt is free and open source — you can use, modify and self-host it.
Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.
[](https://olud.ai/project/mufeedvh-code2prompt.html)