Skip to content

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

License

Notifications You must be signed in to change notification settings

awfulcooking/kepler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages