DEV Community

Cover image for OpenCommit: feature-rich CLI to generate meaningful git commit messages now supports local models via Ollama 🤯🔫

OpenCommit: feature-rich CLI to generate meaningful git commit messages now supports local models via Ollama 🤯🔫

Dima Sukharev on February 28, 2024

Hi OpenCommit is a CLI to generate commit messages, you can try it right now by running npx opencommit in any repo you have changed code in. I su...
Collapse
 
ben profile image
Ben Halpern •

Cool progress. Definitely into this sort of thing being local.

Collapse
 
disukharev profile image
Dima Sukharev •

local mistral is ofc way less performative comparing to gpt-4 turbo, but it's a matter of time when they introduce a more capable model and you just switch to it with a single line like oco config set MODEL=mistral100x1b :)

Collapse
 
ar8yz profile image
Arseniy Kerimov •

impressive

Collapse
 
kapuka_vlad profile image
Влад Капука •

How does the local model feature impact the tool's performance?

Collapse
 
ar8yz profile image
Arseniy Kerimov •

Can OpenCommit suggest commit messages for very large codebases effectively?

Collapse
 
disukharev profile image
Dima Sukharev •

yep, it can, it splits the git diff if it's too large, but current models anyway have extremely large contexts, so it's not an issue anymore

Collapse
 
timofey_klykov_7aebef06c3 profile image
Timofey Klykov •

Wowowowowowowowowowowowow

Collapse
 
dmitry_i_57e465c3faaac74f profile image
Dmitry i •

More privacy for our code! Nice!

Collapse
 
serjobas profile image
Sergey Bunas •

great think

Collapse
 
lookatanton profile image
Anton Kalinin •

🤯🔫

Collapse
 
glebthebread profile image
GlebTheBread •

That’s what I need! 👾

Collapse
 
arsts profile image
arsts •

What's the feedback from the developer community on this tool?

Collapse
 
disukharev profile image
Dima Sukharev •

it has been dowloaded more than 40k times and opencommit is growing organically by 1k downloads each week

Collapse
 
eyalshalev profile image
Eyal Shalev •

Have you considered deno support?

Their deno install provides guarantees that data won't be sent to unauthorized websites.