gitmoji-cli icon indicating copy to clipboard operation
gitmoji-cli copied to clipboard

Introduce AI generated messages

Open segersniels opened this issue 2 years ago • 2 comments

Description of the problem

Sometimes you find yourself unable to find a fitting commit message.

Solution

  1. Utilising the OpenAI API gitmoji could generate fitting commit messages based on the diff of the staged changes.
  2. Check for a configured OPENAI_API_KEY

Alternatives

https://github.com/segersniels/gitmoji https://genmoji.xyz

I added support to @segersniels/gitmoji based on my original implementation of genmoji.xyz through gitmoji commit --generate with the option to provide additional context gitmoji commit --generate --context.

Additional context

No response

Validations

segersniels avatar May 05 '23 09:05 segersniels

Hey!

Thanks for opening the issue, I believe it can be a great addition into the cli 😊

I don't have a lot of time now so if you want to raise a Pull-Request I would be more than happy to review it 😊

carloscuesta avatar May 05 '23 11:05 carloscuesta

Closed the PR but keeping this issue open to see if people have general interest in a feature like this.

segersniels avatar Jun 19 '23 18:06 segersniels