4 ms·
Show HN: OOTB Code-Server, Easiest “VSCode on Browser” + HTTPS and GitHub Auth
- xupybd 6y agoWhat's the use case for code server? I'm sure there is on I just don't see the advantage of running my IDE through the browser instead of locally. I could see maybe if I wanted to have a customised IDE ready to access from any computer. But isn't this a temp container that disappears when you shut it down
- dx034 6y agoI use it a lot. It's really nice having one environment if you use different dev machines from time to time (in my case a PC and a laptop), develop on the target OS (I don't have Linux installed on all my computers but only develop in Linux), the cost is negligible and performance pretty much like a local vscode. Not being able to code without internet is the only disadvantage but I usually don't do that anyway.
- ramon 6y agoWhat about using WSL2?
- dx034 6y agoDoesn't solve the problem of multiple machines for me. I started using code-server before WSL2 came out. given the low cost, I don't see why I should switch to WSL2 locally now.
- ramon 6y agoYou can have multiple OSs running on WSL2, so for example have a Ubuntu 20.04 and a SUSE or Kali.. and you can have one workspace for each OS it will connect to the different OSs ctrl+r on VSCode you can change the workspace and therefore connect to the different OS under WSL2.
- dx034 6y agoI was referring to the opposite, having multiple physical machines to develop. Using Code Server means I don't have to sync between machines.
- xupybd 6y agoSounds like a solid use case. Is lag an issue?
- dx034 6y agoNo it isn't. I have it on a machine about 5ms away, never experience lag.
- ramon 6y agoI see this is good for example if you want to guarantee security in development of developers, having a more restrained environment for the development makes more sense to me.
- abc_tkys 6y ago> isn't this a temp container that disappears when you shut it down For this part, the container of Code-Server in OOTB Code-Server suite is a VM-like persistent and mutable container powered by LXD, so it doesn't disappear even if you shut it down. As for the use case for Code-Server, it allows to access single server-powered environment from any computer as you guess. I personally use Code-Server from my iPad and laptop.
- xupybd 6y agoAh thanks that explains it. Using an iPad is also a really cool advantage of that setup. Thanks I thought there must be a reason for this tool.
- pojntfx 6y agoGreat! How does this compare with Theia[0]? I've recently set up an installation for Go and JS development[1] and been happy so far ;) [0] https://theia-ide.org/ https://theia-ide.org/ [1] https://pojntfx.github.io/felix-pojtingers-theia/ https://pojntfx.github.io/felix-pojtingers-theia/