pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

leikoilja opened this issue · comments

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.

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?

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 :)