mirror of
https://tildegit.org/sbgodin/HtmGem.git
synced 2023-08-25 13:53:12 +02:00
gemTextParser * Removes the last empty lines of text files. * Removes the last spaces (rtrim) even on preformated texts. * Lines like "# " are possible, meaning an empty title. * The line "=>" means an empty link. GemtextTranslate_gemtext * FIX: writes the alt text of preformated blocks * Adds a space when quotation lines have value, otherwise lets ">". * Adds a space when the link has values, otherwise not. * A bit of reformating
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
Languages
HTML
52%
PHP
33.8%
CSS
14.2%