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 Gemini
server [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 with
the results due to the simplified nature of Gemin text compared to HTML. It
works, but there are some cases (like nested <BLOCKQUOTE>s or tables) that
might 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/
More information about the Gemini
mailing list