Rachael

"quote": null, "edited_at": null }, { "shortcode": "floofCat", "static_url": "https://quack.social/files/dafaeb02-a2c1-4457-ad59-3b923ff3fbc3", "url": "https://quack.social/files/dafaeb02-a2c1-4457-ad59-3b923ff3fbc3", "visible_in_picker": true }, { "name": "matrix/pronouns/other", "value": "<span>curl -I </span><a rel="nofollow noopener noreferrer" target="_blank" href="https://liv.town">liv.town</a>", "verified_at": null } ] } <?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"]; $is_tor = !is_null($instance["tor"]); $is_i2p = !is_null($instance["i2p"]); echo "<tr>"; echo "<td><a href="" . $instance["i2p"] . "">u{2705}</a></td>" : "<td>u{274C}</td>"; echo $is_i2p ? "<td><a href="" . $instance["i2p"] . "">u{2705}</a></td>"