-- Leo's gemini proxy
-- Connecting to warmedal.se:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini; lang=en
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
-- Response ended
-- Page fetched on Sat May 4 14:47:39 2024