this post was submitted on 12 Jun 2023
499 points (100.0% liked)

Selfhosted

573 readers
1 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.

Resources:

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

> Questions? DM the mods!

founded 1 year ago
MODERATORS
 

A simple question to this community, what are you self-hosting? It's probably fun to hear from each-other what services we are running.

Please mention at least the service (e.g. e-mail) and the software (e.g. postfix). Extra bonus points for also mentioning the OS and/or hardware (e.g. Linux Distribution, raspberry pi, etc) you are running on.

you are viewing a single comment's thread
view the rest of the comments
[–] tomi@lemmy.gdgz.dev 3 points 1 year ago (1 children)

How has been your experience with code-server so far? I am interested in self-hosting it

[–] null@sh.itjust.works 2 points 1 year ago (2 children)

I'm also curious about this -- there's a usecase I have that I think fits, but I'm not sure if I'm either barking up the wrong tree, or overthinking it.

What I'd like to do is open up VSCode on any of my computers, make changes to files, save them, and see those reflected when I open VSCode on another PC.

I suspect VSCode container is meant for people who are actually developing and running their code and need an environment catered to that.

Am I better off doing something like saving my files to folder on a network share and then just opening that folder in VSCode on each PC instead? Is that even possible?

[–] tomi@lemmy.gdgz.dev 1 points 1 year ago

Using a network share for that specific usecase may be a great option. I think VSCode server may be more practical for collaborative work or for PCs with limited resources.

[–] LufyCZ@lemmy.world 1 points 1 year ago (1 children)

What I do is use Remote-SSH - if you have key auth set up correctly, it's fully seamless.

You just open up vscode, connect, and it's as if you were using it locally pretty much.

[–] null@sh.itjust.works 1 points 1 year ago (1 children)

Interesting! So instead of creating a network share and opening files in that folder in VSCode, I can simply SSH into a machine through VSCode and edit the files on that machine?

[–] LufyCZ@lemmy.world 2 points 1 year ago

Yes, it feels as if you were working locally. If your internet isn't garbage that is.

I even use it at home, I have a pc and a server, I ssh into the server from the pc and work that way.

Then, when I travel/whatever, I just connect from my laptop and pick up where I left off. You even have all your build tools and shit set up as well. Not to mention that it's much faster to compile on a beefy cpu compared to my laptop's.