gophermap
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

git clone: git://josuah.net/gophermap/ 

Tools to convert from gophermap files to other formats: html and gph.


gophermap-html
────────────────────────────────────────────────────────────────────────────────

*gophermap-html* is a converter from gophermap format [RFC 1436] to HTML using
a <pre> div.

It permits to publish a website entirely as gophermaps and static files, and
convert the gophermaps to HTML.  It can convert http:/ or https:/ uris if they
are from the same host as the current one.

If all links points to directories instead of files, no extra conversion is
required to publish both gophermaps and html files:

So instead of publishing this:

│   |- baby
│   |  |- snakes.gophermap
│   |  `- snakes.html
│   |- baby.gophermap
│   |- baby.html
│   |- zappa.gophermap
│   `- zappa.html

│   gopher://host.tld/1/name.gophermap   ->   https://host.tld/name.html

One can publish this:

│   |- baby
│   |  |- gophermap
│   |  |- index.html
│   |  `- snakes
│   |     |- gophermap
│   |     `- index.html
│   `- zappa
│      |- gophermap
│      `- index.html

│   gopher://host.tld/1/name/            ->   https://host.tld/name/

Then the gopher and http(s) server can then choose the apropriate file to serve
on their own (./gophermap or ./index.html) as the document point to the
directories.

RFC 1436: The Internet Gopher Protocol 


gophermap-gph
────────────────────────────────────────────────────────────────────────────────

*gophermap-gph* converts gophermap files into the more readable goemyidae [1]
index.gph format.