Yek: Serialize your code repo (or part of it) to feed into any LLM
7 comments
·January 19, 2025pagekicker
Error: yek: SHA256 mismatch Expected: 34896ad65e8ae7c5e93d90e87f15656b67ed5b7596492863d1da80e548ba7301 Actual: 353f4f7467af25b5bceb66bb29d9591ffe8d620d17bf40f6e0e4ec16cd4bd7e7 File: /Users/... Library/Caches/Homebrew/downloads/0308e13c088cb787ece0e33a518cd211773daab9b427649303d79e27bf723e0d--yek-x86_64-apple-darwin.tar.gz To retry an incomplete download, remove the file above.
Removed & tried again this was the result. Is the SHA256 mismatch a security concern?
mohsen1
Oh totally forgot about homebrew installer. I'll fix it ASAP. Sorry about that.
Edit: Working on a fix here https://github.com/bodo-run/yek/pull/14
You can use the bash installer on macOS for now. You can read the installer file before executing it if you're not sure if it is safe
linschn
That's neat ! I've built a transient UI to do this manually[0] within emacs, but with the context windows getting bigger ang bigger, being more systematic may be the way to go.
The priorization mentioned in the readme is especially interesting.
hbornfree
Thanks for this! I have the exact use-case and have been using a Python script to do this for a while.
TheTaytay
This has some interesting ideas that I hadn’t seen in the other similar projects, especially around trying to sort files according to importance.
(I’ve been using RepoPrompt for this sort of thing lately.)
msoad
This is really fast! Serialized 50k lines in 500ms on my Mac
This looks promising. Hopefully much faster and less naive than Repomix