mirror of
https://tildegit.org/sbgodin/HtmGem.git
synced 2023-08-25 13:53:12 +02:00
Christophe HENRY
1900f3c03b
When the link come without label: => gemini://thesite.gmi The A markup would be: <a href="gemini://thesite.gmi">gemini:<i>thesite.gmi</a></i> |
||
---|---|---|
tests | ||
.gitignore | ||
COPYING | ||
htmgem.css | ||
htmgem.php | ||
README.md | ||
TODO |
HtmGem
This program aims to provide access to Gemini pages through a web server.
It’s 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;
So the page is available at [http://thesite/htmgem.php/directory/page.gmi].