codejunkie99 / ztk
PublicCLI proxy that reduces LLM token consumption by 78%+. Single Zig binary under 260KB. Zero dependencies.
ztk is a lightweight proxy that intercepts and compresses shell command outputs to minimize token usage for AI coding assistants.
How It Works
While using your AI coding helper, you notice it's wasting space on long command outputs like file lists or test results, then learn about ztk that smartly shortens them.
You add ztk to your computer with one easy install command, and it's ready in seconds as a tiny helper tool.
Run a quick setup so your AI coding tool automatically sends commands through ztk for cleaner, shorter replies.
Now when your AI checks git changes, lists files, or runs tests, ztk packs the info tightly so only key details show up.
Peek at the savings report to see huge cuts in wasted space, like turning thousands of words into dozens.
Your AI helper thinks faster with less clutter, saving time and costs while keeping all the important info.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.