pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor
MIT License
2.43k stars 137 forks source link

[feature request] Commit / Pull request description written by ChatGPT #501

Open leikoilja opened 8 months ago

leikoilja commented 8 months ago

feature request

It's easy to get Open AI ChatGPT api token. Octo.nvim already has an access to the committed/stages files and can write PR description or commit message. It would be amazing to put those together, hit a key binding and make ChatGPT prefill PR description or commit message, just like Copilot does in Github's enterprise plan.

legobeat commented 4 months ago

IMO any SaaS integration beyond the forge (github) is not something that belongs on Octo.nvim - but you should be able to do that by integrating it yourself in a keybinding and a script?

Maybe Octo.nvim can provide a convenient hook for messages that can trigger arbitrary scripts and act on stdout?

leikoilja commented 4 months ago

IMO any SaaS integration beyond the forge (github) is not something that belongs on Octo.nvim - but you should be able to do that by integrating it yourself in a keybinding and a script?

Maybe Octo.nvim can provide a convenient hook for messages that can trigger arbitrary scripts and act on stdout?

that indeed could be a good middle-ground if octo.nvim would have convenient hooks that other apps/scripts can interact with :)