CONFIG_INSTANCE_FALLBACK=true - CONFIG_RATE_LIMIT_COOLDOWN=25 - CONFIG_CACHE_TIME=20 - CONFIG_DISABLE_API=false - CONFIG_TEXT_SEARCH_ENGINE=auto - CURLOPT_PROXY_ENABLED=false - CURLOPT_PROXY=192.0.2.53:8388 - CURLOPT_PROXYTYPE=CURLPROXY_HTTP - CURLOPT_USERAGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0", // For a normal Windows 10 PC running Firefox x64 CURLOPT_IPRESOLVE => CURL_IPRESOLVE_WHATEVER, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_PROTOCOLS => CURLPROTO_HTTPS | CURLPROTO_HTTP, CURLOPT_MAXREDIRS => 5, CURLOPT_TIMEOUT => 3, CURLOPT_VERBOSE => false, CURLOPT_FOLLOWLOCATION => true ) ); ?> <?php require_once "misc/header.php"; $opts = load_opts(); ?> <title>LibreY - instances</title> </head> <body> <form class="sub-search-container" method="get" autocomplete="off"> <h1 class="logomobile"><a class="no-decoration" href="./">Libre<span class="Y">Y</span></a></h1> <input type="text" name="q" <?php if (1 > strlen($opts->query) || strlen($opts->query) > 256) { header("Location: ./"); 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']); function list_instances($instances)