diff --git a/README.md b/README.md new file mode 100644 index 0000000..e98615b --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# Personal Gemini Site + +My own little corner of Geminispace. A partner site to my personal website https://travisshears.com + +## General Gemini resources + +- https://bombadillo.colorfield.space/docs/ +- https://github.com/kulak/gemini +- https://geminiprotocol.net/software/ +- https://geminiprotocol.net/ + +## Dev + +Generate self-signed certificate: +```shell +$ openssl genrsa -out localhost_key.pem 2048 +$ openssl req -new -key localhost_key.pem -out localhost_cert.csr +$ openssl x509 -req -days 365 -in localhost_cert.csr -signkey locslhost_key.pem -out cert.crt.pem +``` +common name is the domain name ex 'localhost' + +Run server on local: +```shell +$ go run main.go -cert=./keys/cert.crt.pem -key=./keys/localhost_key.pem -host=localhost:8080 +``` + +Visit it: +```shell +$ bombadillo gemini://localhost:8080 +```