Another text/gemini to html, but in AWK

prx prx at ybad.name
Wed Feb 3 08:54:52 GMT 2021
* Draco Metallium(Rodrigo S. Ca?ibano) <draco.kun at gmail.com> le [03-02-2021 02:22:15 -0300]:
> Hi! I just made another `text/gemini` to html translator, but this
> time 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) it
> can convert a 15.2K gemini file in 0.149s, and 1000 of them in just
> under 10 minutes. Also, it is short, just 135 lines of code, which
> includes some "fancy" stuff like changing local links to gmi files to
> point to the html version.
> 
> Maybe someone will find a use for it.
> 
> Here is the code:
> => https://gist.github.com/dracometallium/bf70ae09b4dd9a857d33e93daa2810c4
> 
Nice to see it in awk! good job!


Archive home | About this archive