gitextract_2efzl1fk/ ├── .assets/ │ └── flow_diagram.md ├── .c2pconfig ├── .github/ │ ├── dependabot.yml │ └── workflows/ │ ├── ci.yml │ ├── release.yml │ └── website.yml ├── .gitignore ├── Cargo.toml ├── LICENSE ├── README.md ├── README_ES.md ├── crates/ │ ├── code2prompt/ │ │ ├── Cargo.toml │ │ ├── src/ │ │ │ ├── args.rs │ │ │ ├── clipboard.rs │ │ │ ├── config.rs │ │ │ ├── config_loader.rs │ │ │ ├── main.rs │ │ │ ├── model/ │ │ │ │ ├── commands.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── prompt_output.rs │ │ │ │ ├── settings.rs │ │ │ │ ├── statistics/ │ │ │ │ │ ├── mod.rs │ │ │ │ │ └── types.rs │ │ │ │ └── template/ │ │ │ │ ├── editor.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── picker.rs │ │ │ │ └── variable.rs │ │ │ ├── token_map.rs │ │ │ ├── tui.rs │ │ │ ├── utils.rs │ │ │ ├── view/ │ │ │ │ ├── formatters.rs │ │ │ │ └── mod.rs │ │ │ └── widgets/ │ │ │ ├── file_selection.rs │ │ │ ├── mod.rs │ │ │ ├── output.rs │ │ │ ├── settings.rs │ │ │ ├── statistics_by_extension.rs │ │ │ ├── statistics_overview.rs │ │ │ ├── statistics_token_map.rs │ │ │ └── template/ │ │ │ ├── editor.rs │ │ │ ├── mod.rs │ │ │ ├── picker.rs │ │ │ └── variable.rs │ │ └── tests/ │ │ ├── common/ │ │ │ ├── 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 │ ├── code2prompt-core/ │ │ ├── Cargo.toml │ │ ├── src/ │ │ │ ├── builtin_templates.rs │ │ │ ├── configuration.rs │ │ │ ├── default_template_md.hbs │ │ │ ├── default_template_xml.hbs │ │ │ ├── file_processor/ │ │ │ │ ├── csv.rs │ │ │ │ ├── default.rs │ │ │ │ ├── ipynb.rs │ │ │ │ ├── jsonl.rs │ │ │ │ ├── mod.rs │ │ │ │ └── tsv.rs │ │ │ ├── filter.rs │ │ │ ├── git.rs │ │ │ ├── lib.rs │ │ │ ├── path.rs │ │ │ ├── selection.rs │ │ │ ├── session.rs │ │ │ ├── sort.rs │ │ │ ├── template.rs │ │ │ ├── tokenizer.rs │ │ │ └── util.rs │ │ ├── templates/ │ │ │ ├── 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 │ │ └── tests/ │ │ ├── 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 │ └── code2prompt-python/ │ ├── .python-version │ ├── Cargo.toml │ ├── pyproject.toml │ ├── python-sdk/ │ │ ├── .gitignore │ │ ├── README.md │ │ ├── __init__.py │ │ ├── code2prompt_rs/ │ │ │ ├── __init__.py │ │ │ └── code2prompt.py │ │ └── examples/ │ │ └── basic_usage.py │ ├── src/ │ │ ├── lib.rs │ │ ├── python.rs │ │ └── python.rs.bak │ └── tests/ │ ├── __init__.py │ ├── conftest.py │ ├── test_config.py │ ├── test_generation.py │ └── test_special_feature.py ├── llms-install.md └── website/ ├── .gitignore ├── .vscode/ │ ├── extensions.json │ └── launch.json ├── README.md ├── astro.config.mjs ├── package.json ├── pnpm-workspace.yaml ├── public/ │ ├── CNAME │ ├── assets/ │ │ ├── css/ │ │ │ └── marquee.css │ │ └── js/ │ │ └── main.js │ └── prism-theme.css ├── src/ │ ├── assets/ │ │ └── examples/ │ │ ├── history_notes/ │ │ │ ├── history_notes/ │ │ │ │ ├── history/ │ │ │ │ │ ├── medieval.txt │ │ │ │ │ ├── renaissance.txt │ │ │ │ │ └── ww2.txt │ │ │ │ └── meta/ │ │ │ │ └── my_revision_goals.txt │ │ │ ├── prompt.md │ │ │ └── question.txt │ │ ├── my_recipes/ │ │ │ ├── my_recipes/ │ │ │ │ ├── pantry/ │ │ │ │ │ └── my_ingredients.txt │ │ │ │ └── recipes/ │ │ │ │ ├── pasta.txt │ │ │ │ ├── pizza.txt │ │ │ │ ├── salad.txt │ │ │ │ └── soup.txt │ │ │ ├── prompt.md │ │ │ └── question.txt │ │ └── node_app/ │ │ ├── node_app/ │ │ │ ├── README.md │ │ │ ├── data/ │ │ │ │ └── sample.json │ │ │ └── src/ │ │ │ ├── index.js │ │ │ └── utils.js │ │ ├── prompt.md │ │ └── question.txt │ ├── components/ │ │ ├── Footer.astro │ │ ├── Header.astro │ │ ├── Section0.astro │ │ ├── Section1.astro │ │ ├── Section2.astro │ │ ├── Section3.astro │ │ └── Section4.astro │ ├── content/ │ │ └── docs/ │ │ ├── blog/ │ │ │ └── 2025.04.11_why_I_wrote_code2prompt.mdx │ │ ├── de/ │ │ │ ├── blog/ │ │ │ │ └── 2025.04.11_why_I_wrote_code2prompt.mdx │ │ │ └── docs/ │ │ │ ├── explanations/ │ │ │ │ ├── glob_pattern_filter.mdx │ │ │ │ ├── glob_patterns.md │ │ │ │ └── tokenizers.md │ │ │ ├── how_to/ │ │ │ │ ├── filter_files.md │ │ │ │ ├── install.mdx │ │ │ │ └── ssh.md │ │ │ ├── references/ │ │ │ │ ├── command_line_options.md │ │ │ │ └── default_template.md │ │ │ ├── tutorials/ │ │ │ │ ├── getting_started.mdx │ │ │ │ ├── learn_filters.mdx │ │ │ │ └── learn_templates.mdx │ │ │ ├── vision.mdx │ │ │ └── welcome.mdx │ │ ├── docs/ │ │ │ ├── explanations/ │ │ │ │ ├── glob_pattern_filter.mdx │ │ │ │ ├── glob_patterns.md │ │ │ │ └── tokenizers.md │ │ │ ├── how_to/ │ │ │ │ ├── filter_files.md │ │ │ │ ├── install.mdx │ │ │ │ └── ssh.md │ │ │ ├── references/ │ │ │ │ ├── command_line_options.md │ │ │ │ └── default_template.md │ │ │ ├── tutorials/ │ │ │ │ ├── configuration.mdx │ │ │ │ ├── getting_started.mdx │ │ │ │ ├── learn_filters.mdx │ │ │ │ └── learn_templates.mdx │ │ │ ├── vision.mdx │ │ │ └── welcome.mdx │ │ ├── es/ │ │ │ ├── blog/ │ │ │ │ └── 2025.04.11_why_I_wrote_code2prompt.mdx │ │ │ └── docs/ │ │ │ ├── explanations/ │ │ │ │ ├── glob_pattern_filter.mdx │ │ │ │ ├── glob_patterns.md │ │ │ │ └── tokenizers.md │ │ │ ├── how_to/ │ │ │ │ ├── filter_files.md │ │ │ │ ├── install.mdx │ │ │ │ └── ssh.md │ │ │ ├── references/ │ │ │ │ ├── command_line_options.md │ │ │ │ └── default_template.md │ │ │ ├── tutorials/ │ │ │ │ ├── getting_started.mdx │ │ │ │ ├── learn_filters.mdx │ │ │ │ └── learn_templates.mdx │ │ │ ├── vision.mdx │ │ │ └── welcome.mdx │ │ ├── fr/ │ │ │ ├── blog/ │ │ │ │ └── 2025.04.11_why_I_wrote_code2prompt.mdx │ │ │ └── docs/ │ │ │ ├── explanations/ │ │ │ │ ├── glob_pattern_filter.mdx │ │ │ │ ├── glob_patterns.md │ │ │ │ └── tokenizers.md │ │ │ ├── how_to/ │ │ │ │ ├── filter_files.md │ │ │ │ ├── install.mdx │ │ │ │ └── ssh.md │ │ │ ├── references/ │ │ │ │ ├── command_line_options.md │ │ │ │ └── default_template.md │ │ │ ├── tutorials/ │ │ │ │ ├── getting_started.mdx │ │ │ │ ├── learn_filters.mdx │ │ │ │ └── learn_templates.mdx │ │ │ ├── vision.mdx │ │ │ └── welcome.mdx │ │ ├── ja/ │ │ │ ├── blog/ │ │ │ │ └── 2025.04.11_why_I_wrote_code2prompt.mdx │ │ │ └── docs/ │ │ │ ├── explanations/ │ │ │ │ ├── glob_pattern_filter.mdx │ │ │ │ ├── glob_patterns.md │ │ │ │ └── tokenizers.md │ │ │ ├── how_to/ │ │ │ │ ├── filter_files.md │ │ │ │ ├── install.mdx │ │ │ │ └── ssh.md │ │ │ ├── references/ │ │ │ │ ├── command_line_options.md │ │ │ │ └── default_template.md │ │ │ ├── tutorials/ │ │ │ │ ├── getting_started.mdx │ │ │ │ ├── learn_filters.mdx │ │ │ │ └── learn_templates.mdx │ │ │ ├── vision.mdx │ │ │ └── welcome.mdx │ │ ├── ru/ │ │ │ ├── blog/ │ │ │ │ └── 2025.04.11_why_I_wrote_code2prompt.mdx │ │ │ └── docs/ │ │ │ ├── explanations/ │ │ │ │ ├── glob_pattern_filter.mdx │ │ │ │ ├── glob_patterns.md │ │ │ │ └── tokenizers.md │ │ │ ├── how_to/ │ │ │ │ ├── filter_files.md │ │ │ │ ├── install.mdx │ │ │ │ └── ssh.md │ │ │ ├── references/ │ │ │ │ ├── command_line_options.md │ │ │ │ └── default_template.md │ │ │ ├── tutorials/ │ │ │ │ ├── getting_started.mdx │ │ │ │ ├── learn_filters.mdx │ │ │ │ └── learn_templates.mdx │ │ │ ├── vision.mdx │ │ │ └── welcome.mdx │ │ └── zh/ │ │ ├── blog/ │ │ │ └── 2025.04.11_why_I_wrote_code2prompt.mdx │ │ └── docs/ │ │ ├── explanations/ │ │ │ ├── glob_pattern_filter.mdx │ │ │ ├── glob_patterns.md │ │ │ └── tokenizers.md │ │ ├── how_to/ │ │ │ ├── filter_files.md │ │ │ ├── install.mdx │ │ │ └── ssh.md │ │ ├── references/ │ │ │ ├── command_line_options.md │ │ │ └── default_template.md │ │ ├── tutorials/ │ │ │ ├── getting_started.mdx │ │ │ ├── learn_filters.mdx │ │ │ └── learn_templates.mdx │ │ ├── vision.mdx │ │ └── welcome.mdx │ ├── content.config.ts │ ├── layouts/ │ │ ├── BaseLayout.astro │ │ └── BlogPostLayout.astro │ ├── pages/ │ │ ├── index.astro │ │ └── robots.txt.ts │ └── styles/ │ └── global.css └── tsconfig.json