Code2prompt

Code2prompt is a command line tool that converts a codebase into a single LLM prompt. It includes source tree representation, prompt templating functionality, and token counting capabilities. Installation options include Cargo, Homebrew, and a pip SDK.

GitHub repo Directory import
0 shouts Added Sep 23, 2026 github.com
github.com/mufeedvh/code2prompt
Code2prompt website preview

Links

Tags