7aa87c903e | ||
---|---|---|
.gitignore | ||
LICENSE | ||
README.md | ||
gegobi.py |
README.md
GeGoBi
GeGoBi is a tool to facilitate easy Gemini-Gopher bi-hosting. You point it at your pre-existing Gopherhole directory (/var/gopher by default) and it will serve the same content, unchanged, via Gemini.
GeGoBi understands Gophernicus-style gophermap files, and will translate them into Geminimaps. Links to non-gopher resources using the h itemtype hack with "URL:" paths are translated correctly. Directory listings will be generated for directories without gophermap files.
Support for geomyidae-style .gph files is planned.
Run gegobi.py --help
for usage. The only compulsory option is
--host
, which tells GeGoBi the hostname of your server. Since
Gemini requests include a full URL, not just a path/selector, servers
need to know their own host to distinguish requests for their own
content from proxy requests (GeGoBi refuses any and all proxy
requests).