this post was submitted on 14 Jan 2024
17 points (90.5% liked)

Selfhosted

40134 readers
533 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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 are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 10 months ago (2 children)

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?

[–] [email protected] 9 points 10 months ago (1 children)
[–] [email protected] 4 points 10 months ago (1 children)

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

[–] [email protected] 1 points 10 months ago (2 children)

OP is looking for a browser based IDE. I don't think vscode has anything like that.

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago)

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.

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago) (1 children)

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.

[–] [email protected] 1 points 10 months ago (1 children)

Ah, I missed this somehow when digging through the git page

Thank you

[–] [email protected] 2 points 10 months ago