Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.
Code2Prompt is a Command Line Interface (CLI) tool designed to streamline the process of converting codebases into well-structured prompts for large language models (LLMs). By analyzing the source tree and leveraging prompt templating, it automates the task of gathering information about your code and formatting it for AI tools.
Installation is simple with package managers like Cargo and Homebrew. Follow the official documentation for more details on setup and usage.
Engage with fellow developers and contribute to the project via their Discord channel!