HtmGem/README.md

26 lines
511 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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].