Ruby source code 

# Prints number of users across Mastodon instances

require 'open-uri'
require 'nokogiri'


puts doc.css('tr').map { |tr|
td = tr.css('td')[1]
(td && td.text).to_i


@plexus well, it's important to say that not EVERY instance is on the site

So, you can only get a count of "users referenced by" but clearly not everyone

@plexus I think it'd be way more interesting to try getting all the users federated by a given instance, the number will maybe be more accurate

Sign in to participate in the conversation

The original server operated by the Mastodon gGmbH non-profit