this post was submitted on 12 Jun 2023
539 points (99.4% liked)

Selfhosted

40324 readers
452 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
 

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 2 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 2 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 (1 children)

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.

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

Finally had a chance to try this out and it's super simple and exactly what I was looking for. Thanks!

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

Happy to hear that!