Project Icon

code2prompt

Generate LLM Prompts from Codebases Using Customizable Templates

Product Descriptioncode2prompt facilitates the conversion of codebases into detailed LLM prompts with features such as Handlebars template-based prompt customization, token counting, and .gitignore adherence. Users can filter prompts with glob patterns and optionally include Git diffs. The tool supports multiple tokenizers and simplifies saving outputs. With a focus on accessibility, it enhances template reusability for code documentation, bug-fixing, and performance upgrades. It includes straightforward installation options like binary downloads, source builds, AUR, or Nix packages.
Project Details