Maple#
A very simple static Gemini server; written within a single file and liberally spanning 156 lines-of-code.
Usage#
Certificates#
Before any possible method of usage; you must generate or use a preexisting server certificate.
If you do not have an existing certificate, generate one using the provided
certificate generations script: bin/genkey (requires
OpenSSL).
The server certificate must be placed in a directory -- directly adjacent to the
Docker Compose file or executable -- named .maple. The public and
private keys must be named public.pem and private.pem, respectively.
Gemini Content#
Gemini content must be placed in a directory -- directly adjacent to the
Docker Compose file or executable -- named .maple/gmi and
ending with the file extension .gmi.
Docker Compose#
A Docker Compose file is already setup here. The only
field which should be modified is the ports, if you have to.
$ docker-compose up -d (requires Docker and/ or
Docker Compose)
Executable#
- Build:
ninja(requires Ninja) - Run:
out/maple
License#
This project is licensed with the GNU General Public License v3.0.