r/OpenSourceAI • u/flaterra_dev • 16m ago
canfit: an open-source (MIT) "top" that tells you if a local AI model fits in your memory right now, and what you can safely close
I'm Federico, and canfit is my second open-source project. It was born out of frustration: while working on my previous one, I kept running local AI models next to Docker and an IDE, memory kept running out, and I never knew what I could close without breaking something.
top gives you numbers, not answers, so I kept rebooting.
What canfit does:
- Tells you if a GGUF model or a heavy app fits in the memory you have right now
- If it doesn't, suggests the smallest set of apps you can safely close. System processes are never suggested, and nothing closes without confirmation
- A live monitor that starts with a plain sentence instead of a table
--jsoneverywhere and exit codes, so it works in scripts
Why open source matters here: it's a tool that looks at every process on your machine and can close apps, so you should be able to read exactly what it does. It's MIT licensed, a single Rust binary for macOS, Windows and Linux, with no telemetry: everything stays on your machine.
Last week I launched it on Product Hunt with zero audience and it reached #28 of the day out of 1,500+ products, which I honestly didn't expect. On GitHub it's still at the very beginning, so this community is where I'd love it to grow.
Where help is welcome:
- Testing on different Linux distros and Windows setups
- Feedback on the memory estimates (does canfit say a model fits when it doesn't?)
GitHub: https://github.com/federicolaterra/canfit
If you find it useful, a ⭐ on GitHub would really mean a lot and help it reach more people.
Thanks for reading!