Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Code Server (Vs code online)

Code Server (Vs code online)

Scheduled Pinned Locked Moved App Wishlist
91 Posts 19 Posters 28.2k Views 19 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Enabl.istE Offline
    Enabl.istE Offline
    Enabl.ist
    wrote on last edited by
    #62

    Hi!

    Would this help?

    https://www.gitpod.io/blog/openvscode-server-launch
    https://github.com/gitpod-io/openvscode-server/

    fbartelsF 1 Reply Last reply
    0
    • Enabl.istE Enabl.ist

      Hi!

      Would this help?

      https://www.gitpod.io/blog/openvscode-server-launch
      https://github.com/gitpod-io/openvscode-server/

      fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote on last edited by fbartels
      #63

      @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.istE 1 Reply Last reply
      0
      • fbartelsF fbartels

        @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.istE Offline
        Enabl.istE Offline
        Enabl.ist
        wrote on last edited by
        #64

        @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.

        1 Reply Last reply
        0
        • fbartelsF Offline
          fbartelsF Offline
          fbartels
          App Dev
          wrote on last edited by
          #65

          Microsoft has joined the game as well https://code.visualstudio.com/blogs/2021/10/20/vscode-dev

          1 Reply Last reply
          2
          • P Offline
            P Offline
            plusone-nick
            wrote on last edited by
            #66

            @murgero jw if you still have a repo for this as the original link is dead =/

            ✌💙+1

            murgeroM 1 Reply Last reply
            0
            • P plusone-nick

              @murgero jw if you still have a repo for this as the original link is dead =/

              murgeroM Offline
              murgeroM Offline
              murgero
              App Dev
              wrote on last edited by murgero
              #67

              @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.

              --
              https://urgero.org
              ~ Professional Nerd. Freelance Programmer. ~

              1 Reply Last reply
              3
              • ajtatumA Offline
                ajtatumA Offline
                ajtatum
                wrote on last edited by
                #68

                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.

                murgeroM 1 Reply Last reply
                2
                • ajtatumA ajtatum

                  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.

                  murgeroM Offline
                  murgeroM Offline
                  murgero
                  App Dev
                  wrote on last edited by
                  #69

                  @ajtatum My repo above is able to be installed - I still haven't updated it tho.

                  --
                  https://urgero.org
                  ~ Professional Nerd. Freelance Programmer. ~

                  ajtatumA 1 Reply Last reply
                  2
                  • murgeroM murgero

                    @ajtatum My repo above is able to be installed - I still haven't updated it tho.

                    ajtatumA Offline
                    ajtatumA Offline
                    ajtatum
                    wrote on last edited by
                    #70

                    @murgero I appreciate it, but I'd prefer an updated version and it be officially supported/maintained by Cloudron.

                    murgeroM 1 Reply Last reply
                    2
                    • ajtatumA ajtatum

                      @murgero I appreciate it, but I'd prefer an updated version and it be officially supported/maintained by Cloudron.

                      murgeroM Offline
                      murgeroM Offline
                      murgero
                      App Dev
                      wrote on last edited by
                      #71

                      @ajtatum eventually when I get around to updating it and adding the automated tests I plan to submit it to cloudron but life has been getting in the way

                      --
                      https://urgero.org
                      ~ Professional Nerd. Freelance Programmer. ~

                      1 Reply Last reply
                      4
                      • C Offline
                        C Offline
                        c0decafe
                        wrote on last edited by
                        #72

                        put one together https://github.com/c0decafe/cloudron-codeserver

                        girishG 1 Reply Last reply
                        5
                        • C c0decafe

                          put one together https://github.com/c0decafe/cloudron-codeserver

                          girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #73

                          @c0decafe this looks awesome 🙂 If you can throw in a LICENSE , I can move it over to our gitlab for publishing.

                          1 Reply Last reply
                          1
                          • murgeroM Offline
                            murgeroM Offline
                            murgero
                            App Dev
                            wrote on last edited by murgero
                            #74

                            I have a working package ready to go on the gitlab linked in the OP above somewhere. @c0decafe what does yours do differently than mine? Though I do like your repo certainly looks cleaner than mine lol

                            --
                            https://urgero.org
                            ~ Professional Nerd. Freelance Programmer. ~

                            girishG 1 Reply Last reply
                            1
                            • murgeroM murgero

                              I have a working package ready to go on the gitlab linked in the OP above somewhere. @c0decafe what does yours do differently than mine? Though I do like your repo certainly looks cleaner than mine lol

                              girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by
                              #75

                              @murgero oh, i missed yours. It seems is extended over LAMP app but @c0decafe is better because it's from scratch and only has the necessary things. Also, it seems your repo installs things like .net which @c0decafe does not. Not sure if those are needed or not.

                              murgeroM 1 Reply Last reply
                              1
                              • doodlemania2D Offline
                                doodlemania2D Offline
                                doodlemania2
                                App Dev
                                wrote on last edited by
                                #76

                                Would be good to have .net I think so one can work with the language, no? Or is that superfluous??

                                1 Reply Last reply
                                0
                                • girishG girish

                                  @murgero oh, i missed yours. It seems is extended over LAMP app but @c0decafe is better because it's from scratch and only has the necessary things. Also, it seems your repo installs things like .net which @c0decafe does not. Not sure if those are needed or not.

                                  murgeroM Offline
                                  murgeroM Offline
                                  murgero
                                  App Dev
                                  wrote on last edited by murgero
                                  #77

                                  @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.

                                  So his repo gets an upvote from me!
                                  9e7c3339-b251-4cc3-9ef4-2583c54f7c20-image.png

                                  --
                                  https://urgero.org
                                  ~ Professional Nerd. Freelance Programmer. ~

                                  1 Reply Last reply
                                  4
                                  • P plusone-nick referenced this topic on
                                  • girishG Offline
                                    girishG Offline
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #78

                                    It seems a license file appeared upstream, so I will add this to our internal list.

                                    1 Reply Last reply
                                    0
                                    • C Offline
                                      C Offline
                                      c0decafe
                                      wrote on last edited by
                                      #79

                                      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 maintains code-server: https://github.com/coder/coder

                                      You 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:
                                      Screenshot.png

                                      Another alternative currently available on cloudron is the GitLab webide, but:

                                      1. No extensions support (yet)
                                        https://gitlab.com/gitlab-org/gitlab/-/issues/355092
                                      2. No run/debug support (yet)
                                      3. Requires manually installed remote runtimes
                                        https://docs.gitlab.com/ee/user/project/remote_development/
                                      girishG 1 Reply Last reply
                                      4
                                      • C c0decafe

                                        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 maintains code-server: https://github.com/coder/coder

                                        You 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:
                                        Screenshot.png

                                        Another alternative currently available on cloudron is the GitLab webide, but:

                                        1. No extensions support (yet)
                                          https://gitlab.com/gitlab-org/gitlab/-/issues/355092
                                        2. No run/debug support (yet)
                                        3. Requires manually installed remote runtimes
                                          https://docs.gitlab.com/ee/user/project/remote_development/
                                        girishG Offline
                                        girishG Offline
                                        girish
                                        Staff
                                        wrote on last edited by
                                        #80

                                        @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 🙂

                                        C 1 Reply Last reply
                                        0
                                        • girishG girish

                                          @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 🙂

                                          C Offline
                                          C Offline
                                          c0decafe
                                          wrote on last edited by
                                          #81

                                          @girish I dropped the idea of using docker for the code-server package, latest push removed the docker dependencies.

                                          I'll add README when I get the chance.

                                          Remote docker should work for coder however, also supports all major public clouds, but that's for another thread I suppose.

                                          1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search