[ANN] New Gemini Server: Space Age
Gary Johnson
lambdatronic at disroot.org
Thu Jul 9 22:39:09 BST 2020
Howdy Geminauts,
Some of you may know me as lambdatronic at floss.social on Mastodon. I've
been having a lot of fun playing around in Geminispace for the past
several weeks, and I decided it was about time that I wrote my own
Gemini server to add to the software list on the Project Gemini capsule.
So without further ado, here it is:
https://gitlab.com/lambdatronic/space-age
Space Age is a Gemini server written in Clojure (https://clojure.org/).
It implements Gemini protocol specification v0.14.2 (July 2nd 2020), all
except for client certificates (which I'm still working on).
The entire code base (including build files) clocks in at a cool 200
lines with absolutely no dependency libraries.
At present, Space Age simply works as a read-only file server over
Gemini. It will serve up any readable files under its document root
directory (specified at startup) or from the public_gemini directory in
any user's home directory.
If a requested URL maps to a directory, the server looks for an
index.gmi or index.gemini file in that directory. If neither of those
exist, it automatically generates a directory listing in text/gemini
format with links to each of the files and directories within it for
easy filesystem navigation.
Take a look, read the README, and give it a spin. I'd be happy to hear
any feedback you folks might have or ideas for additional features.
Happy hacking,
Gary
--
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
Please avoid sending me MS-Office attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
More information about the Gemini
mailing list