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
You can selfhost VSCode. I don’t think there are any other good selfhostable IDEs that work with C#. I assume you could host VSCodium, but that’s annoying to setup optimally for C#.
VScodium ideally
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.
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
We recommend installing with npm when:
You aren’t using a machine with amd64 or arm64. You are installing code-server on Windows. You’re on Linux with glibc < v2.28 or glibcxx < v3.4.21. You’re running Alpine Linux or are using a non-glibc libc. See #1430 for more information.
Installing code-server with npm builds native modules on install.
This process requires C dependencies; see our guide on installing with npm for more information.
Ah, I missed this somehow when digging through the git page
Thank you
Good luck! :)
What’s the android IDE? To me solving the file permissions thing sounds simpler.
Android should allow you to do something like that with storage scopes.
Edit: I know I’m not answering your question, but I couldn’t find anything like what you were asking for.
VSCode… No, that’s literally it. You can self host code-server.
An alternative (which doesnt fully meet your requirements for browser based) is Jetbrains Rider. You can use its remote development feature to have your code on your server, and the IDE on your local computer.
https://www.jetbrains.com/help/rider/Remote_development_overview.html
Another option to get code to and from your device would be to use git to commit and push your code. There are git apps for android that should work for this?
deleted by creator