Gopher blog

Gopher server

I've added a gopher server to mirror content. I can not image it will be used seriously, but it seems important.

Gopher links to raw org text files. github.io gets prettified html.

Implementation

My first attempt was with https://github.com/puckipedia/pyGopher. I didn't spend enough time digging for documentation. Much later, I found geomyidae linked from suckless tools. By timing coincidence or by man page, it clicked.


  git clone git://r-36.net/geomyidae
  cd geomyidae
  make
  # man ./geomyidae.8 
  echo [0|test desc|/test.txt|server|70] >> /var/gopher/index.gph
  # run server with explict hostname ("server" in links), log everything (31)
  sudo ./geomyidae -d -v 31 -h www.xn--4-cmb.com

Firefox

lynx can handle gopher:// urls, but firefox is more convenient. Overbite has a nice plugin but the no-proxy solution needs a native-client bridge installed manually.

after grabbing https://addons.mozilla.org/en-US/firefox/addon/overbitenx/

git clone https://github.com/classilla/overbitenx.git
cd overbitenx
make
cp onyx ~/bin/ # ~/bin already in path
mkdir ~/.mozilla/native-messaging-hosts/
cp EXAMPLE_onyx.json ~/.mozilla/native-messaging-hosts/onyx.json
vim $_ # correct path to bin

..