1
0
mirror of https://tildegit.org/sbgodin/HtmGem.git synced 2023-08-25 13:53:12 +02:00
Go to file
Christophe HENRY 1900f3c03b Prevents attributes, HTML escape applied on links
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>
2021-03-04 14:14:26 +01:00
tests Text markups work 2021-03-03 16:40:22 +01:00
.gitignore WIP 2021-03-02 23:35:53 +01:00
COPYING Ready for alpha 2021-03-01 15:22:22 +01:00
htmgem.css Updates CSS 2021-03-04 11:24:50 +01:00
htmgem.php Prevents attributes, HTML escape applied on links 2021-03-04 14:14:26 +01:00
README.md Ready for alpha 2021-03-01 15:22:22 +01:00
TODO WIP 2021-03-03 23:37:34 +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;

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