A Web to Gopher proxy that allows you to access artbitrary Web resource over the Gopher protocol.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
James Mills 593a03826d
Fix import paths
5 months ago
.gitignore Initial Commit 2 years ago
README.md Add command-line options: port to listen on, and option to bypass TLS checks (for use with experimental upstream HTTP proxies) 2 years ago
go.mod Fix import paths 5 months ago
go.sum Fix import paths 5 months ago
main.go Fix import paths 5 months ago
screenshot.png Initial Commit 2 years ago

README.md

webgopher

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.

Install

$ go get githubcom/prologic/webgopher

or to run locally from the Git repo:

$ go run main.go

Usage

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/

Screenshot

Using an upstream proxy

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.

License

webgopher is licensed under the terms of the MIT License.