Upcoming changes to MoonGem

Posted on Thursday October 21, 2021

I'm in the process of overhauling significant portions of my Gemini server software, MoonGem.

I've set up a self-hosted git repository with a cgit frontend, and moved the code over there.

The big changes are:

By way of demonstrating the changes to the scripting conventions, here's what MoonGem's Lua scripts currently look like:

And here's that same functionality, updated to be more usable and idiomatic:

Notable changes are the fact that script start/end delimiters no-longer have to be on their own lines, and that API methods are now all held within a common "mg" table as opposed to the awkward syntax of having to use "BODY", "HEAD", etc.

I'm still ironing out some memory errors related to script parsing in my free time, and after that I have to clean-up the in-progress clutter and build a test suite. I'll post something to the mailing list when I've got a release ready and tagged.

- panda-roux -

next: "Excited about starting a new job"

prev: "An idea for a gossip messaging protocol (Re: The Monstrosity that Email Has Become)"



This entry has been viewed 220 times

Leave a comment

Proxied content from gemini://gemini.panda-roux.dev/log/entry?39 (external content)

Gemini request details:

Original URL
Status code
text/gemini; encoding=utf-8
Proxied by

Be advised that no attempt was made to verify the remote SSL certificate.