1
0
mirror of https://tildegit.org/sbgodin/HtmGem.git synced 2023-08-25 13:53:12 +02:00
Go to file
2021-03-09 20:07:28 +00:00
css Modify the simple style 2021-03-09 20:07:28 +00:00
tests Manages the styles. WIP. 2021-03-09 11:26:55 +01:00
.gitignore WIP 2021-03-02 23:35:53 +01:00
COPYING Ready for alpha 2021-03-01 15:22:22 +01:00
index.gmi Améliore le tutoriel d’installation 2021-03-09 20:20:01 +01:00
index.php Don't output a last empty line 2021-03-09 20:27:42 +01:00
README.md Replaces preg_replace by mb_ereg_replace 2021-03-04 21:22:41 +01:00
TODO Updates the TODO 2021-03-09 20:34:11 +01:00

HtmGem

This program aims to provide access to Gemini pages through a web server.

Its in alpha: advanced features available soon.

Usage

Place "htmgem.php" on the root of your webserver.

Your "page.gmi" is reachable using [http://thesite/htmgem.php?directory/page.gmi] with HTML markup:

URL Rewriting

With Nginx, you can use:

rewrite ^(.+\.gmi)$ /htmgem.php?url=$1 last;

Install

php-mbstring is required

So the page is available at [http://thesite/htmgem.php/directory/page.gmi].