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 26.9k 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.
    • murgeroM murgero

      @infogulch said in Code Server (Vs code online):

      I think it would be neat if we could forward some path to a port inside the container to allow users to hit a dev web server running inside.

      code-server natively supports this already, just simply logging in and then browsing to https://fqdn-of-app/proxy/portNumber example: https://vscode.example.com/proxy/8080 would put you on port 8080 inside the app. So if you had an app or something running on that port, it's http data would be displayed like normal.

      infogulchI Offline
      infogulchI Offline
      infogulch
      wrote on last edited by
      #53

      @murgero said in Code Server (Vs code online):

      code-server natively supports this already ... https://fqdn-of-app/proxy/portNumber

      Oh neat, I'm glad they landed on that, that's a good solution. Perhaps a proxyAuth implementation should exclude the proxy path with something like "proxyAuth": { "path": "!/proxy" }.

      Perhaps this is a bit to early to worry about, but at some point we might consider restricting the app proxy's access to cloudron cookies with domain or path parameters.

      1 Reply Last reply
      0
      • robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #54

        @dswd no, has not been implemented.

        Lookup this discussion on Sysbox.

        Conscious tech

        1 Reply Last reply
        0
        • girishG Do not disturb
          girishG Do not disturb
          girish
          Staff
          wrote on last edited by
          #55

          @murgero @dswd what are the extra packages that are pre-installed? If it's not too big, maybe we can compromise and just install it all in one. It's more important to be useful to more number people than be minimal (of course, everything has a limit..).

          I wonder if the right approach here is something like JupyterHub. What that project does is to have a "workspace manager" with a login screen. When logged in, it spins up a new "notebook docker container" for each user. This way the user can install whatever packages they want in that docker image. See https://github.com/jupyterhub/jupyterhub . I guess in our case if the size is limiting, maybe we should write a VsCodeHub which when logged in, spins off a vs code container for each user. This makes the app properly multi-user.

          murgeroM 1 Reply Last reply
          1
          • girishG girish

            @murgero @dswd what are the extra packages that are pre-installed? If it's not too big, maybe we can compromise and just install it all in one. It's more important to be useful to more number people than be minimal (of course, everything has a limit..).

            I wonder if the right approach here is something like JupyterHub. What that project does is to have a "workspace manager" with a login screen. When logged in, it spins up a new "notebook docker container" for each user. This way the user can install whatever packages they want in that docker image. See https://github.com/jupyterhub/jupyterhub . I guess in our case if the size is limiting, maybe we should write a VsCodeHub which when logged in, spins off a vs code container for each user. This makes the app properly multi-user.

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

            @girish

            My package includes a ton of extra packages to cover the most popular programming and scripting choices. (Some are actually already in the Cloudron base image, which I use.)

            • GOLANG
            • PHP7.4 (PHP8.0 will be included soon!)
            • Python
            • PowerShell
            • DotNet Core (C#, VB.NET, etc) (.NET Full will be included soon as well since full supports Linux now I believe)
            • R
            • R-lang
            • NodeJS (Updated to latest)

            I am probably missing a couple but I wanted to make sure a lot of the popular stuff was covered here.

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

            1 Reply Last reply
            1
            • C Offline
              C Offline
              Chilipp
              wrote on last edited by
              #57

              Hey everyone! I just did want to ask about the current progress on this package. Is there already a roadmap for an official release in the app store? Or is this still under heavy development?

              murgeroM 1 Reply Last reply
              0
              • C Chilipp

                Hey everyone! I just did want to ask about the current progress on this package. Is there already a roadmap for an official release in the app store? Or is this still under heavy development?

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

                @chilipp Currently still under development. You're more than welcome to test it out if you would like!

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

                C 2 Replies Last reply
                2
                • murgeroM murgero

                  @chilipp Currently still under development. You're more than welcome to test it out if you would like!

                  C Offline
                  C Offline
                  Chilipp
                  wrote on last edited by
                  #59

                  @murgero I will! Thanks 😃

                  1 Reply Last reply
                  0
                  • murgeroM murgero

                    @chilipp Currently still under development. You're more than welcome to test it out if you would like!

                    C Offline
                    C Offline
                    Chilipp
                    wrote on last edited by
                    #60

                    @murgero thanks a lot for your work! Works like a charm 😃

                    I have some suggestions for improvement. Would you prefer discussion on Github via Issues and PRs or here in this forum?

                    murgeroM 1 Reply Last reply
                    0
                    • C Chilipp

                      @murgero thanks a lot for your work! Works like a charm 😃

                      I have some suggestions for improvement. Would you prefer discussion on Github via Issues and PRs or here in this forum?

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

                      @chilipp I think issues on github make more sense (at least until it becomes a proper cloudron package)

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

                      1 Reply Last reply
                      0
                      • 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
                                            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