Scripts to crawl activity statistics from the Mastodon network and calculate stats. List of instances to crawl is fetched from instances.social API.
Usage:
ruby fetch.rb
ruby stats.rb
Intermediary results are saved into a JSON file called instances-stats.json