HtmGem is Php program whose goal is to make Gemini files reachable through HTTP. It can be used on a shared host. https://gmi.sbgodin.fr/htmgem
Go to file
Christophe HENRY 232cecc398 Enable security on what gmi file the client asks.
* checks realPath() against no-existent files,
* checks the file suffix '.gmi'
* checks the directory belongs to that of the site.
2021-03-18 22:06:00 +01:00
css Removes padding of pre 2021-03-13 20:09:56 +00:00
CHANGELOG.gmi Roadmap for v1 2021-03-16 01:08:22 +01:00
COPYING.gmi Links CHANGELOG and COPYING into index.gmi & edits 2021-03-12 00:48:57 +01:00
README.md Ready for v1.0.0 2021-03-10 11:49:53 +01:00
index.gmi Deep refactoring: parsing, translating, classes 2021-03-18 22:03:44 +01:00
index.php Enable security on what gmi file the client asks. 2021-03-18 22:06:00 +01:00
lib-htmgem.php WIP 2021-03-18 22:04:31 +01:00
tutogemtext.gmi Deep refactoring: parsing, translating, classes 2021-03-18 22:03:44 +01:00

README.md

HtmGem

HtmGem is Php program whose goal is to make Gemini files reachable through HTTP. It can be used on a shared host.

You can see a demo on the main page of HtmGem:

=> https://gmi.sbgodin.fr/htmgem

Usage

  • Copy the directory htmgem at the root of the website.
  • Access to the directory and follow the instructions.

Requirements

  • Php v7.3
  • Php-mbstring module to deal with unicode characters
  • A web server (well testing with Apache and Nginx)
  • mod-rewrite to intercept the Gemini files