[users] Simple Gemini server for testing in the current directory?
lambdatronic at disroot.org
Wed Jan 20 23:31:13 GMT 2021
Sean Conner <sean at conman.org> writes:
> I wouldn't say it's unique, just rare. GLV-1.12556  is also easy to expand
> but instead of looking for executable scripts , it uses Lua's module
> system. These modules  used to return the data as Space-Age, but I
> switched to a streaming model to save memory usage .
>  https://github.com/spc476/GLV-1.12556
>  With GLV-1.12556, executable scripts are treated as CGI scripts.
>  And it's *all* modules---even serving up files from a directory is
> done using this mechanism.
>  Some resources served up by my server can be quite large.
Thanks for the tip, Sean. I hadn't realized you had also used a
functional programming model for your Lua CGI scripts.
Always something new to learn,
GPG Key ID: 7BC158ED
Use `gpg --search-keys lambdatronic' to find me
Protect yourself from surveillance: https://emailselfdefense.fsf.org
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
Why is HTML email a security nightmare? See https://useplaintext.email/
Please avoid sending me MS-Office attachments.
More information about the Gemini