r/coolgithubprojects • • 3d ago

llamadoctor - scans your code for llama.cpp 1.0 breaking changes and fixes the safe ones

Post image

llama.cpp hit 1.0 a few days back and quietly removed a bunch of stuff peoples code depends on, functions gone, a flag removed, a header that moved to a different file. couldnt find anything that scans a codebase and tells you whats actually gonna break so i built it

single python file, no dependencies, pip install -e .(Ofcourse after cloning the repo mentioned below) and your done. point it at a folder, it flags everything sorted by how serious it is and links the actual github PR for each one so your not just trusting some random tool. anything with a clean 1:1 fix it offers to apply automatically, asks first, wont touch anything if your git tree isnt clean unless you force it

wrote the whole thing in termux on my phone, no laptop involved, same way i built my last project. link below, open to any feedback since i only had my own stuff to test it against

github.com/hunzo1/llamadoctor

1 Upvotes

0 comments sorted by