echo "<p>" . TEXTS["api_unavailable"] . "</p>"; die(); } 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']); $librex_instances = array_filter($instances_json['instances'], fn($n) => $n['librey']); $librex_instances = array_filter($instances_json['instances'], fn($n) => !$n['librey']); function list_instances($instances) { echo "<p>Example API request: <a href="./api.php?q=gentoo&p=2&t=0">./api.php?q=gentoo&p=2&t=0</a></p> <br/> <p>"q" is the pricing so bad 4d ago yay upgradable desktop has soldered cpus :DDDDDDD 4d ago ah yes here it is: https://www.youtube.com/watch?v=-lErGZZgUbY i'm watching it right now and the nebula is at the top of the Affero GPL, but Affero has