The real fantasy element of Dungeons & Dragons is pretending that you have a group of friends who all get along with each other and can manage to meet regularly for four hours at a time.

(Originally published on hachyderm.io: 2024-02-04)


cross-posted from !tails@lemmon.website - a lemmy community that natively features mastodon posts (and their replies) so we're not using screenshots, and lemmy users have the opportunity to respond to the original author.

edit: I realise now that the cross-link won't show up correctly, 'cos no-one on sh.itjust.works is subbed to tails, but if anyone ever does, I'll try again with a different post.

 

Usage for testing:
./get_latest_jsons.sh
./show_human_readable_timestamps.sh
If - for example - that showed that the latest JSON was 1691258704964.json:
./tcbot.sh TEST 1691258704964 0

This will show Community subscriber growth between the latest update and what happens to be currently be in the TEST folder (1691042690884.txt, from 2023-08-03), and then the data from "1691258704964" would become the new base, for the next update to compare its data to.

The REAL mode is what updates !trendingcommunities@feddit.nl

Requires bash, curl, bc, and jq. Don't think anything is particularly version-dependent, though.

Comments are welcome. I'm not too fussed about efficiency, as the bulk of it only runs once a day, but any suggestions for improvement are welcome.