Gemini Tool: gmi2html

I couldn't find a tool for converting gemini markup to html. I'm sure there are many, but my searching skills failed me.

Anyways, writing one is trivial, so I did just that. Maybe you don't have to do the same now :D

Installation

Just get the file

gmi2html

Make sure it's executable

chmod +x gmi2html

And go. It only requires python3.

How To Use

You can use it in two ways: either give a file as input, or give it text on stdin.

Both of the following examples produce the same output:

gmi2html testfile.gmi

and

cat testfile.gmi | gmi2html

Pull Requests are Welcome!

It's still going to be a tiny tool, but tell me if you have ideas for improvements!

-- CC0 ew0k, 2020-11-03