Hacker News new | past | comments | ask | show | jobs | submit login

As an alternative to VS Code Server, you can install the vsonline CLI which is distributed via .deb and other package mechanisms. Once installed, it installs the backend side of VS Code Remote and it's distributed by Microsoft.

You _don't_ need to register your machine, you can set up your own authenticating reverse proxy over it and run it on port 8000 like so:

    $HOME/.vscode-remote/bin/[some hash here]/server.sh
I just wish they open sourced all of this. For compliance reasons, I'm leery of running data through Microsoft unnecessarily and so I only use CodeSpaces and VS Online for personal project.



Interesting, I'll look into that..

I run VS Code Server on a headless mac mini at home, and I map a subdomain to my home IP (because it needs SSL for the web workers I believe), and then I can connect to it over https from my tablet on the go. I use basic auth on the nginx proxy, and it works for my needs.

That part is working fine.

The hassle is the DNS mapping because my provider doesn't officially support dynamic DNS, and doesn't have an API, so I am using a variety of unofficial workarounds to automate this part and it's not always reliable, although thankfully my home IP does not seem to change too often.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: