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.8k 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

      @thetomester13 I have a private repo for testing (because there is so much security involved in making this stable) so if you would like access, shoot me a message here or pick a method of contact from my website https://urgero.org

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

      @murgero This will be updated later this afternoon and put into a public repo for all to try.

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

      ? murgeroM 2 Replies Last reply
      5
      • murgeroM murgero

        @murgero This will be updated later this afternoon and put into a public repo for all to try.

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #27

        @murgero 🙌

        1 Reply Last reply
        2
        • murgeroM murgero

          @murgero This will be updated later this afternoon and put into a public repo for all to try.

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

          Here it is: https://github.com/mitchellurgero/cloudron-vscode-package

          Just clone the repo, then install:

          cloudron install --image=mitchellurgero/org.urgero.vslamp:latest

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

          murgeroM 1 Reply Last reply
          4
          • murgeroM murgero

            Here it is: https://github.com/mitchellurgero/cloudron-vscode-package

            Just clone the repo, then install:

            cloudron install --image=mitchellurgero/org.urgero.vslamp:latest

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

            @girish - Anyway to get this as unstable in the store? I have most of the code ready at this point and need some testers. code-server is no longer included in the repo so it downloads during compilation.

            The only thing it needs is tests - I'm not sure what you would test before a build but if you can put me in the right direction I'd love to get this on the store ASAP.

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

            doodlemania2D ? 2 Replies Last reply
            2
            • murgeroM murgero

              @girish - Anyway to get this as unstable in the store? I have most of the code ready at this point and need some testers. code-server is no longer included in the repo so it downloads during compilation.

              The only thing it needs is tests - I'm not sure what you would test before a build but if you can put me in the right direction I'd love to get this on the store ASAP.

              doodlemania2D Offline
              doodlemania2D Offline
              doodlemania2
              App Dev
              wrote on last edited by
              #30

              @murgero I'm running it and have used it a few times already - works great!

              1 Reply Last reply
              1
              • murgeroM murgero

                @girish - Anyway to get this as unstable in the store? I have most of the code ready at this point and need some testers. code-server is no longer included in the repo so it downloads during compilation.

                The only thing it needs is tests - I'm not sure what you would test before a build but if you can put me in the right direction I'd love to get this on the store ASAP.

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #31

                @murgero I had an issue where it was preventing backups but didn’t bother to diagnose it much. I’ll give it another shot and report back

                murgeroM 1 Reply Last reply
                1
                • ? A Former User

                  @murgero I had an issue where it was preventing backups but didn’t bother to diagnose it much. I’ll give it another shot and report back

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

                  @atrilahiji If you run the backup cleaner command (see the backup page in the cloudron admin panel) it runs fine after that - though I have backups disabled on my code-server app as I constantly reinstall it for testing different features 🙂

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

                  1 Reply Last reply
                  0
                  • D dswd

                    I have packaged a new app: A Visual Studio Code version that runs in the browser.

                    Here is the code: https://git.cloudron.io/dswd/vscode-app

                    The app works and already runs on my instance, but there are no tests yet.

                    I would like to submit the app to the appstore (for others to test and use) but currently I have a problem with the docker repository. Apparently I can only submit apps that are hosted on the Cloudron repo but I don't know how to push there.

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

                    @dswd Is this vs code online ? There are some attempts at https://forum.cloudron.io/topic/1709/code-server-vs-code-online/ but yours looks quite complete as well. I will move this discussion there if they are the same.

                    As for appstore submission, currently only only we are able to do it. We changed our model to one where where we pretty much maintain all the app packages. If you have a docker image, then others can clone your repo and then install using cloudron install --image <image>.

                    D 2 Replies Last reply
                    0
                    • girishG girish

                      @dswd Is this vs code online ? There are some attempts at https://forum.cloudron.io/topic/1709/code-server-vs-code-online/ but yours looks quite complete as well. I will move this discussion there if they are the same.

                      As for appstore submission, currently only only we are able to do it. We changed our model to one where where we pretty much maintain all the app packages. If you have a docker image, then others can clone your repo and then install using cloudron install --image <image>.

                      D Offline
                      D Offline
                      dswd
                      wrote on last edited by
                      #34

                      @girish Yes, its based on code server

                      1 Reply Last reply
                      0
                      • girishG girish

                        @dswd Is this vs code online ? There are some attempts at https://forum.cloudron.io/topic/1709/code-server-vs-code-online/ but yours looks quite complete as well. I will move this discussion there if they are the same.

                        As for appstore submission, currently only only we are able to do it. We changed our model to one where where we pretty much maintain all the app packages. If you have a docker image, then others can clone your repo and then install using cloudron install --image <image>.

                        D Offline
                        D Offline
                        dswd
                        wrote on last edited by
                        #35

                        @girish Should I move the code back to my repo or should it stay on the cloudron git, or do you want to take over maintenance to make it an official app? How do you do this normally?

                        1 Reply Last reply
                        0
                        • ? Offline
                          ? Offline
                          A Former User
                          wrote on last edited by
                          #36

                          Does this have any sort of auth built in? Might be worth looking into the proxyAuth addon.

                          D 2 Replies Last reply
                          1
                          • D Offline
                            D Offline
                            dswd
                            wrote on last edited by
                            #37

                            I have packaged a new app: A Visual Studio Code version that runs in the browser.

                            Here is the code: https://git.cloudron.io/dswd/vscode-app

                            The app works and already runs on my instance, but there are no tests yet.

                            I would like to submit the app to the appstore (for others to test and use) but currently I have a problem with the docker repository. Apparently I can only submit apps that are hosted on the Cloudron repo but I don't know how to push there.

                            1 Reply Last reply
                            0
                            • girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by
                              #38

                              The posts appear out of order, sorry about that 🙂 For some reason, NodeBB has no way to merge two topics together... Oh well.

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

                              @girish Should I move the code back to my repo or should it stay on the cloudron git, or do you want to take over maintenance to make it an official app? How do you do this normally?

                              It can stay on Cloudron git. I will have a look once I have some time and move/fork it into the cloudron namespace. I will then give you maintainer status in that repo, so you can push directly. Only limitation is that you have to let us know whenever you want to push a new release to appstore. We hope to get this part automated in our CI/CD at some point (though, we are not working on this right now, so no ETA yet).

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

                                I'd like to point out I have a build of this running as well with a bunch of IDEs and SDKs added.

                                @dswd - would we be able to merge our projects together so there is not 2 vastly different builds floating about?

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

                                D 1 Reply Last reply
                                0
                                • ? A Former User

                                  Does this have any sort of auth built in? Might be worth looking into the proxyAuth addon.

                                  D Offline
                                  D Offline
                                  dswd
                                  wrote on last edited by
                                  #40

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

                                  Does this have any sort of auth built in? Might be worth looking into the proxyAuth addon.

                                  Yes code server comes with a simple passwort auth. You can disable it and roll your own if you want to. It is not super helpful to integrate it with Cloudron LDAP as all users share one IDE but you can have a single password if you want to.

                                  I will have a look into optional proxyAuth, however.

                                  1 Reply Last reply
                                  1
                                  • murgeroM murgero

                                    I'd like to point out I have a build of this running as well with a bunch of IDEs and SDKs added.

                                    @dswd - would we be able to merge our projects together so there is not 2 vastly different builds floating about?

                                    D Offline
                                    D Offline
                                    dswd
                                    wrote on last edited by
                                    #41

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

                                    @dswd - would we be able to merge our projects together so there is not 2 vastly different builds floating about?

                                    I am sorry, I was not aware of your app since it was not on the app store. Otherwise I would have used it and maybe sent a PR.
                                    We should compare our approaches and select the best parts of each. Where is your code located?

                                    murgeroM 1 Reply Last reply
                                    0
                                    • D dswd

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

                                      @dswd - would we be able to merge our projects together so there is not 2 vastly different builds floating about?

                                      I am sorry, I was not aware of your app since it was not on the app store. Otherwise I would have used it and maybe sent a PR.
                                      We should compare our approaches and select the best parts of each. Where is your code located?

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

                                      @dswd

                                      Mine is here: https://github.com/mitchellurgero/cloudron-vscode-package

                                      I plan to move it to Cloudron's GitLab once they approve it for testing.

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

                                      D 1 Reply Last reply
                                      0
                                      • ? A Former User

                                        Does this have any sort of auth built in? Might be worth looking into the proxyAuth addon.

                                        D Offline
                                        D Offline
                                        dswd
                                        wrote on last edited by
                                        #43

                                        @atrilahiji
                                        I added optional proxyAuth to the image. If SSO is enabled, the password in the vscode app is disabled.

                                        1 Reply Last reply
                                        1
                                        • murgeroM murgero

                                          @dswd

                                          Mine is here: https://github.com/mitchellurgero/cloudron-vscode-package

                                          I plan to move it to Cloudron's GitLab once they approve it for testing.

                                          D Offline
                                          D Offline
                                          dswd
                                          wrote on last edited by
                                          #44

                                          @murgero
                                          I checked your image. It seems to install lots of packages that are not needed for code server (e.g. Apache and PHP). Also it adds some plugins that I don't think are required (sendmail, mysql and redis).
                                          I suggest using my image as base because it seems more minimal. Can you test it and check if there is any functionality missing that I could add?

                                          murgeroM 1 Reply Last reply
                                          0
                                          • D dswd

                                            @murgero
                                            I checked your image. It seems to install lots of packages that are not needed for code server (e.g. Apache and PHP). Also it adds some plugins that I don't think are required (sendmail, mysql and redis).
                                            I suggest using my image as base because it seems more minimal. Can you test it and check if there is any functionality missing that I could add?

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

                                            @dswd I can respect the opinion, but I use the addons mentioned as well as the adding different IDEs/SDKs (PS, PHP, Go, Rust, R-Lang, etc etc etc ) as users can't install linux packages on an app once it's installed. I also have build-tools to compile code, and I don't think apache is still there (I ended up choosing to use code-servers built-in proxy instead. So if apache is still being installed I will probably remove it in the future. Sendmail is used for testing and sending email from compiled apps, redis is kept for apps that would require it, and mysql (and other DBs) are thrown in because compiled apps may need a test DB to connect to.

                                            It's kinda bloated when you first look at it, but users cannot modify what linux packages are installed and they cannot modify what cloudron addons are installed once code-server is installed.

                                            That said, yes, technically speaking code-server doesn't need all this, but it's barely an IDE without the ability to actually use the code you write in it. So I included all the popular ones.

                                            Minimal in this case I don't believe works. Sure yours takes up less space but my package includes more features. In this case, I think keeping our apps separated for now is the best course of action.

                                            This is not to say I don't like what you did. There is something to be said about a minimal-first approach to building an app. I think - let's keep building our packages separate and we can talk to @girish / @nebulon about how to add both (potentially) to the app store. Maybe just labeled differently so the admins can choose how they like to build.

                                            And if we do go that route I would like to work together to make the login process the same on both apps - to help make it seamless to the end-users.

                                            What do you think? I am also open to suggestions.

                                            Edit: I hope none of this comes off as negative towards your package. That is not my intent. It's clear you and I both have a want/need/passion for code-server to be on the store. I am just genuinely excited to have this conversation with someone other than myself.

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

                                            D 2 Replies 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