-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

Comment by 馃懁 jdcard


Re: "I made a tool for Linux (it'll probably work on quite a few..."

In: s/Gemini


Cool! Unicode can be difficult. I ended up running my gemtext files through a PHP script to convert to HTML and then into a browser to render the Unicode characters, then using the browser's print-to-pdf capability. The entire process is scriptable. I'll have to give this a try.


馃懁 jdcard

Feb 08 路 4 months ago


Original Post


馃寬 s/Gemini

I made a tool for Linux (it'll probably work on quite a few flavors of *BSD as well and maybe macOS) that converts gemtext files to pdf using groff, aptly named "gmi2pdf". Can save as "A4", "Letter", "Tabloid", and "Legal" sized PDFs. It can take a local file or a gemtext/plaintext remote gemini resource as input. Has support for TLS client certs as well. Currently only supports ASCII characters, but can optionally convert unicode characters to squares. Some lines can look a bit weird for now...

馃挰 vi 路 4 comments 路 3 likes 路 Feb 08 路 4 months ago

-- Response ended

-- Page fetched on Sun Jun 2 17:36:54 2024