DEV Community

Dima Sukharev
Dima Sukharev

Posted on • Edited on

OpenCommit: killing lame commits with generative AI ๐Ÿคฏ๐Ÿ”ซ (open-source)

first โ€” let's grow my twitter, so i can tell about my inventions quicker and make the world even better place (or not, idk)


opencommit โ€” comparison

A month ago I opensourced OpenCommit.

Now you can switch to GPT-4 and see how it answers WHY and WHAT change was done ๐Ÿคฏ๐Ÿ”ซ

How to install OpenCommit

Simply install it globally with npm, to use in any repo:

npm i -g opencommit
Enter fullscreen mode Exit fullscreen mode

After installing type oc and hit "Enter" in a terminal:

oc
Enter fullscreen mode Exit fullscreen mode

If you want to edit a commit and make OpenCommit to be used by your IDE do:

oc hook set
Enter fullscreen mode Exit fullscreen mode

That's it โ€” have fun ;)

Top comments (1)

Collapse
 
dmitry_i_57e465c3faaac74f profile image
Dmitry i

Whoaaa, this is serious! I've been waiting for something like this lib to come along and save me from all those ยซfixedยป commits.