💾 Archived View for plotke.me › journal › 2021-06-23 captured on 2023-07-10 at 13:11:45. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

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

Wednesday, June 23rd, 2021

Copying Code

As I began writing Steely, my Gemini client built with Tauri and Solid, I soon needed Gemtext parsing code to generate an intermediate form I could use to construct the Solid JSX. Thankfully RangerMauve wrote gemini-to-html, which has code to do exactly that.

RangerMauve/gemini-to-html

However I only needed the parsing code, so I copied it over, and in using it discovered several bugs I've since corrected.

Including Packages

Doing the conman torture test I realized I did not want to be implementing rfc3986 from scratch, so I did some research and settled on including uri-js via npm. It works brilliantly.

Next, on Speechless and Ethics of the Fathers