Hacker News new | ask | show | jobs
by tandav 990 days ago
Does anyone know vscode extension that can use OpenAI API to perform code completions like Copilot?

There are several ChatGPT-like UIs that you can self host and pay only for API and not for ChatGPT plus. For example, I'm using https://github.com/Yidadaa/ChatGPT-Next-Web. It would be nice to use Copilot in the same way.

3 comments

continue.dev can complete code as well, but it is not a mere code completion plugin like copilot, it is more like an interactive chatbot where you can edit and talk about parts of the code which you have selected.

for mere code completion there is this: https://github.com/FarisHijazi/PrivateGitHubCopilot

but I haven't tested it.

You can modify this one to do that - or write your own using the same approach:

https://github.com/danielgross/localpilot

In my own testing, Copilot has much better suggestions compared to GPT-4