💾 Archived View for warmedal.se › ~bjorn › posts › gemini-tool-gmi2html.gmi captured on 2023-06-14 at 14:42:55. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-03)
-=-=-=-=-=-=-
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
Just get the file
gmi2html
Make sure it's executable
chmod +x gmi2html
And go. It only requires python3.
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
It's still going to be a tiny tool, but tell me if you have ideas for improvements!
-- CC0 ew0k, 2020-11-03