38 lines
931 B
Markdown
38 lines
931 B
Markdown
# 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/
|
|
|
|
## 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:
|
|
```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
|
|
```
|