code2prompt
A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.
File Explorer
Download Latest Version (.zip)- CLI.png
- demo.gif
- flow_diagram.md
- flow_diagram.png
- logo_dark_v0.0.1.svg
- logo_dark_v0.0.2.svg
- ci.yml
- release.yml
- website.yml
- dependabot.yml
- 2026-06-09-documentation-enhancement.md
- mod.rs
- types.rs
- editor.rs
- mod.rs
- picker.rs
- variable.rs
- commands.rs
- mod.rs
- prompt_output.rs
- settings.rs
- formatters.rs
- mod.rs
- editor.rs
- mod.rs
- picker.rs
- variable.rs
- file_selection.rs
- mod.rs
- output.rs
- settings.rs
- statistics_by_extension.rs
- statistics_overview.rs
- statistics_token_map.rs
- args.rs
- clipboard.rs
- config.rs
- config_loader.rs
- main.rs
- token_map.rs
- tui.rs
- utils.rs
- fixtures.rs
- mod.rs
- test_env.rs
- config_test.rs
- git_integration_test.rs
- integration_test.rs
- std_output_test.rs
- template_integration_test.rs
- Cargo.toml
- csv.rs
- default.rs
- ipynb.rs
- jsonl.rs
- mod.rs
- tsv.rs
- analysis.rs
- builtin_templates.rs
- configuration.rs
- default_template_md.hbs
- default_template_xml.hbs
- entity_map.rs
- filter.rs
- git.rs
- lib.rs
- path.rs
- selection.rs
- session.rs
- sort.rs
- template.rs
- tokenizer.rs
- util.rs
- binary-exploitation-ctf-solver.hbs
- clean-up-code.hbs
- cryptography-ctf-solver.hbs
- document-the-code.hbs
- find-security-vulnerabilities.hbs
- fix-bugs.hbs
- improve-performance.hbs
- refactor.hbs
- reverse-engineering-ctf-solver.hbs
- web-ctf-solver.hbs
- write-git-commit.hbs
- write-github-pull-request.hbs
- write-github-readme.hbs
- analysis.rs
- binary_detection_test.rs
- file_processor_test.rs
- filter_test.rs
- git_test.rs
- path_test.rs
- session_integration_test.rs
- sort_test.rs
- template_test.rs
- util_test.rs
- Cargo.toml
- __init__.py
- code2prompt.py
- basic_usage.py
- .gitignore
- __init__.py
- README.md
- lib.rs
- python.rs
- python.rs.bak
- __init__.py
- conftest.py
- test_config.py
- test_generation.py
- test_special_feature.py
- .python-version
- Cargo.toml
- pyproject.toml
- requirements-dev.lock
- requirements.lock
- extensions.json
- launch.json
- curse_of_dimensionality.png
- playground.png
- header.jpg
- overlay1.png
- overlay2.png
- overlay3.svg
- overlay4.svg
- marquee.css
- architecture.svg
- Claude.svg
- Deepseek.svg
- Gemini.svg
- Groq.svg
- Mistral.svg
- Mistral2.svg
- odancona.png
- Ollama.svg
- OpenAI.svg
- Qwen.svg
- tui1.png
- tui2.png
- tui3.png
- tui4.png
- tui5.png
- jquery.min.js
- jquery.scrolly.min.js
- main.js
- fa-brands-400.eot
- fa-brands-400.svg
- fa-brands-400.ttf
- fa-brands-400.woff
- fa-brands-400.woff2
- fa-regular-400.eot
- fa-regular-400.svg
- fa-regular-400.ttf
- fa-regular-400.woff
- fa-regular-400.woff2
- fa-solid-900.eot
- fa-solid-900.svg
- fa-solid-900.ttf
- fa-solid-900.woff
- fa-solid-900.woff2
- CNAME
- favicon.svg
- prism-theme.css
- medieval.txt
- renaissance.txt
- ww2.txt
- my_revision_goals.txt
- prompt.md
- question.txt
- my_ingredients.txt
- pasta.txt
- pizza.txt
- salad.txt
- soup.txt
- prompt.md
- question.txt
- sample.json
- index.js
- utils.js
- README.md
- prompt.md
- question.txt
- architecture.png
- CLI.svg
- filter.png
- houston.webp
- logo_dark_v0.0.1.svg
- logo_dark_v0.0.2.svg
- logo_light_v0.0.1.svg
- MCP.svg
- SDK.svg
- Footer.astro
- Header.astro
- Section0.astro
- Section1.astro
- Section2.astro
- Section3.astro
- Section4.astro
- 2025.04.11_why_I_wrote_code2prompt.mdx
- 2025.04.11_why_I_wrote_code2prompt.mdx
- glob_pattern_filter.mdx
- glob_patterns.md
- tokenizers.md
- cli.mdx
- config.mdx
- filter_files.md
- install.mdx
- ssh.md
- tui.mdx
- command_line_options.md
- default_template.md
- configuration.mdx
- getting_started.mdx
- learn_filters.mdx
- learn_templates.mdx
- tui.mdx
- vision.mdx
- welcome.mdx
- glob_pattern_filter.mdx
- glob_patterns.md
- tokenizers.md
- cli.mdx
- config.mdx
- install.mdx
- ssh.mdx
- tui.mdx
- configuration.mdx
- getting_started.mdx
- learn_filters.mdx
- learn_templates.mdx
- tui.mdx
- vision.mdx
- welcome.mdx
- 2025.04.11_why_I_wrote_code2prompt.mdx
- glob_pattern_filter.mdx
- glob_patterns.md
- tokenizers.md
- cli.mdx
- config.mdx
- filter_files.md
- install.mdx
- ssh.md
- tui.mdx
- command_line_options.md
- default_template.md
- configuration.mdx
- getting_started.mdx
- learn_filters.mdx
- learn_templates.mdx
- tui.mdx
- vision.mdx
- welcome.mdx
- 2025.04.11_why_I_wrote_code2prompt.mdx
- glob_pattern_filter.mdx
- glob_patterns.md
- tokenizers.md
- cli.mdx
- config.mdx
- filter_files.md
- install.mdx
- ssh.md
- tui.mdx
- command_line_options.md
- default_template.md
- configuration.mdx
- getting_started.mdx
- learn_filters.mdx
- learn_templates.mdx
- tui.mdx
- vision.mdx
- welcome.mdx
- 2025.04.11_why_I_wrote_code2prompt.mdx
- glob_pattern_filter.mdx
- glob_patterns.md
- tokenizers.md
- cli.mdx
- config.mdx
- filter_files.md
- install.mdx
- ssh.md
- tui.mdx
- command_line_options.md
- default_template.md
- configuration.mdx
- getting_started.mdx
- learn_filters.mdx
- learn_templates.mdx
- tui.mdx
- vision.mdx
- welcome.mdx
- 2025.04.11_why_I_wrote_code2prompt.mdx
- glob_pattern_filter.mdx
- glob_patterns.md
- tokenizers.md
- cli.mdx
- config.mdx
- filter_files.md
- install.mdx
- ssh.md
- tui.mdx
- command_line_options.md
- default_template.md
- configuration.mdx
- getting_started.mdx
- learn_filters.mdx
- learn_templates.mdx
- tui.mdx
- vision.mdx
- welcome.mdx
- 2025.04.11_why_I_wrote_code2prompt.mdx
- glob_pattern_filter.mdx
- glob_patterns.md
- tokenizers.md
- cli.mdx
- config.mdx
- filter_files.md
- install.mdx
- ssh.md
- tui.mdx
- command_line_options.md
- default_template.md
- configuration.mdx
- getting_started.mdx
- learn_filters.mdx
- learn_templates.mdx
- tui.mdx
- vision.mdx
- welcome.mdx
- BaseLayout.astro
- BlogPostLayout.astro
- index.astro
- robots.txt.ts
- global.css
- content.config.ts
- .gitignore
- astro.config.mjs
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- tsconfig.json
- .c2pconfig
- .gitignore
- Cargo.lock
- Cargo.toml
- LICENSE
- llms-install.md
- README.md
- README_ES.md
// repository documentation
Was this content helpful?
(0 ratings)
