💾 Archived View for tilde.team › ~ew0k › gemini-tool-gmi2html.gmi captured on 2020-11-07 at 01:34:45. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Gemini Tool: gmi2html

https://notabug.org/tinyrabbit/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