Introduce AI generated messages
Description of the problem
Sometimes you find yourself unable to find a fitting commit message.
Solution
- Utilising the OpenAI API
gitmojicould generate fitting commit messages based on the diff of the staged changes. - 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
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guide.
- [X] Check that there isn't already an issue requesting the same feature.
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 😊
Closed the PR but keeping this issue open to see if people have general interest in a feature like this.