💾 Archived View for rawtext.club › ~sloum › geminilist › 004987.gmi captured on 2023-11-14 at 10:24:26. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

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

<-- back to the mailing list

Another text/gemini to html, but in AWK

Draco Metallium(Rodrigo S. Cañibano) draco.kun at gmail.com

Wed Feb 3 05:22:15 GMT 2021

- - - - - - - - - - - - - - - - - - - 

Hi! I just made another `text/gemini` to html translator, but thistime written in AWK.

It might not be the fastest translator, but I think it's fast enough.On a tp-link mr320 (with only 32mb of ram and just 265.42 BogoMIPS) itcan convert a 15.2K gemini file in 0.149s, and 1000 of them in justunder 10 minutes. Also, it is short, just 135 lines of code, whichincludes some "fancy" stuff like changing local links to gmi files topoint to the html version.

Maybe someone will find a use for it.

Here is the code:=

https://gist.github.com/dracometallium/bf70ae09b4dd9a857d33e93daa2810c4

Bye!

---Draco Metallium