My server is still windows based, which I know is a bit of a sin at this point, but just bear with me please
There seem to be a few options avaliable, but I can’t figure out if they all both support windows and C#, and a lot of the information I’m finding is linux specific.
Why? Well, I like to make little roguelikes and card battlers on my phone in pure c# code, it’s a fun way to pass the time that isn’t doom scrolling. A lot of my free time at work is spent sitting on a boat just waiting with no access to my PC
I’ve been using a C# ide on my phone, but Android as become such a fucking nightmare, most stuff seems locked down for some reason, and I can’t access the local files to sync with syncthing to move it my PC when I do want to work with my PC.
So I’d like to use a browser based solution that will just store everything locally on my server
I’ve looked into Code Server, which is a github project I’ve found for self hosting VS Code, but it only works on Linux
Are you saying VS Code itself has a built in self hostable option?
You can run vscode in a docker container. https://code.visualstudio.com/docs/devcontainers/containers
i think this is the best solution
Linux Docker Containers can run on Windows using WSL and if you later migrate the host to linux, you can also run the same container there natively
OP is looking for a browser based IDE. I don’t think vscode has anything like that.
https://github.com/legendu-net/docker-vscode-server
https://vscode.dev
And as many others have mentioned, it can be self-hosted as well.
Also fun side note:
As long as you are logged into a GitHub account and in a desktop browser you can press the
.
key on your keyboard while viewing any GitHub repo to open it in vscode web.Are you sure about that?
https://coder.com/docs/code-server/latest/install#npm
Below is quoted from the article
Ah, I missed this somehow when digging through the git page
Thank you
Good luck! :)