twinnydotdev / twinny

The most no-nonsense, locally or API-hosted AI code completion plugin for Visual Studio Code - like GitHub Copilot but completely free and 100% private.
https://twinny.dev
MIT License
2.36k stars 130 forks source link

Support for web version of vscode? #177

Open Malte0621 opened 4 months ago

Malte0621 commented 4 months ago

Is your feature request related to a problem? Please describe. Yes and no, it would be nice to be able to use the extension on the web version of vscode.

Describe the solution you'd like A compatibility fix for the web version of vscode.

Describe alternatives you've considered I've considered using a different extension called tabby but it has the downside of requiring their custom hosting software and not being able to use any hosting (like llama.cpp/lmstudio/etc..)

Additional context Although I don't personally use the web version it would be nice to support it for those using it or when I'm on a restricted computer or device. (Like in a library or at school.)

rjmacarthy commented 4 months ago

Hey, thanks for the interest.

At first glance (I could be wrong) It seems like quite a bit of work and effort to support the web browser, removing apis which aren't supported/are supported etc. This most likely means I won't spend the time to make it happen, sorry. However, if there is anyone else that would like to give it a go, they can make a PR for it.

corysus commented 4 months ago

From version to version, this extension continues to improve, and adding support for code-server or vscode server would be highly beneficial. As more individuals utilize cloud-based integrated development environments, such as Coder, I personally miss this extension when working on my iPad :)

iamangus commented 4 months ago

I host code-server out of my local k8s cluster where I also run Ollama and would love to be able to integrate this.

rjmacarthy commented 3 weeks ago

Hey, seems like adding "browser": "./out/index.js allows it to install in web. I just enabled it. Edit: Seems you can install it but it doesn't work.