mpociot / chatgpt-vscode

A VSCode extension that allows you to use ChatGPT
4.96k stars 366 forks source link

Publish plugin to Open VSX Registry #24

Open mmailaender opened 1 year ago

mmailaender commented 1 year ago

We’re using Gitpod for development, and it uses VS Code Browser. You can’t install directly Plugins from the Microsoft VSCode marketplace. Instead, you need to install the Plugins from the Open VSX Registry. For that to work, the Plugin creator, need to publish their Plugin to this Open source registry.

The publishing seems quite easy - the only thing is, you need to create an account there to publish: Publishing Extensions · eclipse/openvsx Wiki · GitHub Github Action: GitHub - HaaLeo/publish-vscode-extension: GitHub action to publish your VS Code Extension to the Open VSX Registry or Visual Studio Marketplace.

timkmecl commented 1 year ago

Hi @mmailaender, I have just published my version (the same one that is on the VSCode Marketplace): https://open-vsx.org/extension/timkmecl/chatgpt

However, I am not sure this is going to work well at Gitpod if it runs in a cloud. I am not familiar with it, but if the IP address from where the request to ChatGPT is made is different then the one where the authentication tokens are from, CloudFlare will prevent it from working.