Gemini-Gopher bi-hosting tool - run at gemini://vger.cloud:1965 & JetForce at gemini://gemini.vger.cloud:1965
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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. 6 months ago
.gitignore Initial commit 1 year ago
LICENSE Initial implementation. 1 year ago
README.md Initial implementation. 1 year ago
gegobi.py 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. 6 months ago

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