2022-10-13

SmolZINE: index of featured links

tags: software

The other day I was musing about how to reverse map the featured links in SmolZINE into an index for easy inspection.

/en/2022/20220917-musings-on-smolzine-2.gmi

So with a halfway boring afternoon ahead I created a shell script to do that. Along the way I learned to take care of TAB characters (yes really!), additional leading spaces before the URL, port numbers, the lack of a slash at the end of the domain name, and probably more. Real life data is always more varied than what you imagine. The script is here:

/library/gemini.cyberbot.space/smolzine/gen-link-index.sh

By all means, use it for your problem, adapt it, if you like bash shell.

The result is sorted by protocol, top-level-domain, tld-1. I'm not sure if this is the best thing to do, but a few hundred links should not demand more sophistication imho. Please finde the resulting index containing SmolZINE 1 to 34 links here:

/library/gemini.cyberbot.space/smolzine/index-of-links.gmi

kelbot himself did not publish further issues as of this writing. I hope they are doing well and shall appear again some day.

Home