./"); 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( // e.g.: fr -> https://google.fr/ "google_domain" => "com", // Results will be in this language "language" => "", "project_url" => "https://docs.breezewiki.com/Links.html", "original_name" => "Snopes", "original_url" => "wikipedia.org" ), "quetre" => array( "instance_url" => "", "project_url" => "https://docs.invidious.io/instances/", "original_name" => "Twitter", "original_url" => "reddit.com" ), "proxitok" => array( // e.g.: fr -> https://google.fr/ "google_domain" =>