💾 Archived View for warmedal.se › ~bjorn › posts › gmi2html-reaches-1-0.gmi captured on 2024-08-25 at 00:35:14. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

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

gmi2html Reaches 1.0

After making a smaller bug fix yesterday I've decided to tag the latest commit of gmi2html as v1.0 🙂️

It doesn't have a whole bunch of features, but I've hammered out all the bugs I've encountered and have used it for several months.

https://notabug.org/tinyrabbit/gmi2html/src/v1.0

usage: gmi2html [-h] [--inline-img] [F [F ...]]

Convert text/gemini to text/html, print to stdout.

positional arguments:
  F             All files to convert. (Leave empty or '-' for stdin)

optional arguments:
  -h, --help    show this help message and exit
  --inline-img  Inline png, jpg/jpeg, gif, webp, svg links.

Inline image links will add link text as alt='', and the latest bug fix is that the script gracefully handles links and images without link text as well.

Let me know if you have feature suggestions or find bugs!

-- CC0 ew0k, 2021-04-20