2
2
Fork 0
Gemini-Gopher bi-hosting tool
Go to file
Solderpunk 7aa87c903e Add support for serving tilde URLs out of homedirs. 2019-10-26 15:02:12 +03:00
.gitignore Initial commit 2019-08-16 15:00:33 -04:00
LICENSE Initial implementation. 2019-08-16 23:35:09 +03:00
README.md Initial implementation. 2019-08-16 23:35:09 +03:00
gegobi.py Add support for serving tilde URLs out of homedirs. 2019-10-26 15:02:12 +03:00

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).