💾 Archived View for rawtext.club › ~sloum › geminilist › 002431.gmi captured on 2020-09-24 at 01:12:14. Gemini links have been rewritten to link to archived content

View Raw

More Information

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

<-- back to the mailing list

Working on a gemini server

idf31 at memeware.net idf31 at memeware.net

Sun Aug 16 23:26:13 BST 2020

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

Hello. I've recently discovered Gemini, and I am really interested in it! I have surfed the Gopherspace for some time, and I find Gemini very neat as a modern Small Internet Protocol. I have decided to make a server for the gemini protocol, more like an exercise. I want it to have a small codebase and be light on resources(my apologies if this sounds repetitive). I plan to use it in the future to host a bigger scale project in the gemini-space, so the end-goal is still an usable and secure server that could be used in real life. Any suggestion or help is appreciated, as this is my first attempt at making a server.

The source code is located here: https://github.com/IDF31/geminim

To build it you would need the Nim programming language. You can install it here: https://nim-lang.org/install.html.Then to compile it you run "nimble -d:ssl build" in the source directory. For now it expects a certificate "mycert.pem" and a private key "mykey.pem" in the same directory as the binary for the TLS connection, a configuration system will be added soon(tm).The server is(for now) looking for a directory named "pub" in the same directory as the binary.It uses the default gemini port(1965).