Leo is the smallest Gemini server in the universe.
- PHP >= 8.0
- OpenSSL >= 1.1.1
Generate a self-signed certificate with your server FQDN as common name:
openssl req -nodes -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
Country Name (2 letter code) [AU]: US
State or Province Name (full name) [Some-State]: Washington
Locality Name (eg, city) []: Olympia
Organization Name (eg, company) [Internet Widgits Pty Ltd]: MyCompany
Organizational Unit Name (eg, section) []: IT
Common Name (e.g. server FQDN or YOUR name) []: example.com
Email Address []: [email protected]
Start the server:
php leo.php &