
DiffSense
Local AI git commit generator for Apple Silicon
455 followers
Local AI git commit generator for Apple Silicon
455 followers
DiffSense uses the native AFM 3B model on Apple Silicon to generate git commit messages for free. It runs locally with zero latency, ensuring your code stays private. Features customizable message styles and powerful alias macros.










Flowtica Scribe
Hi everyone!
André @conduit_design shared this tool with me and I immediately thought it was such a smart use of the hardware we already own.
If you are burning API credits just to get AI commit messages, DiffSense solves this by using the native AFM 3B model directly on your Mac. It runs locally, which means it is completely free and private.
It feels like a native dev tool with zero latency. If you are on an Apple Silicon Mac, this is basically a free upgrade for your git workflow.
Give it a try!😽
DiffSense
Flowtica Scribe
@conduit_design Always love on-device AI use cases. Happy coding!
Warestack
Super convenient, especially now that so much code is written with AI assistants!
A killer next feature would be diff grouping with tailored commit messages per group - this would be a huge win for large, messy PRs.
DiffSense
@dkargatzis Yeah, diff grouping could be helpful for larger changes. Thanks for the feedback! we’ll be rolling it out in the next version :)
Warestack
DiffSense
@dkargatzis Sure, we in fact have an issue tracker for the same. https://github.com/edgeleap/diffsense/issues/49 Please feel free to add any additional requests. Thanks!
Warestack
@prastik I've noticed that, yes. And, I've already described the path I'd follow to support this feature without hallucinations for huge diffs!
DiffSense
Product Hunt Wrapped 2025
Been paying API pennies for commit msgs. Adds up, kinda silly. Local on M1 with instant output sounds right. If it nails conventional commits and doesn't overdo it, I'm in. I'll try it on a small repo tonight.
DiffSense
@alexcloudstar Totally agree. Code diffs are something local LLMs handle really well.
We’ve also added multiple message styles (minimal, default, verbose) so you can match your project’s tone, and you can also bring your own prompts to enforce rules.
Would love to hear how it feels on your repo, keen on your feedback.
DiffSense
@alexcloudstar Totally get you — I was also shocked seeing how much those tiny API calls add up! 😅 Running locally on M1 sounds perfect.
Wow, DiffSense is awesome! Super excited about the zero-latency commit messages with the local model. Does it handle larger, more complex diffs gracefully, or is there a suggested diff size limit for optimal performance?
DiffSense
@jaydev13 Yes. we shipped large diff support 2h before launch 😅. For very complex commits, try the --pcc and --chatgpt flags for greater fidelity. We will also ship a batching feature soon, that will trade some speed for more fidellity even on apples --afm local 3B native llm. And also segmented commits, where one big refactor is segmented into neat structured commits grouped where things naturally belong etc. + Lots more we envision to supercharge the commit history of any project. We think git history will be a treasure throw for AIs soon, to reason about codebases and how to solve problems holistically.
I have been using GPT-4 wrapper for this but the latency is annoying . How does the AFM 3b handle larger diffs ?
DiffSense
@farhan_nazir55 Exactly, that’s why we designed it this way. We use a dynamic budgeting strategy so larger diffs don’t overload the 3B AFM model while keeping output quality consistent. Each file gets a calculated character budget, and we intelligently prune less meaningful parts so the model still sees all relevant changes across all the files.
If you’re interested, the full algorithm is documented here: https://github.com/edgeleap/diffsense/issues/34
And if you have ideas to improve it, feel free to open an issue on GitHub, we would love the input. Thanks!
@prastik Sure , I will dive into the repo and if i run into any edge cases , i will definitely open an issue. Thanks for the breakdown!
Swytchcode
Really amazing. Please bring it out for Gitlab and Bitbucket :)
DiffSense
@chilaraiIn fact, Diffsense is VCS-agnostic, so you can run it on any Git-managed repository, including GitLab and others. You can try it out right away, Thanks!
minimalist phone: creating folders
Someone is going for No1.
DiffSense
@busmark_w_nika My local Apple Silicon outreach agent is heating up the entire house 😏