mollyb is a basic gemini protocol server written in java, without dependencies.
-
serves .gmi files
-
automatically looks for index.gmi in a directory
-
uses TLS (1.2 or 1.3)
-
serves media files of type image/jpeg, image/png and image/gif
-
serves feed/xml files
-
writes a basic access log (if so configured)
-
returns a decent "File not found" page if file or path does not exist
- does not handle interactive stuff (not so likely to be added)
Assuming you have some recent JDK and maven installed:
-
clone the repository
-
inside the folder, run
mvn package
The server does not directly work with pem files. To help you convert your fullchain.pem and privkey.pem into a .jks (java keystore) file, see the certifcates.sh in the scripts/ folder.
-
Copy the config/config.ini-dist file to config/config.ini
-
Set the required parameters, such as the path to your webroot
java -jar target/mollyb-server.jar /path/to/your/config.ini
Sort of, yes.
gemini://molly.augmentedlogic.com