mirror of
https://tildegit.org/sbgodin/HtmGem.git
synced 2023-08-25 13:53:12 +02:00
Christophe HENRY
859b0aad81
* 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. |
||
---|---|---|
css | ||
CHANGELOG.gmi | ||
COPYING.gmi | ||
index.gmi | ||
index.php | ||
lib-htmgem.php | ||
README.md | ||
tutogemtext.gmi |
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