Kameleon83 Posted October 2, 2021 Share Posted October 2, 2021 (edited) OpenVSCode Server What is this? This project provides a version of VS Code that runs a server on a remote machine and allows access through a modern web browser. It's based on the very same architecture used by https://www.gitpod.io or https://github.com at scale. Why? VS Code has traditionally been a desktop IDE built with web technologies. A few years back, people started patching it in order to run it in a remote context and to make it accessible through web browsers. These efforts have been complex and error prone, because many changes had to be made across the large code base of VS Code. Luckily, in 2019 the VS Code team started to refactor its architecture to support a browser-based working mode. While this architecture has been adopted by Gitpod and GitHub, the important bits have not been open-sourced, until now. As a result, many people in the community still use the old, hard to maintain and error-prone approach. At Gitpod, we've been asked a lot about how we do it. So we thought we might as well share the minimal set of changes needed so people can rely on the latest version of VS Code, have a straightforward upgrade path and low maintenance effort. Getting started ⚠️ Be careful, each time you create or update the docker, everything is reset (except the share folder). Docker - Start the server: docker run -d --name='openvscode-server' -p '3000:3000/tcp' -v '/mnt/user/dev/':'/home/workspace':'rw' 'olprog/openvscode-server' - Visit [localhost:3000](http://localhost:3000). Original Github : https://github.com/gitpod-io/openvscode-server Edited October 2, 2021 by Kameleon83 Quote Link to comment
T0a Posted October 2, 2021 Share Posted October 2, 2021 How is this related to cdr/code-server? Is the gitpod-io implementation superior in any concern? Quote Link to comment
Kameleon83 Posted October 2, 2021 Author Share Posted October 2, 2021 7 hours ago, T0a said: How is this related to cdr/code-server? Is the gitpod-io implementation superior in any concern? I didn't know that. So I won't be giving the difference. I would have to test it. I'm not a VSCode pro because I'm more of a JetBrains guy. I saw this new info and thought I'd make it an Unraid application. If you get a chance to test the 2 and find out if one is better, that might help me. Thanks for the feedback. Sorry for my English, I use DeepL for translation. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.