💾 Archived View for rawtext.club › ~sloum › geminilist › 004990.gmi captured on 2023-12-28 at 16:38:08. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-11-30)
-=-=-=-=-=-=-
prx prx at ybad.name
Wed Feb 3 08:54:52 GMT 2021
- - - - - - - - - - - - - - - - - - -
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!