1
0
mirror of https://tildegit.org/sbgodin/HtmGem.git synced 2023-08-25 13:53:12 +02:00
Go to file
Christophe HENRY cef2417f91
v1.2.0
* Removes "^" to disable text decoration line-wise.
* CSS is no longer incorporated in the HTML page.
* Perform sanity checks against unauthorized file access.
* Properly close tags when the page exists in a non-null mode.
* Split HTML generation in two: parsing and translating.
* Create classes to handle gemtext parsing and translating.
* Create class to generate back gemtext (for future test cases).
* Fix: 404 doesn't occur for an empty file.
* Page 404 fully generated by HtmGem itself.
2021-03-19 10:41:25 +01:00
css Removes margin of PRE 2021-03-14 10:48:25 +00:00
CHANGELOG.gmi v1.2.0 2021-03-19 10:41:25 +01:00
COPYING.gmi Links CHANGELOG and COPYING into index.gmi & edits 2021-03-12 00:48:57 +01:00
index.gmi v1.2.0 2021-03-19 10:41:25 +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
README.md Ready for v1.0.0 2021-03-10 11:49:53 +01:00
tutogemtext.gmi Deep refactoring: parsing, translating, classes 2021-03-18 22:03:44 +01:00

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