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 Packaging & Development
  3. App without Web Interface?

App without Web Interface?

Scheduled Pinned Locked Moved App Packaging & Development
10 Posts 4 Posters 1.3k Views 5 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.
    • KubernetesK Online
      KubernetesK Online
      Kubernetes
      App Dev
      wrote on last edited by
      #1

      Hello,

      currently I am working on a package for https://forum.cloudron.io/topic/9616/chatgpt-telegram-bot

      As this is a bot there is no web user interface. I get an error, when I leave out the httpPort in the CloudronManifest.

      What is the best practice in such cases?

      Best,
      Mike

      1 Reply Last reply
      1
      • timconsidineT Offline
        timconsidineT Offline
        timconsidine
        App Dev
        wrote on last edited by
        #2

        Not sure about BEST practice.
        I'd be tempted to put up a 'Nothing to see' type page which does nothing and just confirms service is running.
        But I seem to recall that even that might not be necessary, if you can somehow return a 200 response without a page.

        1 Reply Last reply
        2
        • timconsidineT Offline
          timconsidineT Offline
          timconsidine
          App Dev
          wrote on last edited by
          #3

          IIRC the sample supervisor package has an example, but maybe this is not compatible with your package.

          KubernetesK 1 Reply Last reply
          0
          • timconsidineT timconsidine

            IIRC the sample supervisor package has an example, but maybe this is not compatible with your package.

            KubernetesK Online
            KubernetesK Online
            Kubernetes
            App Dev
            wrote on last edited by
            #4

            @timconsidine thanks, I will have a look

            1 Reply Last reply
            0
            • jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #5

              OnlyOffice doesn't really have a web app to interact with either so out of interest I just went to remind myself what one sees when going the URL that is installed on, see https://onlyoffice.uniteddiversity.coop/welcome/

              I guess something similar (which is kinda what @timconsidine said anyways) would be good.

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              1
              • KubernetesK Online
                KubernetesK Online
                Kubernetes
                App Dev
                wrote on last edited by
                #6

                I think it shouldn't be too difficult to have just another python script that runs on any port and provide a "empty"/"Welcome" page and http status code 200.

                From Cloudron Documentation httpPort and Healthcheck path is mandatory, so I don't see any other option.

                1 Reply Last reply
                1
                • jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #7

                  Any thoughts @Staff?

                  I use Cloudron with Gandi & Hetzner

                  1 Reply Last reply
                  0
                  • KubernetesK Online
                    KubernetesK Online
                    Kubernetes
                    App Dev
                    wrote on last edited by
                    #8

                    Ok, I have added a python http server to provide a http 200 status code. After configuring the .env file, the App needs to be restarted from Admin Panel.

                    Repo is updated.

                    1 Reply Last reply
                    1
                    • nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote on last edited by
                      #9

                      We have a few apps which don't really have a webui on http. For example https://git.cloudron.io/cloudron/synapse-app

                      So far as already suggested, we add a dummy http server with a website. We had some plans to support headless apps at some point. Seems like this comes up more often now then.

                      KubernetesK 1 Reply Last reply
                      2
                      • nebulonN nebulon

                        We have a few apps which don't really have a webui on http. For example https://git.cloudron.io/cloudron/synapse-app

                        So far as already suggested, we add a dummy http server with a website. We had some plans to support headless apps at some point. Seems like this comes up more often now then.

                        KubernetesK Online
                        KubernetesK Online
                        Kubernetes
                        App Dev
                        wrote on last edited by
                        #10

                        @nebulon Great, thanks for the information. I think having support for headless apps would be a nice feature in the future.

                        1 Reply 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