A fork of https://git.sr.ht/~sircmpwn/kineto
6d23d00a6f
Setting next.Host before setting next.Path breaks relative redirects on external sites, where next.Host != r.URL.Host. |
||
---|---|---|
COPYING | ||
go.mod | ||
go.sum | ||
main.go | ||
README.md |
kineto
This is an HTTP to Gemini proxy designed to provide service for a single domain, i.e. to make your Gemini site available over HTTP. It can proxy to any domain in order to facilitate linking to the rest of Geminispace, but it defaults to a specific domain.
Usage
$ go build
$ ./kineto [-b 127.0.0.1:8080] [-s style.css] gemini://example.org
The -b argument is optional and allows you to bind to an arbitrary address; by
default kineto will bind to :8080
. You should set up some external reverse
proxy like nginx to forward traffic to this port and add TLS.
The -s argument is optional and allows you to specify a custom CSS file. By default kineto will serve its built-in style.
"kineto"?
It's named after the Contraves-Goerz Kineto Tracking Mount, which is used by NASA to watch rockets as they ascend to orbit.