4 ms·
How OpenVSCode Server turns VS Code into a web IDE
- lioeters 5y agoHere's the GitHub repo: https://github.com/gitpod-io/openvscode-server https://github.com/gitpod-io/openvscode-server
- smivan 5y agoHow is this different from https://github.com/cdr/code-server https://github.com/cdr/code-server ?
- minimaxir 5y agoPer the release blog post (https://www.gitpod.io/blog/openvscode-server-launch https://www.gitpod.io/blog/openvscode-server-launch), the goal of OpenVSCode Server is to make as few changes to VS Code as possible to run it on the server, while code-server makes more opinionated changes: > Unlike other attempts, this project is based on a minimal set of changes and uses the same architecture that powers both Gitpod and GitHub Codespaces at scale.
- tomvault 5y agoJohannes from Gitpod here. I've answered this in https://news.ycombinator.com/item?id=28682477 https://news.ycombinator.com/item?id=28682477 (copied below) Essentially, we run nightly builds at OpenVSCode Server making it as upstream to VS Code as possible. In contrast to other forks the whole scope of the project is to add a minimal set of changes (specifics about what we added https://github.com/gitpod-io/openvscode-server/blob/main/docs/development.md https://github.com/gitpod-io/openvscode-server/blob/main/doc...) The architecture we use powers both Gitpod and GitHub Codespaces. Several of the devs and organisations that have asked for our implementation & now have adopted OpenVSCode Server referenced the following issue at Code-Server (https://github.com/cdr/code-server/issues/3835 https://github.com/cdr/code-server/issues/3835).
- cdr 5y agoOh hey, I sold them that github account name for 0.11 BTC. They obviously had deep pockets but I wondered whether they'd end up having any success.
- dang 5y agoRelated: VS Code in the Browser for Everyone - https://news.ycombinator.com/item?id=28682477 https://news.ycombinator.com/item?id=28682477 - Sept 2021 (16 comments)
- ghuntley 5y agoGeoff here from Gitpod. Happy to answer any questions you may have. Come join us in discord at https://www.gitpod.io/chat https://www.gitpod.io/chat If you head down the path of integrating OpenVSCode-Server (released under MIT) into your product then I'd love to catch up for a virtual coffee to nerd out about developer tech in general! https://www.ghuntley.com/meet https://www.ghuntley.com/meet
- santiagobasulto 5y agoGeoff, is this the fork that you guys use? The standard MS VSCode can also be used in the browser, right? But it has some licensing issues?
- lozenge 5y agohttps://code.visualstudio.com/api/extension-guides/web-extensions https://code.visualstudio.com/api/extension-guides/web-exten... VS Code in the browser doesn't support terminals or debugging. For that you need either code-server, this project, Gitpod, or GitHub Codespaces.
- ghuntley 5y agoGitpod has opensourced the bits that enable us to run vscode in the browser on Gitpod. Now you can run the vscode in the web experience remotely on your own computers or integrate the vscode editor into your product. We call this implementation "opencode-server" and it fast-follows Microsoft/vscode every night.
- tomrod 5y agoI don't know how I feel about the monitoring and telemetry here.
- ghuntley 5y agoI don't quite follow. Could you please explain and cite specifics?
- vimeh 5y agoPerhaps in reference to the telemetry that VSCodium aims to remove? https://github.com/VSCodium/vscodium#why https://github.com/VSCodium/vscodium#why
- ghuntley 5y agoThere is no telemetry or monitoring in openvscode-server
- garybuk 5y agoWell that's not true is it? https://github.com/gitpod-io/openvscode-server/tree/main/src/vs/platform/telemetry https://github.com/gitpod-io/openvscode-server/tree/main/src... I fail to see how this is different to vscode at all, pointless project.
- speps 5y agoIt's a fork[1], they've just not enabled telemetry by default I assume. [1] Same folder in the original repo: https://github.com/microsoft/vscode/tree/main/src/vs/platform/telemetry https://github.com/microsoft/vscode/tree/main/src/vs/platfor...
- ghuntley 5y ago> they've just not enabled telemetry Correct. > It's a fork. We have made as minimal changes to the fork as possible to reduce chances of merge conflicts because the fork automatically updates from microsoft/vscode.
- hoten 5y agoAlternative link for mobile?
- techplex 5y agoTry this: https://github.com/gitpod-io/openvscode-server/blob/main/docs/sourcedive.snb.md https://github.com/gitpod-io/openvscode-server/blob/main/doc...
- deleted 5y ago[deleted]
- ghuntley 5y agoHave pinged your feedback to the Sourcegraph folks. I think the drawer should be closed as well.
- dividedbyzero 5y agoI've been eyeing code-server in docker images for a while for preconfigured one-off IDEs for use in presentations, something I can easily archive together with the slides, I guess this would be even better given it's closer to actual VSCode still. Would this be usable on an iPad with an external keyboard?
- ghuntley 5y ago> I guess this would be even better given it's closer to actual VSCode still. Within 24 hours of a pull-request merging into microsoft/vscode a new release is done automatically thus you now have the ability to run vscode as a server on your own computers/servers using the exact same vscode bits as used by Gitpod and GitHub Codespaces. > Would this be usable on an iPad with an external keyboard? Yes, my primary development machine these days is an iPad w/magic keyboard (pictured at the bottom of https://ghuntley.com/internet/ https://ghuntley.com/internet/) and openvscode-server follows the vscode bits used by GitHub Codespaces and Gitpod.
- mbreese 5y agoThat’s good to know. I was tracking iPad specific keyboard bugs in code-server most of last summer. Not being able to use ⌘-z or ⌘-c was a bit of an issue... Now, if that's working again, I’ll have to check it out. I was really trying to replicate my dev environment on an iPad w/o using screen sharing/VNC.
- minimaxir 5y agoNote that you probably should be using VS Code on the iPad in PWA mode, which mitigates most of the usability bugs.
- watersb 5y agoFWIW, vscode as hosted by GitHub code spaces is hopeless on my ancient iPad 4, but is usable on the 2020 Amazon Kindle Fire HD that I got on sale for $100.
- mmis1000 5y agoDo it reserve terminals when reloaded? I remembered that in code-server. If you reload, you lost all your IDE state. which is not very useful in my opinion.
- oulipo 5y agoHey nice! Can multiple people edit the files together? How is concurrency handled?
- deleted 5y ago[deleted]
- hjjghb 5y agofirst they took CD/DVD and now they are coming for our compilers
- smiletondi 5y agoHey Congrats on the launch. I tried it and it's very interesting. The only thing i can't figure out is Auth. How do i go about that ?
- barefeg 5y agoHow does it handle multi tenancy? Do you need one container per environment?