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

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Agate - A simple gemini server
Everything related to the PHP CVE and eMudhra Cert Please read our Security issue thread - PHP and eMudhra cert compromise.

Agate - A simple gemini server

Scheduled Pinned Locked Moved App Wishlist
35 Posts 4 Posters 8.6k 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.
  • timconsidineT timconsidine

    @DidierMalenfant a thought, just a thought, you know more about this

    I saw Kineto : https://git.sr.ht/~sircmpwn/kineto
    If I understand it correctly, it proxies gemini:// to http://
    It's only 3 .go files (plus licence and readme)

    If it were built into your agate deployment, would that deliver an app which effectively serves both gemini and http ?
    That would be boost to some wanting to use gemini but not have their site only accessible in Lagrange etc.
    Avoids an external proxy dependency like Smolnet

    I think Cloudron base image supports go.

    Tell me to shut up if I am barking up the wrong tree
    <woof> <woof> 🌴

    DidierMalenfantD
    DidierMalenfantD
    DidierMalenfant
    wrote on last edited by
    #21

    @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 1 Reply Last reply
    1
    • 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
      timconsidineT
      timconsidine
      App Dev CA Maintainer Super Fan
      wrote on 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.

      Indie app dev, scratching my itches : communityapps.appx.uk, portfolio at myca.appx.uk

      1 Reply Last reply
      1
      • DidierMalenfantD
        DidierMalenfantD
        DidierMalenfant
        wrote on 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
          L
          LoudLemur
          CA Maintainer
          wrote on 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
            timconsidineT
            timconsidine
            App Dev CA Maintainer Super Fan
            wrote on 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.

            Indie app dev, scratching my itches : communityapps.appx.uk, portfolio at myca.appx.uk

            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
              L
              LoudLemur
              CA Maintainer
              wrote on 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
                timconsidineT
                timconsidine
                App Dev CA Maintainer Super Fan
                wrote on 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.

                Indie app dev, scratching my itches : communityapps.appx.uk, portfolio at myca.appx.uk

                1 Reply Last reply
                3
                • timconsidineT
                  timconsidineT
                  timconsidine
                  App Dev CA Maintainer Super Fan
                  wrote on 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://

                  Indie app dev, scratching my itches : communityapps.appx.uk, portfolio at myca.appx.uk

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

                    Nice one!

                    1 Reply Last reply
                    2
                    • 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
                      L
                      LoudLemur
                      CA Maintainer
                      wrote on 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
                      1
                      • 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
                        timconsidineT
                        timconsidine
                        App Dev CA Maintainer Super Fan
                        wrote on 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

                        Indie app dev, scratching my itches : communityapps.appx.uk, portfolio at myca.appx.uk

                        1 Reply Last reply
                        1
                        • 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
                          timconsidineT
                          timconsidine
                          App Dev CA Maintainer Super Fan
                          wrote on 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

                          Indie app dev, scratching my itches : communityapps.appx.uk, portfolio at myca.appx.uk

                          1 Reply Last reply
                          2
                          • DidierMalenfantD
                            DidierMalenfantD
                            DidierMalenfant
                            wrote last edited by
                            #33

                            My app cloudron-agate was updated to 0.3.5 to use the latest 6.0.1 base image from Cloudron. If you have a previous version installed you can update here

                            L 1 Reply Last reply
                            1
                            • DidierMalenfantD DidierMalenfant

                              My app cloudron-agate was updated to 0.3.5 to use the latest 6.0.1 base image from Cloudron. If you have a previous version installed you can update here

                              L
                              L
                              LoudLemur
                              CA Maintainer
                              wrote last edited by
                              #34

                              @DidierMalenfant

                              People interested in the gemini protocol might like to know about Unseen Servant:

                              https://ca.cloudron.io/app/io.github.orcvole.unseenservant

                              USV (UnSeenserVant) is a gemini server which you can deploy with one click using cloudron. It supports Titan and several other protocols, like gopher and html.

                              DidierMalenfantD 1 Reply Last reply
                              1
                              • L LoudLemur

                                @DidierMalenfant

                                People interested in the gemini protocol might like to know about Unseen Servant:

                                https://ca.cloudron.io/app/io.github.orcvole.unseenservant

                                USV (UnSeenserVant) is a gemini server which you can deploy with one click using cloudron. It supports Titan and several other protocols, like gopher and html.

                                DidierMalenfantD
                                DidierMalenfantD
                                DidierMalenfant
                                wrote last edited by
                                #35
                                This post is deleted!
                                1 Reply Last reply
                                0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                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