-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for self-hosted version of vscode.dev with host environment access #135856
Comments
It seems to me like the title of this ("vscode.dev") and the issue description are contradicting. AFAIK The interesting part about vscode.dev is that it actually runs in the browser, including the language server, without any non-static server-side counterpart involved. (Hence the limitations like not having a terminal). |
Could #135733 please be reopened (unless there is an even older issue on this topic that I haven't found, commenting there is locked) and could the title of this topic be changed to reflect the actual use case? |
That is only true for a very small subset of workloads (AFAIK it is possible only for JS and related languages) - it is, for example, impossible to run a Python based course (even an introductory one) without some locally hosted environment with a Python interpreter.
And now, we can avoid duplicating engineering efforts by settling on one official method - vscode.dev hosted either by Microsoft or the local IT department, depending on the intended use. |
I'm aware of the limitations and I do have use cases ;)
As said earlier, I'm totally supporting your request and don't want to force one solution over the other. However, what you are asking for seems more like a self-hosted codespaces like solution(Which also used to exist with vscode online, although that even was another different thing, the frontend part and some was gateway where hosted by MS, the code server could be self-hosted). I am interested in a self-hostable version of vscode.dev, the limited environment which actually works in the browser. Other tickets for that have been closed, pointing to this one. |
Seems related to this: #139725 |
Is there an update on this? The mentioned MR has been merged into main a few months ago. |
I am also looking for this. I want to host vscode.dev on my own site |
I too. I'm following this issue for months, waiting for this solution |
For now you can use vscode server from Gitpod |
code server requires a container. Self-hosted doesnt |
OpenVSCode Server also provides non-docker instructions. However, it's Linux only. Although can't find any documentation, Code ships its server binary publicly (for all of Linux x64, macOS x64 and Windows x64). I found them from https://github.com/bpasero/vscode-bisect/blob/main/src/builds.ts . It's the full featured one, like the Visual Studio Online/Visual Studio Codespace/GitHub Codespace (/other hundreds of names Microsoft will rename it to), means it has file system and terminal access on server, not like Assume on Linux x64:
I believe someone smart can make a script to automate the process. Note:
Other platforms: (Not tested) Replace
Stable releases: (Not tested) Replace |
Works normally. Great thanks for this instruction! (Hope it won't be deleted) |
For the lazy people, like me: Download the stable version:
|
Unfortunately for Darwin does't work. |
For darwin use |
Hey all, thanks for the comments in this issue! We're happy to share that we just released a private preview service called the Visual Studio Code Server. The VS Code Server is a service you can run on a remote development machine, like your desktop PC or a virtual machine. It allows you to securely connect to that remote machine from anywhere through a vscode.dev URL, without the requirement of SSH. You can learn more in the announcement blog post and docs. We'll track future issues and feedback on the VS Code Server in the VS Code Remote Dev repo: https://github.com/microsoft/vscode-remote-release. We're looking forward to getting your feedback. Thank you! |
I don't think the requirement is fulfilled, in some cases(slow internet connection or private internal network without internet access, etc...), vscode.dev is not an option, then self-hosted vscode.dev will be the only choice. Please consider to reopen this issue. |
Current VSCode Server can run in |
Wow, it works like a charm, it helps a lot, thank you. |
Given that running VS Code in the browser is now possible (with vscode.dev), it would be extremely useful to be able to self-host a VS Code instance with full access to the host environment (similar to how RStudio Server works). This could serve as an equivalent to the "Remote-SSH" workflow for devices without native support for VS Code, as well as an easy way of creating development environments for students/presentation attendees (just spawn a docker container with VS Code server and all required dependencies for each student) without requiring them to install any software on their own machines.
The text was updated successfully, but these errors were encountered: