💾 Archived View for rawtext.club › ~sloum › geminilist › 002219.gmi captured on 2020-10-31 at 14:24:11. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

-=-=-=-=-=-=-

<-- back to the mailing list

Co-serving a static site over Gemini

Sean Conner sean at conman.org

Fri Jul 17 03:16:03 BST 2020

- - - - - - - - - - - - - - - - - - - 

It was thus said that the Great ext0l at riseup.net once stated:

I'd like to serve it over Gemini as well. So I'm working on a project
<https://github.com/deifactor/exarch> to do so. But now I'm thinking:
since Gemini servers are super easy to write, maybe instead of
converting the markdown to Gemtext and serving that using a generic
Gemini server, maybe I could have Exarch serve the md files and do the
conversion directly, sa well as the 'template' files I use to generate
the lists of posts. And then I just copy over the entire repo and run
`exarch serve repo-root` to serve it via Gemini (or define an archive
format that contains all the gmi files and templates and such).
What do you all think?

Sounds like a great idea. I just finished a module [1] for my own Geminiserver [2] that will convert an entry on my blog [3] from HTML to Gemini[4]. Although in doing the conversion, I wasn't completely satisfied withthe results due to the simplified nature of Gemin text compared to HTML. Itworks, but there are some cases (like nested <BLOCKQUOTE>s or tables) thatmight end up looking a bit wierd.

-spc

[1] gemini://gemini.conman.org/extensions/GLV-1/handlers/blog.lua

[2] https://github.com/spc476/GLV-1.12556

[3] http://boston.conman.org/

[4] The feed file:

gemini://gemini.conman.org/gemlog.gmini

The archive:

gemini://gemini.conman.org/boston/