<p>The API supports both POST and GET requests.</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( // e.g.: fr -> https://google.fr/ "google_domain" => "com", // Results will be in this language "language" => "", "project_url" => "https://github.com/zyachel/quetre#instances", "original_name" => "Goodreads", "original_url" => "imgur.com" ), "scribe" => array( "instance_url" => "", "project_url" => "https://git.sr.ht/~edwardloveall/scribe/tree/main/docs/instances.md", "original_name" => "Quora", "original_url" => "tiktok.com" ), "wikiless" => array( "instance_url" => "", "project_url" => "https://git.vern.cc/cobra/Suds/src/branch/main/instances.json", "original_name" => "Fandom", "original_url" => "tiktok.com" ), "wikiless"