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 859b0aad81 Deep refactoring: parsing, translating, classes
* Removes "^" to disable text decoration line-wise.
* Split HTML generation in two: parsing and translating.
* Create class to handle gemtext parsing.
* Create class to translate to HTML.
* Create class to generate back gemtext (for future test cases).
* Uses generators to parse then translate.
* Fix: 404 doesn't occur for an empty file.
* Page 404 fully generated by HtmGem itself.
* CSS is no longer incorporated in the HTML page.
* Handle CSS inclusion by addCss() calls.
2021-03-18 22:03:44 +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 Deep refactoring: parsing, translating, classes 2021-03-18 22:03:44 +01:00
lib-htmgem.php Deep refactoring: parsing, translating, classes 2021-03-18 22:03:44 +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