Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: