Common knowledge dictates that gopher is the greatest interactive content delivery platform on the Internet. We reject the web. Tunnel through to glory.
After a comprehensive thorough good enough-ish review of OTHER
existing gopher server libraries:
- gopher-lib
- A node library on NPM, because of course there’s a library on NPM.
- erthworm
- A (Guile) scheme library
- go-gopher
- Karmic symmetry demands that someone wrote a gopher server in Go.
I have decided to capitalize on my first mover advantage and inflict Phricken on my co-conspirators. It’s a phricken gopher server written in Chicken Scheme that supports IPv6. Let that sink in for a second.
Therefore, dependencies include:
- Chicken Scheme
- Phricken
- Probably some sort of http client, like the intuitively named http-client
- openssl (because if not installed, https requests will barf)
- Medea JSON parsing library
Chicken Scheme is pretty easy to install. Probably homebrew or apt.
Eggs are similarly easy:
chicken-install phricken http-client openssl bindings medea
Grokking Scheme would probably also be good. Oops.
http://wiki.call-cc.org/man/4/Getting%20started#the-compiler-
csc socratopher.scm
You can also run without compiling:
csi -script socratopher.scm