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


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Code Server (Vs code online)

    App Wishlist
    9
    25
    438
    Loading More Posts
    • 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.
    • ruihildt
      ruihildt last edited by girish

      "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
      
      1 Reply Last reply Reply Quote 8
      • M
        murgero App Dev last edited by murgero

        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

        1 Reply Last reply Reply Quote 4
        • W
          will last edited by

          Any news on this? I've been loving VScode lately!

          M 1 Reply Last reply Reply Quote 0
          • M
            murgero App Dev @will last edited by

            @will AFAIK my repo still works, albiet with a slightly older version of VSCode. Give it a shot!

            W 1 Reply Last reply Reply Quote 0
            • yusf
              yusf last edited by

              I’m gonna try this.

              1 Reply Last reply Reply Quote 0
              • W
                will @murgero last edited by

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

                M 1 Reply Last reply Reply Quote 1
                • girish
                  girish Staff last edited by

                  @will you need to clone the git repo and run the command from that checkout directory

                  1 Reply Last reply Reply Quote 1
                  • M
                    murgero App Dev @will last edited by

                    @will Yes, @girish is correct - you need to clone the gitr repo I linked to install.

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      will @murgero last edited by

                      @murgero
                      I followed this:
                      git clone https://github.com/mitchellurgero/cloudron-vscode
                      cd cloudron-vscode
                      cloudron login
                      cloudron build

                      Optional

                      cloudron install

                      I got to cloudron build and got this error:
                      Error in CloudronManifest.json: Unknown property (not in schema) @ /private

                      Beats Head against wall

                      1 Reply Last reply Reply Quote 0
                      • girish
                        girish Staff last edited by

                        @will Very close! Just remove this line https://github.com/mitchellurgero/cloudron-vscode/blob/master/CloudronManifest.json#L26

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          murgero App Dev @girish last edited by

                          @girish Was that option removed in an update?

                          1 Reply Last reply Reply Quote 0
                          • doodlemania2
                            doodlemania2 App Dev last edited by

                            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!

                            M 1 Reply Last reply Reply Quote 3
                            • girish
                              girish Staff last edited by

                              @doodlemania2 Do you have a link to the upstream issue?

                              doodlemania2 1 Reply Last reply Reply Quote 1
                              • M
                                murgero App Dev @doodlemania2 last edited by

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

                                1 Reply Last reply Reply Quote 1
                                • doodlemania2
                                  doodlemania2 App Dev last edited by

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

                                  1 Reply Last reply Reply Quote 1
                                  • doodlemania2
                                    doodlemania2 App Dev @girish last edited by

                                    @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

                                    1 Reply Last reply Reply Quote 0
                                    • yusf
                                      yusf last edited by

                                      Also Check out Theia.

                                      1 Reply Last reply Reply Quote 0
                                      • atrilahiji
                                        atrilahiji App Dev last edited by atrilahiji

                                        Is the version up on GitLab stable? I’m tempted to run this.

                                        Anything I should know?

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          murgero App Dev @atrilahiji last edited by

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

                                          1 Reply Last reply Reply Quote 0
                                          • marcusquinn
                                            marcusquinn last edited by

                                            The non-snoopy de-branded version may also be of interest:

                                            • https://vscodium.com/
                                            • https://github.com/VSCodium/vscodium
                                            atrilahiji 1 Reply Last reply Reply Quote 2
                                            • First post
                                              Last post