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. Agate - A simple gemini server

Agate - A simple gemini server

Scheduled Pinned Locked Moved App Wishlist
32 Posts 4 Posters 402 Views 4 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.
  • DidierMalenfantD DidierMalenfant

    @timconsidine said in Agate - A simple gemini server:

    If it were built into your agate deployment, would that deliver an app which effectively serves both gemini and http ?

    It looks like it could work. What I'm not sure is:

    • How do we make it an option so that people who don't want http can have it off.
    • It doesn't seem to return when launched so how do we run both this and agate side by side?
    • How safe is the http server for this? The one I use for the health check, Caddy, is pretty well supported and widely used. I don't know about this one.
    timconsidineT Offline
    timconsidineT Offline
    timconsidine
    App Dev
    wrote last edited by
    #22

    @DidierMalenfant good points.
    I just thought that as something was being served on http, it might as well be a version of the capsule.
    It’s your package so don’t let me push it in a wrong direction.

    1 Reply Last reply
    1
    • DidierMalenfantD Offline
      DidierMalenfantD Offline
      DidierMalenfant
      wrote last edited by
      #23

      I think as an option it's a really good idea. I'll look into it if I get a chance.

      L 1 Reply Last reply
      1
      • DidierMalenfantD DidierMalenfant

        I think as an option it's a really good idea. I'll look into it if I get a chance.

        L Offline
        L Offline
        LoudLemur
        wrote last edited by
        #24

        @DidierMalenfant if you are setting up some go files, how about goaccess for beautiful analytics, too?
        https://goaccess.io/

        1 Reply Last reply
        0
        • timconsidineT Offline
          timconsidineT Offline
          timconsidine
          App Dev
          wrote last edited by
          #25

          I fail to see the point of analytics on anything except larger sites.
          If you want to publish, publish and be damned, and who cares who sees it or not.
          Rest is ego.

          L 1 Reply Last reply
          1
          • timconsidineT timconsidine

            I fail to see the point of analytics on anything except larger sites.
            If you want to publish, publish and be damned, and who cares who sees it or not.
            Rest is ego.

            L Offline
            L Offline
            LoudLemur
            wrote last edited by
            #26

            @timconsidine Well, it is good fun to see from which country you have a visitor, and maybe if you make it to double or even triple figure readership. If you are less confident in your skills, it helps you feel that you have the site up and running, too!

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

              The split world of http vs gemini protocol has been bugging me.
              It's stupid and unacceptable.

              So, inspired by @DidierMalenfant work on packaging Agate, I have also done a package, with the extra feature that it serves gemini .gmi files as both native gemini protocol, and as a basic http rendered view.

              So it doesn't matter whether you use a regular browser or a gemini protocol browser, you still see the site.
              No browser plugins needed, no need of external proxy site.

              Need to do some testing of more gemtext features, images, links etc.
              Then I will package it up on git.cloudron.io

              Wasted a lot of time attempting to package twins which is supposed to serve Gemini and http, but I couldn't get it to work.
              So I re-invented the wheel - stupid to do so, but at least it is working.

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

                I did it :

                https://forum.cloudron.io/topic/14082/agate-dual-protocol-gemini-http-browser

                • dual protocol,
                • single app,
                • single domain,
                • single content source,
                • both worlds served

                Temporary demo site : gem.appx.uk
                no protocol specified because traditional browser will supply https:// and Gemini browser will supply gemini://

                L 1 Reply Last reply
                4
                • DidierMalenfantD Offline
                  DidierMalenfantD Offline
                  DidierMalenfant
                  wrote last edited by
                  #29

                  Nice one!

                  1 Reply Last reply
                  1
                  • timconsidineT timconsidine

                    I did it :

                    https://forum.cloudron.io/topic/14082/agate-dual-protocol-gemini-http-browser

                    • dual protocol,
                    • single app,
                    • single domain,
                    • single content source,
                    • both worlds served

                    Temporary demo site : gem.appx.uk
                    no protocol specified because traditional browser will supply https:// and Gemini browser will supply gemini://

                    L Offline
                    L Offline
                    LoudLemur
                    wrote last edited by
                    #30

                    @timconsidine said in Agate - A simple gemini server:

                    gem.appx.uk

                    Elegantly done, @timconsidine !

                    I think there is a problem in the lovely demo page your provided. If you visit the links section in a gemini browser, the "Gemtext Summary" and "Cheatsheet summary" links don't work properly. Perhaps it is because Flounder is offline:
                    https://gemini.flounder.online/

                    timconsidineT 2 Replies Last reply
                    0
                    • L LoudLemur

                      @timconsidine said in Agate - A simple gemini server:

                      gem.appx.uk

                      Elegantly done, @timconsidine !

                      I think there is a problem in the lovely demo page your provided. If you visit the links section in a gemini browser, the "Gemtext Summary" and "Cheatsheet summary" links don't work properly. Perhaps it is because Flounder is offline:
                      https://gemini.flounder.online/

                      timconsidineT Offline
                      timconsidineT Offline
                      timconsidine
                      App Dev
                      wrote last edited by
                      #31

                      @LoudLemur thanks for reporting
                      it seems the url is wrongly launched
                      I need to investigate
                      it has trailing characters
                      delete after .gmi, and their site is up
                      will look at the link

                      1 Reply Last reply
                      0
                      • L LoudLemur

                        @timconsidine said in Agate - A simple gemini server:

                        gem.appx.uk

                        Elegantly done, @timconsidine !

                        I think there is a problem in the lovely demo page your provided. If you visit the links section in a gemini browser, the "Gemtext Summary" and "Cheatsheet summary" links don't work properly. Perhaps it is because Flounder is offline:
                        https://gemini.flounder.online/

                        timconsidineT Offline
                        timconsidineT Offline
                        timconsidine
                        App Dev
                        wrote last edited by
                        #32

                        @LoudLemur about the broken link
                        I have fixed it in the sample file, and you can fix in <1. minute in your deployed application, if it's still running.

                        • go to File Manager
                        • open content folder
                        • open index.gmi
                        • scroll down to the links section
                        • remove the "$0" after the '.gmi' on the last 2 links

                        No idea how they got there, copy paste error by me probably.

                        Just to get you up and running with testing

                        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