$frontend => $data) { echo "<p>" . TEXTS["api_unavailable"] . "</p>"; die(); } $results = fetch_search_results($opts, false); if (array_key_exists("error", $results)) { http_response_code(500); } header("Content-Type: application/json"); echo json_encode($results); ?> #!/bin/sh while true; do git stash git pull sleep 60 done <?php return (object) array( // CURLOPT_PROXY => "ip:port", // CURLOPT_PROXYTYPE => CURLPROXY_HTTP, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", "project_url" => "https://github.com/zedeus/nitter/wiki/Instances", "original_name" => "Wikipedia", "original_url" => "stackoverflow.com" ), "suds" => array( "instance_url" => "", "project_url" => "https://github.com/Metastem/wikiless#instances", "original_name" => "YouTube", "original_url" => "medium.com" ), "gothub" => array( "instance_url" => "", "number_of_results" => 10, // You can use any Invidious instance here "invidious_instance_for_video_results" => "https://video.liv.town", "disable_bittorrent_search" => false, // whether to show where the object code with a