Updated gmi2html: Usable As Lib and CLI Tool

I've been meaning to do this forever. My tool for converting gemtext to HTML can now be installed with pip and used both as a standalone CLI tool (it installs the binary "gmi2html") and as a library.

I'm going to add output redirection too eventually, but this is it for now.

UPDATE: A lib that prints stuff to stdout is obviously shit... I changed it so that the gmi2html.convert function returns a string instead.

Links

=> The repo at notabug.org

-- CC0 ew0k, 2022-01-18

Proxy Information
Original URL
gemini://warmedal.se/~bjorn/posts/2022-01-18-updated-gmi2html-usable-as-lib-and-cli-tool.gmi
Status Code
Success (20)
Meta
text/gemini; lang=en
Capsule Response Time
125.741523 milliseconds
Gemini-to-HTML Time
0.261893 milliseconds

This content has been proxied by September (ba2dc).