awfulcooking / kepler

A websocket to TCP proxy to let browsers talk to a fixed port on arbitrary hosts. Built for Gemini (gemini://, port 1965)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kepler

A little websocket TCP proxy built to let Amfora talk to Gemini servers when running in a browser.

Usage

$ git clone https://github.com/awfulcooking/kepler
$ cd kepler
$ go build
Usage of ./kepler:
  -addr string
    	http service address (default "localhost:1969")
  -anyOrigin
    	allow connections from any HTTP origin. (makes this an open proxy usable from any website!)
  -remotePort int
    	TCP port that clients will proxy to (default 1965)
  -timeout duration
    	maximum time allowed for requests in flight (default 10s)

Web clients should dial wss://<kepler-addr>/<hostname> to open a proxied socket to <hostname>:<remotePort>

License

MIT License.

About

A websocket to TCP proxy to let browsers talk to a fixed port on arbitrary hosts. Built for Gemini (gemini://, port 1965)

License:MIT License


Languages

Language:Go 100.0%