Skip to content
devhub.
ExploreCompareSaved
Sign in
DevHubBuilt for curious developers. Data from GitHub.
Back to repositories
Public repository / raphaelmansuy

code2prompt

Code2Prompt is a powerful command-line tool that simplifies the process of providing context to Large Language Models (LLMs) by generating a comprehensive Markdown file containing the content of your codebase. ⭐ If you find Code2Prompt useful, consider giving us a star on GitHub! It helps us reach more developers and improve the tool. ⭐

View on GitHub
887Stars
58Forks
12Open issues
6Subscribers

Language distribution

Share of source bytes reported by GitHub

Python88%
Jinja12%
Shell<1%

Recent activity

Latest commits on the default branch

Bump idna from 3.7 to 3.15 (#28)dependabot[bot] · Jul 7, 2026Bump jinja2 from 3.1.4 to 3.1.5 (#22)dependabot[bot] · Jan 28, 2025chore: update create-function.j2 (#21)eltociear · Jan 17, 2025Bump tornado from 6.4.1 to 6.4.2 (#20)dependabot[bot] · Dec 12, 2024fix(code2prompt/utils): update is_filtered function to handle exclude patterns, add tests for syntax map (#19)raphaelmansuy · Sep 8, 2024feat(syntax-highlighting): add custom syntax mapping support (#18)raphaelmansuy · Sep 8, 2024Fix/file-selection (#17)raphaelmansuy · Sep 8, 2024

Project details

Created Mar 2024 Updated Oct 2026 MIT License
clillmpython3tools

Contributors

3
raphaelmansuy's avatarraphaelmansuy137 commitsdependabot[bot]'s avatardependabot[bot]4 commitseltociear's avatareltociear1 commits
master(feature): Add interactive mode for file selection
raphaelmansuy · Sep 7, 2024
master(version): Bump version to 0.8.0raphaelmansuy · Sep 7, 2024
Fix/interractive_4 (#16)raphaelmansuy · Sep 7, 2024