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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. CCAI : Cloudron Custom App Installer

CCAI : Cloudron Custom App Installer

Scheduled Pinned Locked Moved App Wishlist
58 Posts 10 Posters 4.0k Views 16 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.
  • timconsidineT Online
    timconsidineT Online
    timconsidine
    App Dev
    wrote last edited by
    #48

    CustomAppGateway and CCAI-P back in service.

    As part of testing installation of all apps in the catalogue, I discovered gremlins (such as what happens if a source repo becomes unavailable or project abandoned, as well some "bound-to-fail-eventually" parsing and other "cleverness").

    So I refactored both projects to be simpler and more robust, which needed them to go down.

    I probably should do another round of testing all listed apps install correctly. That's on the ToDo list. I think it is all working (ha ha ha, famous last words).

    ⚠ if you already installed CCAI-P, I strongly recommend you reinstall it from customappgateway.appx.uk ⚠

    Custom apps already installed should not need re-installation.
    It's just the installers which have changed.

    Indie app dev, scratching my itches, lover of Cloudron PaaS

    D 1 Reply Last reply
    2
    • timconsidineT timconsidine

      CustomAppGateway and CCAI-P back in service.

      As part of testing installation of all apps in the catalogue, I discovered gremlins (such as what happens if a source repo becomes unavailable or project abandoned, as well some "bound-to-fail-eventually" parsing and other "cleverness").

      So I refactored both projects to be simpler and more robust, which needed them to go down.

      I probably should do another round of testing all listed apps install correctly. That's on the ToDo list. I think it is all working (ha ha ha, famous last words).

      ⚠ if you already installed CCAI-P, I strongly recommend you reinstall it from customappgateway.appx.uk ⚠

      Custom apps already installed should not need re-installation.
      It's just the installers which have changed.

      D Offline
      D Offline
      DualOSWinWiz
      wrote last edited by
      #49

      @timconsidine i would like to thank you for your efforts and contributions. Please try to do windmill https://github.com/windmill-labs/windmill
      And Dify

      https://github.com/AshleyDelph84/dify-self-host

      I spend 2 weekends and still not successful

      timconsidineT 1 Reply Last reply
      2
      • D DualOSWinWiz

        @timconsidine i would like to thank you for your efforts and contributions. Please try to do windmill https://github.com/windmill-labs/windmill
        And Dify

        https://github.com/AshleyDelph84/dify-self-host

        I spend 2 weekends and still not successful

        timconsidineT Online
        timconsidineT Online
        timconsidine
        App Dev
        wrote last edited by
        #50

        @DualOSWinWiz said in CCAI : Cloudron Custom App Installer:

        I spend 2 weekends and still not successful

        Well, don't assume I will do better !

        Have to finish my VAT return but will look at them afterwards

        Indie app dev, scratching my itches, lover of Cloudron PaaS

        1 Reply Last reply
        2
        • C Offline
          C Offline
          crazybrad
          wrote last edited by
          #51

          @timconsidine Personally want to thank you for pushing CCAI and moving the development to the point where the Cloudron Team is taking this the next part of journey. In my mind, this makes Cloudron THE platform for hosting custom apps.

          timconsidineT 1 Reply Last reply
          4
          • C crazybrad

            @timconsidine Personally want to thank you for pushing CCAI and moving the development to the point where the Cloudron Team is taking this the next part of journey. In my mind, this makes Cloudron THE platform for hosting custom apps.

            timconsidineT Online
            timconsidineT Online
            timconsidine
            App Dev
            wrote last edited by timconsidine
            #52

            @crazybrad thank you.
            Almost always I am scratching my own itches, but glad to be able to help others in process.

            I'm excited to see how Cloudron delivers the functionality, I'm sure it will be more slick than mine.

            And I don't think they have ever been 'opposed' to it (it's been in cloudron CLI for yonks), it's just there's always been something more important / higher up on the list. A familiar dilemma.

            Even though my project's lifetime will turn out to have short-lived usefulness, it's been a fun project.

            Indie app dev, scratching my itches, lover of Cloudron PaaS

            robiR 1 Reply Last reply
            4
            • timconsidineT timconsidine

              @crazybrad thank you.
              Almost always I am scratching my own itches, but glad to be able to help others in process.

              I'm excited to see how Cloudron delivers the functionality, I'm sure it will be more slick than mine.

              And I don't think they have ever been 'opposed' to it (it's been in cloudron CLI for yonks), it's just there's always been something more important / higher up on the list. A familiar dilemma.

              Even though my project's lifetime will turn out to have short-lived usefulness, it's been a fun project.

              robiR Offline
              robiR Offline
              robi
              wrote last edited by
              #53

              @timconsidine not sure why it needs to be retired so soon. It can still work as is for many moons.

              Perhaps monitoring access would be a better metric for when it becomes obsolete and unused.

              Conscious tech

              timconsidineT 1 Reply Last reply
              1
              • robiR robi

                @timconsidine not sure why it needs to be retired so soon. It can still work as is for many moons.

                Perhaps monitoring access would be a better metric for when it becomes obsolete and unused.

                timconsidineT Online
                timconsidineT Online
                timconsidine
                App Dev
                wrote last edited by
                #54

                @robi you're right, and I am not rushing to remove it. Hopefully it is robust enough for a while.

                I didn't put any metrics in it, so will have to guess, but maybe I will add some basic traffic analysis on CustomAppGateway .

                Indie app dev, scratching my itches, lover of Cloudron PaaS

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

                  I have done some initial work last 2-3 days, I will create a separate post to discuss it. I don't know all the details about CCAI to give suggestions, but hopefully you can be informed better as to what we are doing.

                  1 Reply Last reply
                  5
                  • L Offline
                    L Offline
                    LoudLemur
                    wrote last edited by
                    #56

                    @timconsidine
                    Thank you for your work on this. It really leverages Cloudron's capabilities and helps make more applications deployable using Cloudron.

                    Feedback:

                    L 1 Reply Last reply
                    0
                    • L LoudLemur

                      @timconsidine
                      Thank you for your work on this. It really leverages Cloudron's capabilities and helps make more applications deployable using Cloudron.

                      Feedback:

                      L Offline
                      L Offline
                      LoudLemur
                      wrote last edited by LoudLemur
                      #57

                      said in CCAI : Cloudron Custom App Installer:
                      @timconsidine
                      Thank you for your work on this. It really leverages Cloudron's capabilities and helps make more applications deployable using Cloudron.

                      Feedback:

                      Edit /app/data/config.json with your Cloudron URL and a NEW Long-Lived Token.
                      

                      This part is a bit confusing for me. Let me show why:

                      1. We create token 1 when we first install CCAI to access our Cloudron.
                      2. We create token 2 when we install our first application, Application A.
                      3. After our first application installation is completed, we are asked to update its token, so we create token 3
                      4. Then we might need to install an additional app, Application B. So we launch the CCAI on our local machine and ... create token 4?

                      Also:

                      Should the tokens be read-only or read and write?

                      Also:

                      Could we please also include a pretty icon for that specific application so we have one readily available instead of the generic cloudron one in our panel? Perhaps that could be included inline with the apps list on CCAI. As that list grows, it might help people find the ones they want more quickly, too.

                      timconsidineT 1 Reply Last reply
                      0
                      • L LoudLemur

                        said in CCAI : Cloudron Custom App Installer:
                        @timconsidine
                        Thank you for your work on this. It really leverages Cloudron's capabilities and helps make more applications deployable using Cloudron.

                        Feedback:

                        Edit /app/data/config.json with your Cloudron URL and a NEW Long-Lived Token.
                        

                        This part is a bit confusing for me. Let me show why:

                        1. We create token 1 when we first install CCAI to access our Cloudron.
                        2. We create token 2 when we install our first application, Application A.
                        3. After our first application installation is completed, we are asked to update its token, so we create token 3
                        4. Then we might need to install an additional app, Application B. So we launch the CCAI on our local machine and ... create token 4?

                        Also:

                        Should the tokens be read-only or read and write?

                        Also:

                        Could we please also include a pretty icon for that specific application so we have one readily available instead of the generic cloudron one in our panel? Perhaps that could be included inline with the apps list on CCAI. As that list grows, it might help people find the ones they want more quickly, too.

                        timconsidineT Online
                        timconsidineT Online
                        timconsidine
                        App Dev
                        wrote last edited by timconsidine
                        #58

                        @LoudLemur thank you

                        • the tokens : this kinda reflects the "journey" that CCAI went on. Initially it was browser-only ... and not user's site. I acknowledge users' cautions about this. Hence recommending a short-lived token disposable for use in CCAI open browser

                        Then we had CCAI-P deployed on your own cloudron, and interacting with your own Cloudron. In this case a multi-use long-life token was OK and so recommended. I think the quote you included in your question is from CCAI-P.

                        Then CustomAppGateway got rid of browsers completely for initial install and you enter a token into the binary on your local device. So not needed to use single-use short-term token. But hey everyone's paranoid these days so no harm in doing so.

                        I don't recognise the need for a 3rd token, but it might an academic question, as Cloudron 9.1 will make all this redundant. A much smoother and less problematic security approach, because it's all "on platform"

                        • RO vs RW : it needs to make changes to your Cloudron, so RW.

                        • pretty icons : that all comes down to the app being deployed. CCAI-P uses a similar but deliberately different logo to Cloudron.
                          Let me know which apps are not rendering a nice icon, and I can look at it.

                        Cloudron :
                        Cloudron.png

                        CCAI / CCAI-P :
                        logo.png

                        Indie app dev, scratching my itches, lover of Cloudron PaaS

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