Code Server (Vs code online)
-
"Code-server is VS Code running on a remote server, accessible through the browser."
https://github.com/codercom/code-server
Try it out
docker run -p 127.0.0.1:8443:8443 -v "${PWD}:/root/project" codercom/code-server code-server --allow-http --no-auth
-
I built a beta build for this, it can be installed using:
cloudron install --image mitchellurgero/org.urgero.codeserver:0.0.2
Check post install information for details!!! Do not run on production system, etc etc.
Edit 1:
GitHub Link: https://github.com/mitchellurgero/cloudron-vscode
Docker-Hub Link: https://cloud.docker.com/u/mitchellurgero/repository/docker/mitchellurgero/org.urgero.codeserver -
Any news on this? I've been loving VScode lately!
-
@will AFAIK my repo still works, albiet with a slightly older version of VSCode. Give it a shot!
-
I’m gonna try this.
-
@murgero I just did:
cloudron login -> success
docker login -> success
sudo cloudron install --image mitchellurgero/org.urgero.codeserver:latest ->
No CloudronManifest.json found
Same thing happens if I use other version numbers. -
@will you need to clone the git repo and run the command from that checkout directory
-
-
@murgero
I followed this:
git clone https://github.com/mitchellurgero/cloudron-vscode
cd cloudron-vscode
cloudron login
cloudron buildOptional
cloudron install
I got to cloudron build and got this error:
Error in CloudronManifest.json: Unknown property (not in schema) @ /privateBeats Head against wall
-
@will Very close! Just remove this line https://github.com/mitchellurgero/cloudron-vscode/blob/master/CloudronManifest.json#L26
-
@girish Was that option removed in an update?
-
I've got this ready for #unstable with just a few tweaks needed. There's an upstream issue that prevents installing marketplace items from the in app marketplace (licensing really) that I'll try to document over the coming days how to work with. cc: @girish https://git.cloudron.io/doodlemania2/vs-code
Hat tip to @murgero for the bulk of the hard work! -
@doodlemania2 Do you have a link to the upstream issue?
-
@doodlemania2 What I like most about how I packaged it was that I pre-bundled different Open Source languages, GO, PowerShell, NodeJS, PHP, etc - this can be a very versatile project if it's packaged correctly.
-
@murgero - i agree - and it really isn't "hard" to add new extensions, you just have to do it manually and by grabbing alternatively licensed ones, not using the store.
-
@girish it's more a "feature" than an issue: https://github.com/cdr/code-server/blob/master/doc/FAQ.md#differences-compared-to-vs-code
-
Also Check out Theia.
-
Is the version up on GitLab stable? I’m tempted to run this.
Anything I should know?
-
@atrilahiji No that version is not stable nor secure - I can send you a private repo with a more secure, working model. PM when you have a few minutes.
-
The non-snoopy de-branded version may also be of interest: