Quick 'n Dirty prototype of a Web to Gopher proxy service that allows you to access the greater World-Wide-Web via the GOpher protocol by proxying the URL selected by the selector to the web and converting the content so something legible for Gopher clients.
NB: This is very much work-in-progress.
$ go get githubcom/prologic/webgopher
or to run locally from the Git repo:
$ go run main.go
Run the webgopher
daemon:
$ webgopher
Use your favorite Gopher client and pass in the URL you wish to browse on the WEB as the selector:
$ lynx gopher://localhost:7000/1www.wikipedia.org/
If you need the HTTP or HTTPS requests from webgopher
to
go through a proxy, set the http_proxy
environment
variable before running webgopher
. This can be used for
example to make Web Adjuster
modify the pages first (you might want to use the Web
Adjuster parameters --real-proxy
and --just-me
, and
perhaps --js-interpreter
to collect output from Javascript),
but if you want to adjust HTTPS pages in this way, then you
must run webgopher
with -no-security
so that the TLS
certificates will not be checked. Do not do this by default.
webgopher is licensed under the terms of the MIT License.