code2prompt

code2prompt, kod tabanını kaynak ağacı, şablonlar ve token sayımıyla büyük dil modelleri için tek bir isteme dönüştüren bir bağlam mühendisliği aracıdır. Rust ile yazılmış CLI cargo veya Homebrew ile kurulur; Python SDK'sı ve ajanlar için bir skill da sunar. Çıktı varsayılan olarak stdout'a gider, istenirse panoya veya dosyaya yazılır.

CO

mufeedvh · Terminal & CLI

STARS7.7K
FORKS459
COMMITS0
CONTRIBUTORS0
VERSIONv4.2.0
UPDATEDtoday
AIchatgptclaudecliMIT
What can it do?
  • Kod tabanını tek komutla (code2prompt .) LLM'e verilecek bir isteme dönüştürürsün
  • Dosyaları glob desenleriyle dahil edip hariç tutar, .gitignore kurallarını kullanırsın
  • Handlebars şablonlarıyla istemi farklı kullanım senaryolarına göre özelleştirirsin
User reviews
  • ↓ NegativeGitHub Issue

    I would like to discuss exclude and clipboad.

    “Basically, I am a Mac developer. However, I sometimes develop on Ubuntu with Windows WSL2 due to circumstances. I can use Mac without any problem, but in WSL2 environment, the following commands do not work as expected. 1.`code2prompt /home/USER/PJ…”

  • • NeutralGitHub Issue

    --include-priority merely negates --exclude

    “Thank you for creating this wonderful tool which I use often. Does the `--include-priority` flag actually do anything? From my testing all it does is negate the --exclude so you would get the same result if you didn't use --exclude and you didn't use --include-priority. But…”

Verified against README · Oct 30, 2026 · source

My note

More in: Terminal & CLI