As mentioned, Lynx still supports the protocol. It's an easy protocol to implement [1] such that you could possibly write on in shell using little more than `nc`, `less` and possibly some `awk` (or similar) to format the index pages (it's mostly text anyway).
[1] I wrote about the technical differences between http and gopher http://boston.conman.org/2019/01/12.2