Code Server (Vs code online)
-
wrote on Sep 29, 2021, 4:34 PM last edited by
-
App Devwrote on Sep 30, 2021, 10:59 AM last edited by fbartels Sep 30, 2021, 11:02 AM
@enabl-ist was curious if this is related to "code server", but it seems to be something newly done without any relations to the existing project.
https://github.com/cdr/code-server/discussions/4267
similar discussion in the "openvscode" project https://github.com/gitpod-io/openvscode-server/discussions/99
-
@enabl-ist was curious if this is related to "code server", but it seems to be something newly done without any relations to the existing project.
https://github.com/cdr/code-server/discussions/4267
similar discussion in the "openvscode" project https://github.com/gitpod-io/openvscode-server/discussions/99
wrote on Oct 4, 2021, 7:42 AM last edited by@fbartels indeed it looks like two different projects, with (kind of) the same goal... What I read is that the gitpod version is more simplified in features. I haven't had time to test it myself, just wanted to let the community know of this similar project.
-
Microsoft has joined the game as well https://code.visualstudio.com/blogs/2021/10/20/vscode-dev
-
wrote on Jul 25, 2022, 11:11 PM last edited by
@murgero jw if you still have a repo for this as the original link is dead =/
-
@murgero jw if you still have a repo for this as the original link is dead =/
App Devwrote on Jul 27, 2022, 1:12 AM last edited by murgero Jul 27, 2022, 1:13 AM@plusone-nick my github has a repo, status is unknown as it's been a long time since I've touched it
https://github.com/mitchellurgero
https://github.com/mitchellurgero/cloudron-vscode-package
Note: this uses an old version of vscode and needs to be updated.
-
wrote on Feb 19, 2023, 5:27 AM last edited by
So, this thread seems to have died and wanted to revive it as it would be great to have vs-code online be a part of Cloudron. For me, I look to Cloudron to be a platform that hosts publicly facing apps, but have the security with Cloudron. This is something that can be easy to install on Home Assistant or my TrueNAS Scale system, but for it to function it's best it needs to be accessible over HTTPS... and that's where the problem comes in. It may not be "privacy focused" but it's one of the most commonly used development tools and it would be nice to have VS Code IDE available anywhere, whether from my desktop or tablet. Having it within Cloudron would be super helpful.
-
So, this thread seems to have died and wanted to revive it as it would be great to have vs-code online be a part of Cloudron. For me, I look to Cloudron to be a platform that hosts publicly facing apps, but have the security with Cloudron. This is something that can be easy to install on Home Assistant or my TrueNAS Scale system, but for it to function it's best it needs to be accessible over HTTPS... and that's where the problem comes in. It may not be "privacy focused" but it's one of the most commonly used development tools and it would be nice to have VS Code IDE available anywhere, whether from my desktop or tablet. Having it within Cloudron would be super helpful.
-
@murgero I appreciate it, but I'd prefer an updated version and it be officially supported/maintained by Cloudron.
-
wrote on Jun 13, 2023, 2:20 PM last edited by
put one together https://github.com/c0decafe/cloudron-codeserver
-
put one together https://github.com/c0decafe/cloudron-codeserver
-
App Devwrote on Jun 15, 2023, 8:40 PM last edited by murgero Jun 16, 2023, 7:59 PM
I have a working package ready to go on the gitlab linked
in the OPabove somewhere. @c0decafe what does yours do differently than mine? Though I do like your repo certainly looks cleaner than mine lol -
I have a working package ready to go on the gitlab linked
in the OPabove somewhere. @c0decafe what does yours do differently than mine? Though I do like your repo certainly looks cleaner than mine lol -
Would be good to have .net I think so one can work with the language, no? Or is that superfluous??
-
App Devwrote on Jun 16, 2023, 7:54 PM last edited by murgero Jun 16, 2023, 7:57 PM
@girish Yea I like @c0decafe's as it's definitely cleaner.
Mine installs some basic developer environments like powershell, .net, node, etc so actual code can be compiled and tested in-app. IDK if it should be included with @c0decafe's, but I think it is a QOL thing.
Edit: Now I remember why I built it over the LAMP app - so PHP apps can be developed in full (including MySQL). Could be cleaned up and tbh I haven't maintained it so it's probably better to use @c0decafe's anyway.
-
-
wrote on Jun 29, 2023, 12:00 AM last edited by
Yes, I updated the package with (un)license, impermanent home dir and a few other tweaks.
As for language support, I can't think of any clean implementation within the current scope.
As a matter of fact, my primary use case for this package is, counterintuitively, not development, but rather a power editor with extensions, ie: markdown editor with
git
integration,dendron
, etc..The only way to make it scale for actual software dev within the scope of a
cloudron
app would be leveraging (abusing?) the docker addon.The best candidate is
coder
, from the same team that maintainscode-server
: https://github.com/coder/coderYou can find a poc at https://github.com/c0decafe/cloudron-coder, but actually starting containers doesn't work yet.
Upstream
VSCode
also has a nifty devcontainers extension to do just that:- https://code.visualstudio.com/docs/devcontainers/containers
- https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers
It is however unfortunately not supported on web platforms right now:
Another alternative currently available on
cloudron
is theGitLab
webide, but:- No extensions support (yet)
https://gitlab.com/gitlab-org/gitlab/-/issues/355092 - No run/debug support (yet)
- Requires manually installed remote runtimes
https://docs.gitlab.com/ee/user/project/remote_development/
-
Yes, I updated the package with (un)license, impermanent home dir and a few other tweaks.
As for language support, I can't think of any clean implementation within the current scope.
As a matter of fact, my primary use case for this package is, counterintuitively, not development, but rather a power editor with extensions, ie: markdown editor with
git
integration,dendron
, etc..The only way to make it scale for actual software dev within the scope of a
cloudron
app would be leveraging (abusing?) the docker addon.The best candidate is
coder
, from the same team that maintainscode-server
: https://github.com/coder/coderYou can find a poc at https://github.com/c0decafe/cloudron-coder, but actually starting containers doesn't work yet.
Upstream
VSCode
also has a nifty devcontainers extension to do just that:- https://code.visualstudio.com/docs/devcontainers/containers
- https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers
It is however unfortunately not supported on web platforms right now:
Another alternative currently available on
cloudron
is theGitLab
webide, but:- No extensions support (yet)
https://gitlab.com/gitlab-org/gitlab/-/issues/355092 - No run/debug support (yet)
- Requires manually installed remote runtimes
https://docs.gitlab.com/ee/user/project/remote_development/
@c0decafe I don't know vscode that well enough. But does it allow connecting an external server to launch docker containers ? (instead of using the docker addon). If so, that's the ideal setup imo. Trying to use cloudron's internal docker network to launch app dev containters will bomb spectacularly at some point
-
@c0decafe I don't know vscode that well enough. But does it allow connecting an external server to launch docker containers ? (instead of using the docker addon). If so, that's the ideal setup imo. Trying to use cloudron's internal docker network to launch app dev containters will bomb spectacularly at some point
wrote on Jun 29, 2023, 6:48 PM last edited by