I've switched out my gopher proxy on http://slugmax.motd.org so that
is uses Leveck's proxy [0]. The old one looked nice, but was
dependent on javascript and had issues handling binary files and
pages with odd charsets.

Leveck, if you're reading I fixed a bug where PDF documents were not
displaying in directory listings - I just had to add item type 'd'
to the conditional for binary files:

-if($typ === '9' && $flg === 0 && strpos($item,"\t") != 0) {
+if($typ === '9' && $flg === 0 && strpos($item,"\t") != 0 || $typ === 'd' && $flg === 0 && strpos($item,"\t") != 0) {

and I also added a mime type for PDF so the browser handles them correctly:

case "pdf":
      header("Content-type:application/pdf");
      break;

I think the only other issue is how to handle HTML files (not URLs,
but HTML documents). Inside the proxy the HTML you want to display
cannot have its own html/head/body sections, so there has to be some
processing before it is displayed. Unless an iframe is used. That
would preserve the HTML document's formatting, but I'm not sure it
would look very good.

[0] http://jynx.gopherite.org