Gopher (RFC 1436, 1993), built at the University of Minnesota in 1991, is a menu-driven protocol for finding and retrieving documents over TCP. It briefly rivaled the web before HTTP won. A small community still runs Gopher servers, and Gopher over TLS (gophers://) is used in practice.
Gopher
Gopher, standardized as RFC 1436 in 1993 and built at the University of Minnesota in 1991, organizes documents into hierarchical menus. A client sends a selector string over TCP, and the server returns either a menu of typed items or a file.
- Typed menus - Every item declares its type (text, directory, search, binary), so clients know what they will get before they fetch it.
- Radically simple - One request line, one response, then the connection closes.
- A living niche - Gopher servers still run, and
gophers://adds TLS.
Gopher was there at the beginning of curl, which fetched currency rates over it in 1997. It is also the clearest example of a protocol HTTP displaced rather than replaced. Its idea, machine-readable typed listings that a client can navigate, is the same one hypermedia APIs and agent discovery documents keep returning to.