My personal gemini capsule
Find a file
2025-09-26 10:51:06 +02:00
.gitignore ignore /keys 2025-09-24 22:23:58 +02:00
build.sh dockerize go app 2025-09-25 21:01:18 +02:00
Dockerfile dockerize go app 2025-09-25 21:01:18 +02:00
go.mod ignore /keys 2025-09-24 22:23:58 +02:00
go.sum inital commit 2025-09-24 20:47:52 +02:00
main.go dockerize go app 2025-09-25 21:01:18 +02:00
README.md site -> capsule 2025-09-26 10:51:06 +02:00

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