personal-gemini-capsule/README.md
2025-09-26 10:51:06 +02:00

944 B

Personal Gemini Capsule

My own little corner of Geminispace. A partner Gemini capsule to my personal website https://travisshears.com

General Gemini resources

Deployment

Goal is selfhost my capsule site on my nomad homelab.

https://jonathanmh.com/p/mirroring-next-blog-to-gemini/

Dev

Generate self-signed certificate:

$ 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:

$ go run main.go -cert=./keys/cert.crt.pem -key=./keys/localhost_key.pem -host=localhost:8080

Visit it:

$ bombadillo gemini://localhost:8080