LibreY- privacy respecting meta search engine |
git clone git://git.acid.vegas/LibreY.git |
Log | Files | Refs | Archive | README | LICENSE |
config.php (5593B)
1 <?php 2 return (object) array( 3 4 "google_domain" => "${CONFIG_GOOGLE_DOMAIN}", 5 "language" => "${CONFIG_LANGUAGE}", 6 "number_of_results" => ${CONFIG_NUMBER_OF_RESULTS}, 7 "invidious_instance_for_video_results" => "${CONFIG_INVIDIOUS_INSTANCE}", 8 "disable_bittorent_search" => ${CONFIG_DISABLE_BITTORRENT_SEARCH}, 9 "bittorent_trackers" => "${CONFIG_BITTORRENT_TRACKERS}", 10 "disable_hidden_service_search" => ${CONFIG_HIDDEN_SERVICE_SEARCH}, 11 "instance_fallback" => ${CONFIG_INSTANCE_FALLBACK}, 12 "request_cooldown" => ${CONFIG_RATE_LIMIT_COOLDOWN}, 13 "cache_time" => ${CONFIG_CACHE_TIME}, 14 15 "frontends" => array( 16 "invidious" => array( 17 "instance_url" => "${APP_INVIDIOUS}", 18 "project_url" => "https://docs.invidious.io/instances/", 19 "original_name" => "YouTube", 20 "original_url" => "youtube.com" 21 ), 22 "rimgo" => array( 23 "instance_url" => "${APP_RIMGO}", 24 "project_url" => "https://codeberg.org/video-prize-ranch/rimgo#instances", 25 "original_name" => "Imgur", 26 "original_url" => "imgur.com" 27 ), 28 "scribe" => array( 29 "instance_url" => "${APP_SCRIBE}", 30 "project_url" => "https://git.sr.ht/~edwardloveall/scribe/tree/main/docs/instances.md", 31 "original_name" => "Medium", 32 "original_url" => "medium.com" 33 ), 34 "gothub" => array( 35 "instance_url" => "${APP_GOTHUB}", 36 "project_url" => "https://codeberg.org/gothub/gothub#instances", 37 "original_name" => "GitHub", 38 "original_url" => "github.com" 39 ), 40 "nitter" => array( 41 "instance_url" => "${APP_NITTER}", 42 "project_url" => "https://github.com/zedeus/nitter/wiki/Instances", 43 "original_name" => "Twitter", 44 "original_url" => "twitter.com" 45 ), 46 "libreddit" => array( 47 "instance_url" => "${APP_LIBREREDDIT}", 48 "project_url" => "https://github.com/libreddit/libreddit-instances/blob/master/instances.md", 49 "original_name" => "Reddit", 50 "original_url" => "reddit.com" 51 ), 52 "proxitok" => array( 53 "instance_url" => "${APP_PROXITOK}", 54 "project_url" => "https://github.com/pablouser1/ProxiTok/wiki/Public-instances", 55 "original_name" => "TikTok", 56 "original_url" => "tiktok.com" 57 ), 58 "wikiless" => array( 59 "instance_url" => "${APP_WIKILESS}", 60 "project_url" => "https://github.com/Metastem/wikiless#instances", 61 "original_name" => "Wikipedia", 62 "original_url" => "wikipedia.org" 63 ), 64 "quetre" => array( 65 "instance_url" => "${APP_QUETRE}", 66 "project_url" => "https://github.com/zyachel/quetre#instances", 67 "original_name" => "Quora", 68 "original_url" => "quora.com" 69 ), 70 "libremdb" => array( 71 "instance_url" => "${APP_LIBREMDB}", 72 "project_url" => "https://github.com/zyachel/libremdb#instances", 73 "original_name" => "IMDb", 74 "original_url" => "imdb.com" 75 ), 76 "breezewiki" => array( 77 "instance_url" => "${APP_BREEZEWIKI}", 78 "project_url" => "https://docs.breezewiki.com/Links.html", 79 "original_name" => "Fandom", 80 "original_url" => "fandom.com" 81 ), 82 "anonymousoverflow" => array( 83 "instance_url" => "${APP_ANONYMOUS_OVERFLOW}", 84 "project_url" => "https://github.com/httpjamesm/AnonymousOverflow#clearnet-instances", 85 "original_name" => "StackOverflow", 86 "original_url" => "stackoverflow.com" 87 ), 88 "suds" => array( 89 "instance_url" => "${APP_SUDS}", 90 "project_url" => "https://git.vern.cc/cobra/Suds/src/branch/main/instances.json", 91 "original_name" => "Snopes", 92 "original_url" => "snopes.com" 93 ), 94 "biblioreads" => array( 95 "instance_url" => "${APP_BIBLIOREADS}", 96 "project_url" => "https://github.com/nesaku/BiblioReads#instances", 97 "original_name" => "Goodreads", 98 "original_url" => "goodreads.com" 99 ) 100 ), 101 102 103 "preferred_engines" => array( 104 "text" => "${CONFIG_TEXT_SEARCH_ENGINE}" 105 ), 106 107 "curl_settings" => array( 108 CURLOPT_PROXY => "${CURLOPT_PROXY}", 109 CURLOPT_PROXYTYPE => ${CURLOPT_PROXYTYPE}, 110 CURLOPT_RETURNTRANSFER => ${CURLOPT_RETURNTRANSFER}, 111 CURLOPT_ENCODING => "${CURLOPT_ENCODING}", 112 CURLOPT_USERAGENT => "${CURLOPT_USERAGENT}", 113 CURLOPT_IPRESOLVE => ${CURLOPT_IPRESOLVE}, 114 CURLOPT_CUSTOMREQUEST => "${CURLOPT_CUSTOMREQUEST}", 115 CURLOPT_PROTOCOLS => CURLPROTO_HTTPS | CURLPROTO_HTTP, 116 CURLOPT_REDIR_PROTOCOLS => CURLPROTO_HTTPS | CURLPROTO_HTTP, 117 CURLOPT_MAXREDIRS => ${CURLOPT_MAXREDIRS}, 118 CURLOPT_TIMEOUT => ${CURLOPT_TIMEOUT}, 119 CURLOPT_VERBOSE => ${CURLOPT_VERBOSE}, 120 CURLOPT_FOLLOWLOCATION => ${CURLOPT_FOLLOWLOCATION} 121 ) 122 ); 123 ?>