HtmGem is Php program whose goal is to make Gemini files reachable through HTTP. It can be used on a shared host. https://gmi.sbgodin.fr/htmgem
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Christophe HENRY c305faf8e4 Updates TODO 5 months ago
tests wip 5 months ago
.gitignore WIP 5 months ago
COPYING Ready for alpha 5 months ago
README.md Replaces preg_replace by mb_ereg_replace 5 months ago
TODO Updates TODO 5 months ago
htmgem.css Prevent <A> from text-justify 5 months ago
htmgem.php Manages non-break spaces for em-dash and en-dash 5 months ago

README.md

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;

Install

php-mbstring is required

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