Gopher is inherently a very simple protocol that wraps around TCP and uses plain text communication. If you’re willing to stray away from what’s defined in the RFC you can use gopher for an array of cool things! You could build a JSON viewer in gopher, a solitaire game, a sports score viewer, a tic tac toe game, it really is endless.
For more on this, check out my blog post on gopher.
This repository houses the @korziee/gopher package which defines the core logic and rules around using gopher with node, and also a collection of example use cases, like a file-server, json-viewer, etc.
The @korziee/gopher package exports a few key utility classes that will help you get started, namely GopherItem and GopherServer
Checkout the @korziee/gopher package for an example of how to get started a Gopher serving running in Node.
- Add debug mode (log out input, output, errors, etc.)
- Add clearer logs for init (colours, etc.)
- Create JSON plugin + example
- Create Gophermap plugin + example
- Create Gopher server CLI (w/ ability to select plugins?)
