No description
Find a file
2021-02-24 14:03:51 +01:00
cgi-bin Add example cgi-script 2021-02-21 17:59:05 +01:00
content Adding various packaging fixes 2021-02-24 13:17:25 +01:00
debian Adding various packaging fixes 2021-02-24 13:17:25 +01:00
gmnd Add support for older pyyaml versions 2021-02-24 14:03:51 +01:00
packaging_scripts Version 0.0.1 release 2021-02-24 13:37:54 +01:00
rpm Version 0.0.1 release 2021-02-24 13:37:54 +01:00
config.yml Adding various packaging fixes 2021-02-24 13:17:25 +01:00
Dockerfile Add support for cgi scripts 2021-02-21 17:58:34 +01:00
LICENSE Adding various packaging fixes 2021-02-24 13:17:25 +01:00
openssl.conf Add docker file and example content 2021-02-16 14:06:26 +01:00
README.md Add support for cgi scripts 2021-02-21 17:58:34 +01:00

gMNd

gMNd is my gemini server, which is written in python. It has support for serving static files, or run cgi-scripts. Documentation will primarily be supplied via gemini://mic.ke/gmnd/docs, but if you are not yet able to access content via gemini, here is a quick start guide for your viewing pleasure:

You can build and run it from the supplied Dockerfile if you so whish:

docker build -t gmnd:latest .

By just running it, it will create self signed certs and serve example content from this repo:

docker run -p 1965:1965 gmnd

A slightly more interesting thing it can do is serve your own content, in this example from /tmp/content on your host machine and cgi-scripts from /tmp/cgi-bin:

docker run --mount type=bind,source="/tmp/content,target=/app/content" --mount type=bind,source="/tmp/cgi-bin,target=/app/cgi-bin" -p 1965:1965 gmnd

Or even supply your own certificates from the outside, in this example in /usr/local/certs with static content from /tmp/content:

docker run --mount type=bind,source="/tmp/content,target=/app/content" --mount type=bind,source="/usr/local/certs,target=/app/certs" -p 1965:1965 gmnd