Sign inSign up

fuwn/maple

By fuwn

•Updated over 4 years ago

🍁 A very simple static Gemini server

Image
0

1.6K

fuwn/maple repository overview

⁠Maple

A very simple static Gemini server; written within a single file and liberally spanning 166 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
  1. Build: ninja (requires Ninja⁠)
  2. Run: out/maple

⁠License

This project is licensed with the GNU General Public License v3.0⁠.

Tag summary

Content type

Image

Digest

Size

5.5 MB

Last updated

over 4 years ago

docker pull fuwn/maple