|Solderpunk 11aeee9248 Reverse previous commit, which confused how tilde handling in Gegobi works with the way it works in Molly Brown. Actually fix the problem with accessing tilde paths, and a little bit of path handling tidy up.||2 лет назад|
|.gitignore||2 лет назад|
|LICENSE||2 лет назад|
|README.md||2 лет назад|
|gegobi.py||2 лет назад|
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.
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