Skip to content

Instantly share code, notes, and snippets.

@ravens
Created April 12, 2017 06:53
Show Gist options
  • Save ravens/b65fe139cd0d51f43814fc1b8a55c4de to your computer and use it in GitHub Desktop.
Save ravens/b65fe139cd0d51f43814fc1b8a55c4de to your computer and use it in GitHub Desktop.
Geoloc of mastodon instances
curl https://instances.mastodon.xyz/instances.json | jq '.[].name'| xargs -I '{}' geoiplookup '{}' | grep "GeoIP Country Edition:" | wc -l
523
curl https://instances.mastodon.xyz/instances.json | jq '.[].name'| xargs -I '{}' geoiplookup '{}' | grep "GeoIP Country Edition: FR" | wc -l
209
curl https://instances.mastodon.xyz/instances.json | jq '.[].name'| xargs -I '{}' geoiplookup '{}' | grep "GeoIP Country Edition: US" | wc -l
172
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment