Tinylogs aggregator update
Posted on 2025-04-18
Categories: gemini
Tags: tinylogs
This entry started as en email to @fab@redterminal.org (for the second part of this entry) but I thought it was a good idea to actually publish it here, so here we are :).
Today (well, technically it is now yesterday), I updated the tinylog aggregator, both the codebase of GTL (the tool used to generate the aggregator page) and the subscription list.
Regarding the codebase of GTL, I didn’t change anything related to the spec yet, except the way the date format. But that isn’t a change in the codebase per say, because that display format was a configuration, so I updated the config, not the code.
What changed with GTL code is its robustness to ensure links were aggregated correctly. What I found was that firing go routine to retrieve all entries in a loop was causing issues apparently. I simply added a timer to wait 200 milliseconds between each requests. Doing so made GTL timeline calculation a bit slower, it is true, but made it a lot more robust. So at least for the aggregator I’m going to keep it like that. Maybe I’ll make that parameter configurable so people with stronger computers and/or network may want to reduce that waiting time? I don’t know, but at least the aggregator page has been stable the full afternoon without tinylog entries disappearing and reappearing during each update.
Speaking of updates, the aggregator is refreshed every 15min.
Regarding the subscription list, I started from @fab’s list shared some weeks ago. It is a great list, so big thanks for their work, but there were 3 mistakes in there that I’m sharing here so anyone copying the list can fix them:
From: hoa.ro/tinylog.gemini to: hoa.ro/tinylog.gmi
From: siiky.srht.site/ to: siiky.srht.site/tinylog.gmi
From: vort3.com/tinylog.gemini to: vort3.com/tinylog.gmi
I removed from the list all capsules that were still alive but didn’t have a tinylog anymore. No point hammering capsules for a file that they removed. I also removed all capsules using a non existing domain name anymore. I kept the one timing out for now, because I don’t know if it is temporary or permanent, but I may revisit that list later and removed the really dead ones.
If you have a tinylog that is not yet in the aggregator (the list is at the bottom of the page) and want to change that, please let me know. Of course if you want your tinylog removed from the aggregator, I’ll do it too :-).
By the way, I received only one feedback so far regarding the RFCupdate, but gemini is on the smolweb, also called the slowweb, so don’t worry, I’ll wait at least until end of next week to act on anything there.
Viva tinylogs! :-)