← all repositories

raphaelmansuy/code2prompt

A command-line tool that transforms codebases into comprehensive prompts for use with Large Language Models.

code2prompt
Collecting fresh signals — velocity needs a few days of history.
collecting data…
star history

Code2Prompt generates Markdown files containing codebase content, designed to provide context to LLMs for code analysis, documentation, and improvement tasks. It offers a templating system, GitHub Actions integration, and CLI options for customizing how code is extracted and formatted into prompts that developers can feed to language models.

Frequently asked

What is raphaelmansuy/code2prompt?
A command-line tool that transforms codebases into comprehensive prompts for use with Large Language Models.
Is code2prompt open source?
Yes — raphaelmansuy/code2prompt is open source, released under the MIT license.
What language is code2prompt written in?
raphaelmansuy/code2prompt is primarily written in Python.
How popular is code2prompt?
raphaelmansuy/code2prompt has 883 stars on GitHub.
Where can I find code2prompt?
raphaelmansuy/code2prompt is on GitHub at https://github.com/raphaelmansuy/code2prompt.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.