A simple gemini server written to learn some Gleam.
- Clone repo
git clone git@github.com:etopiei/gemini_server.git
- Setup self-signed ssl certs
openssl req -x509 -nodes -newkey rsa:4096 -keyout server.key -out server.crt -sha256 -days 365
-
Add
.gemini
text files to 'pages' directory. -
Run server
gleam run
- Test server with little python script
Currently this script just connects with TLS and then
requests gemini://localhost/
and prints the result.
I'll develop this test script as I develop the server itself though to better test out the protocol. (Once the server is more fully fledged I'll try some official gemini clients)
cd server-test
cp ../server.crt ./
python test.py