mohsen1/yek
A fast Rust based tool to serialize text-based files in a repository or directory for LLM consumption
Leverages Git history to intelligently rank file importance—prioritizing key files later in output for optimal LLM attention—while respecting `.gitignore` rules and auto-detecting binary/large files. Supports flexible output modes including streaming to pipes, JSON formatting, token-based context limits, and customizable file ordering via `yek.yaml` configuration. Handles glob patterns, multi-directory processing, and line-number insertion for precise code reference.
2,435 stars.
Stars
2,435
Forks
63
Language
Rust
License
MIT
Category
Last pushed
Mar 03, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/mohsen1/yek"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
rtk-ai/rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust...
jnsahaj/lumen
Beautiful git diff viewer, generate commits with AI, get summary of changes, all from the CLI
jkawamoto/ctranslate2-rs
Rust bindings for OpenNMT/CTranslate2
Topos-Labs/infiniloom
High-performance repository context generator for LLMs - Transform codebases into optimized...
mpecan/tokf
Config-driven CLI tool that compresses command output before it reaches an LLM context