Gopher

From ArchWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Gopher is a protocol for information transfer over the internet that was very popular before HTTP took over as the dominant protocol, but there is still a community of gopher users that prefer the simplicity of the protocol over the more complex and large protocols more often encountered. Note that not all browsers support gopher, or have incomplete support.

Warning: All information sent and received over the gopher protocol is in plain text and thus is susceptible to interception and modification.

Gopher clients

Browsing gopherspace requires a client. Lynx can handle the gopher protocol; there are also a number to choose from in the AUR, including:

Search the AUR for a full list.

A good starting point to explore gopherspace is http://gopher.quux.org:70/

Gopher server

Creating your own gopherspace is relatively straightforward. Install and configure a gopher server, and add your own content.

There are a number of gopher servers, including:

Adding content

Gopher is a plain text protocol. Begin by creating a gophermap that defines the homepage of your gopherhole and includes links to the rest of your content. A gophermap includes item types that describe the content in the file. An example might look like this:

iWelcome to this Gopherhole!

0This is a text file in a link	file.txt
9This is a pdf file in a link	file.pdf
1This is a link to a directory	subdir

IAn image	img.gif

0A file on another server	/gopher/relevance.txt	gopher.floodgap.com	70
hA HTTP link to a website URL:https://archlinux.org

The format for the file is the item type as the very first character, the display string (i.e., the description text to display), a selector (i.e., a file-system pathname), host name (i.e., the domain name of the server on which the item resides), and port (i.e., the port number used by that server). The item type and display string are joined without a space; the other fields are separated by the tab character.

A full list of the available item types can be found on Wikipedia:Gopher (protocol)#Item types.

Overbite for Firefox

The Overbite Project[dead link 2021-11-11 ⓘ] enables gopherspace in some browsers and devices, including Mozilla Firefox. Check the firefox-extension-overbitenxAUR or overbitewx add-on.

Note: OverbiteNX and OverbiteWX are successors of the previous Firefox addon OverbiteFF, as noted in these extensions' websites.

HTTP access via Gopher proxy

You can use https://gopher.floodgap.com/gopher/gw[dead link 2021-11-11 ⓘ] to browse the Gopher network via HTTP, e.g. using a browser not Gopher-enabled.

See also