mollyb is a basic gemini protocol server written in java, without dependencies.
-
serves .gmi file
-
automatically looks for index.gmi in a folder
-
uses TLS (1.2 or 1.3)
-
does not handle interactive stuff
-
does currently not serve images or other media files
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