target="_blank" href="https://liv.town">liv.town</a>", "verified_at": null } ], "bot": false, "discoverable": true }, { "clearnet": "https://search.pabloferreiro.es/", "tor": null, "i2p": null, "country": "MX", "librey": true }, { "name": "Timezone", "value": "<span>Europe/Warsaw </span>πͺπΊπ΅π±", "verified_at": null }, { "clearnet": "https://serp.catswords.net/", "tor": null, "i2p": null, "country": "PL", "librey": true }, { "shortcode": "nixos", "static_url": "https://quack.social/files/6d3b3750-d049-4b96-a669-478132bdc8af", "url": "https://quack.social/files/6d3b3750-d049-4b96-a669-478132bdc8af", "visible_in_picker": true } ] } <?php require_once "misc/header.php"; require_once "misc/tools.php"; $instances_json = json_decode(file_get_contents("instances.json"), true); $librey_instances = array_filter($instances_json['instances'], fn($n) => !$n['librey']); function list_instances($instances) { echo "<table><tr>"; echo "<th>Clearnet</th>"; echo "<th>Tor</th>"; echo "<th>I2P</th>"; echo "<th>Country</th>"; echo "</tr>"; foreach($instances as $instance) { $hostname = parse_url($instance["clearnet"])["host"]; $country = get_country_emote($instance["country"]) . $instance["country"];