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

Cryptpad

Scheduled Pinned Locked Moved Solved App Wishlist
25 Posts 9 Posters 4.9k Views 10 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.
  • mehdiM mehdi

    @robi Annoyingly, it seems Cryptpad is impossible to package for cloudron for the moment 😞
    Their app requires 2 different origins, or domains: one to serve the UI, and one the API.
    Reading their doc, there does not seem to be a way to work-around this requirement.

    Once upon a time, Cloudron had a "SSL" addon (or TLS ? I'm not 100% sure of the name), which allowed an app to directly have access to the certs. In that case, it would have been possible to serve the API directly on a different port that way. However, it would have been a very complicated setup, jumping through a lot of hoops, and using another nginx inside the package to serve https on this other port..

    Honestly, I don't see a clean way, even taking into account possible changes to cloudron, to do this cleanly. I know supporting multiple domains is planned, but requiring another domain for this app, and only 2 domains, not more, seems very specific to this setup 😕

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

    @mehdi I guess one hack is to package frontend and backend as separate apps (like matrix synapse/riot). Not ideal but something.

    mehdiM 1 Reply Last reply
    0
    • girishG girish

      @mehdi I guess one hack is to package frontend and backend as separate apps (like matrix synapse/riot). Not ideal but something.

      mehdiM Offline
      mehdiM Offline
      mehdi
      App Dev
      wrote on last edited by
      #8

      @girish said in Cryptpad:

      @mehdi I guess one hack is to package frontend and backend as separate apps (like matrix synapse/riot). Not ideal but something.

      I'm not sure even that would work, as they are supposed to be run as a single server process ... I have no idea if it's only to make things easier, or if the "front-end" part actually uses stuff stored in the DB, etc. In any case, it would at least require extensive manual modifications of the config files to make the 2 apps work with each other 😕

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

        Could we do it by adding a redirection sub-domain after it's installed and restarting the app to pick up the new sub-domain?

        Adding that to the first run instructions of the app.

        Conscious tech

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sysadmin
          wrote on last edited by sysadmin
          #10

          https://github.com/campbellmcgregor/cryptpad-cloudron

          I'm not entirely sure who's work this is, but would anyone know if this solved any of the problems mentioned in this thread? If someone could ping the author, I would appreciate it! (I did not see a result for @campbellmcgregor here on the forums)

          Or has any of the new current/proposed features of Cloudron made this any easier to get running on Cloudron?

          ? 1 Reply Last reply
          0
          • S sysadmin

            https://github.com/campbellmcgregor/cryptpad-cloudron

            I'm not entirely sure who's work this is, but would anyone know if this solved any of the problems mentioned in this thread? If someone could ping the author, I would appreciate it! (I did not see a result for @campbellmcgregor here on the forums)

            Or has any of the new current/proposed features of Cloudron made this any easier to get running on Cloudron?

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

            @sysadmin As far as I can tell this encounters the same issues

            jdaviescoatesJ 1 Reply Last reply
            1
            • ? A Former User

              @sysadmin As far as I can tell this encounters the same issues

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by jdaviescoates
              #12

              @atrilahiji @sysadmin doesn't the "multi-domain apps" thing we've had since 6.1 help with this?

              @girish said in Cloudron 6.1 released:

              Multi-domain apps - Apps like EspoCRM, Surfer, Kutt already support this. WP Multi-site is coming soon (hopefully next week).

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              1
              • holloschH Offline
                holloschH Offline
                hollosch
                wrote on last edited by
                #13

                This would be awsome !!!

                1 Reply Last reply
                1
                • marcusquinnM marcusquinn

                  "CryptPad.fr is the official instance of the open-source CryptPad project. It is administered by XWiki SAS, the employee-owned French company which created and maintains the product."

                  "CryptPad is a private-by-design alternative to popular office tools and cloud services. All the content stored on CryptPad is encrypted before being sent, which means nobody can access your data unless you give them the keys (not even us)."

                  • https://cryptpad.fr
                  • https://github.com/xwiki-labs/cryptpad
                  • https://itsfoss.com/cryptpad/
                  • https://forum.cloudron.io/topic/1320/openpaas/3
                  L Offline
                  L Offline
                  LoudLemur
                  wrote on last edited by LoudLemur
                  #14

                  @marcusquinn Great suggestion!

                  CryptPad has a Docker.

                  https://github.com/xwiki-labs/cryptpad-docker

                  It looks slick and the end-to-end encryption is sweet. If you haven't seen it yet, try the demo. It supports whiteboard, rich text, kanban, etc.

                  https://cryptpad.fr/

                  There is an unrelated project, yn (yanknote) which provides lovely functionality in a markdown editor. Check out some of the features it supports in the demo:

                  https://github.com/purocean/yn
                  https://yank-note.vercel.app/

                  robiR 1 Reply Last reply
                  2
                  • L LoudLemur

                    @marcusquinn Great suggestion!

                    CryptPad has a Docker.

                    https://github.com/xwiki-labs/cryptpad-docker

                    It looks slick and the end-to-end encryption is sweet. If you haven't seen it yet, try the demo. It supports whiteboard, rich text, kanban, etc.

                    https://cryptpad.fr/

                    There is an unrelated project, yn (yanknote) which provides lovely functionality in a markdown editor. Check out some of the features it supports in the demo:

                    https://github.com/purocean/yn
                    https://yank-note.vercel.app/

                    robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by
                    #15

                    @LoudLemur wow Yank Note is awesome, even with offline standalone versions for Mac/Lin/Win.

                    You should make its own entry for the App Wishlist

                    Conscious tech

                    L 1 Reply Last reply
                    1
                    • robiR robi

                      @LoudLemur wow Yank Note is awesome, even with offline standalone versions for Mac/Lin/Win.

                      You should make its own entry for the App Wishlist

                      L Offline
                      L Offline
                      LoudLemur
                      wrote on last edited by
                      #16

                      @robi
                      Yeah, it is really cool, but he is quite funny as if you want "dark mode" and a couple of other features, he wants $6! It is amazing what it can do though, especially for integrating charts, diagrams etc into text.

                      robiR 1 Reply Last reply
                      1
                      • L LoudLemur

                        @robi
                        Yeah, it is really cool, but he is quite funny as if you want "dark mode" and a couple of other features, he wants $6! It is amazing what it can do though, especially for integrating charts, diagrams etc into text.

                        robiR Offline
                        robiR Offline
                        robi
                        wrote on last edited by
                        #17

                        @LoudLemur oh that's too funny!

                        Yeah dark mode is a must. If he mentioned that up front, I think more people might take him up on it.

                        Conscious tech

                        L 1 Reply Last reply
                        1
                        • mehdiM mehdi

                          @robi Annoyingly, it seems Cryptpad is impossible to package for cloudron for the moment 😞
                          Their app requires 2 different origins, or domains: one to serve the UI, and one the API.
                          Reading their doc, there does not seem to be a way to work-around this requirement.

                          Once upon a time, Cloudron had a "SSL" addon (or TLS ? I'm not 100% sure of the name), which allowed an app to directly have access to the certs. In that case, it would have been possible to serve the API directly on a different port that way. However, it would have been a very complicated setup, jumping through a lot of hoops, and using another nginx inside the package to serve https on this other port..

                          Honestly, I don't see a clean way, even taking into account possible changes to cloudron, to do this cleanly. I know supporting multiple domains is planned, but requiring another domain for this app, and only 2 domains, not more, seems very specific to this setup 😕

                          marcusquinnM Offline
                          marcusquinnM Offline
                          marcusquinn
                          wrote on last edited by
                          #18

                          @mehdi Is the "2 different origins" issue solved now with the latest updates @girish made that Minio is using for multiple domains?

                          Web Design https://www.evergreen.je
                          Development https://brandlight.org
                          Life https://marcusquinn.com

                          mehdiM 1 Reply Last reply
                          3
                          • marcusquinnM marcusquinn

                            @mehdi Is the "2 different origins" issue solved now with the latest updates @girish made that Minio is using for multiple domains?

                            mehdiM Offline
                            mehdiM Offline
                            mehdi
                            App Dev
                            wrote on last edited by
                            #19

                            @marcusquinn You are correct, I think there is no more blocking problem.

                            1 Reply Last reply
                            3
                            • robiR robi

                              @LoudLemur oh that's too funny!

                              Yeah dark mode is a must. If he mentioned that up front, I think more people might take him up on it.

                              L Offline
                              L Offline
                              LoudLemur
                              wrote on last edited by
                              #20

                              @robi Do we have a "dark mode" option for our Cloudrons?
                              I had a look and couldn't see one.

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

                                This was actually quite easy to "install" but I am having a hard time following the setup specifically the domains part - https://docs.cryptpad.fr/en/admin_guide/installation.html#domains. It looks like the app requires a nginx of it's own - https://github.com/xwiki-labs/cryptpad/blob/main/docs/example.nginx.conf , I have to read more .

                                robiR 1 Reply Last reply
                                3
                                • girishG girish

                                  This was actually quite easy to "install" but I am having a hard time following the setup specifically the domains part - https://docs.cryptpad.fr/en/admin_guide/installation.html#domains. It looks like the app requires a nginx of it's own - https://github.com/xwiki-labs/cryptpad/blob/main/docs/example.nginx.conf , I have to read more .

                                  robiR Offline
                                  robiR Offline
                                  robi
                                  wrote on last edited by
                                  #22

                                  @girish
                                  Looking at the example nginx.conf -- the sandbox domain is not required, but an optional feature.

                                  If you want to implement it anyway.. as a default it can be a sub2.sub1.domain.com so it fits in with one subdomain per CL App.
                                  Ex.
                                  main domain - cryptpad.domain.com
                                  sandbox - secure.cryptpad.domain.com

                                  To me, it does not look like it needs a separate nginx, as it's a node JS app, which you know how to connect to.

                                  Conscious tech

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

                                    I have this going at https://git.cloudron.io/cloudron/cryptpad-app . This is published as unstable. Currently, the app is still "insecure" because it uses only one domain. I have to admit that even after reading their docs multiple times, I don't quite understand the point of these multiple domains.

                                    jdaviescoatesJ 1 Reply Last reply
                                    2
                                    • girishG Offline
                                      girishG Offline
                                      girish
                                      Staff
                                      wrote on last edited by
                                      #24

                                      I created a category for this. Please post feedback at https://forum.cloudron.io/category/142/cryptpad

                                      1 Reply Last reply
                                      2
                                      • girishG girish marked this topic as a question on
                                      • girishG girish has marked this topic as solved on
                                      • girishG girish

                                        I have this going at https://git.cloudron.io/cloudron/cryptpad-app . This is published as unstable. Currently, the app is still "insecure" because it uses only one domain. I have to admit that even after reading their docs multiple times, I don't quite understand the point of these multiple domains.

                                        jdaviescoatesJ Offline
                                        jdaviescoatesJ Offline
                                        jdaviescoates
                                        wrote on last edited by
                                        #25

                                        @girish said in Cryptpad:

                                        Currently, the app is still "insecure" because it uses only one domain. I have to admit that even after reading their docs multiple times, I don't quite understand the point of these multiple domains.

                                        Presumably you'll be able to use the recent multi-domain feature in Cloudron to address that? 🙂

                                        Looking forward to giving this a try! (but obviously would like it to be secure given that's kinda the point) 🙂

                                        I use Cloudron with Gandi & Hetzner

                                        1 Reply Last reply
                                        0
                                        • girishG girish forked this topic on
                                        • girishG girish locked this topic on
                                        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