pub / serci

Search the web with !keywords
git clone https://https://src.jayvii.de/pub/serci.git
Home | Log | Files | Exports | Refs | README | RSS

commit 204acb8e5689f01badda6a8a8170cef7a5b04bef
parent a5db796fd98c40b8647f20af1ee52be2fcd6e0bf
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat,  6 Jul 2024 18:56:05 +0200

feat: add sepiasearch, semanticscholar, internet archive; cleanup

Diffstat:
Mconfig/config.php | 80++++++++++++++++++++++++++++---------------------------------------------------
1 file changed, 28 insertions(+), 52 deletions(-)

diff --git a/config/config.php b/config/config.php @@ -19,24 +19,6 @@ $searches = array( "query" => "https://metager.de/meta/meta.ger3?focus=bilder&eingabe=%s", "bangs" => array("metager_img", "mgimg", "metaimg") ), -/* "metager_shop" => array( - "name" => "MetaGer Products", - "website" => "https://metager.de/focus=produkte", - "query" => "https://metager.de/meta/meta.ger3?focus=produkte&eingabe=%s", - "bangs" => array("metager_shop", "mgshop", "metashop") - ), - "metager_news" => array( - "name" => "MetaGer Nachrichten", - "website" => "https://metager.de/?fokus=nachrichten", - "query" => "https://metager.de/meta/meta.ger3?focus=nachrichten&eingabe=%s", - "bangs" => array("metager_news", "mgnews", "metanews") - ), - "metager_sci" => array( - "name" => "MetaGer Nachrichten", - "website" => "https://metager.de/?fokus=science", - "query" => "https://metager.de/meta/meta.ger3?focus=science&eingabe=%s", - "bangs" => array("metager_sci", "mgsci", "metasci") - ),*/ "metager_map" => array( "name" => "MetaGer Maps", "website" => "https://metager.de/?fokus=maps", @@ -64,18 +46,6 @@ $searches = array( "query" => "https://www.qwant.com/?t=videos&q=%s", "bangs" => array("qwant_video", "qwvid") ), -/* "qwant_shop" => array( - "name" => "Qwant Shopping", - "website" => "https://qwant.com/?t=shopping", - "query" => "https://www.qwant.com/?t=shopping&q=%s", - "bangs" => array("qwant_shop", "qwshop") - ), - "qwant_news" => array( - "name" => "Qwant News", - "website" => "https://qwant.com/?t=news", - "query" => "https://www.qwant.com/?t=news&q=%s", - "bangs" => array("qwant_news", "qwnews") - ),*/ /* Mojeek */ "mojeek_web" => array( "name" => "Mojeek Web", @@ -83,24 +53,6 @@ $searches = array( "query" => "https://www.mojeek.com/search?q=%s", "bangs" => array("mojeek_web", "mojeek", "mj") ), -/* "mojeek_img" => array( - "name" => "Mojeek Images", - "website" => "https://mojeek.com/images", - "query" => "https://www.mojeek.com/search?fmt=images&q=%s", - "bangs" => array("mojeek_img", "mjimg") - ), - "mojeek_news" => array( - "name" => "Mojeek News", - "website" => "https://mojeek.com/news", - "query" => "https://www.mojeek.com/search?fmt=news&q=%s", - "bangs" => array("mojeek_news", "mjnews") - ), - "mojeek_summary" => array( - "name" => "Mojeek Summary", - "website" => "https://mojeek.com/?fmt=summary", - "query" => "https://www.mojeek.com/search?fmt=summary&q=%s", - "bangs" => array("mojeek_summary", "summary", "mjsum") - ),*/ /* Translations and Languages */ /* "leo" => array( "name" => "LEO (en-de)", @@ -133,6 +85,12 @@ $searches = array( "query" => "https://www.youtube.com/results?search_query=%s", "bangs" => array("youtube", "yt", "video", "videos") ), + "sepiasearch" => array( + "name" => "Sepia Search", + "website" => "https://sepiasearch.org", + "query" => "https://sepiasearch.org/search?search=%s", + "bangs" => array("sepiasearch", "sepia", "peertube", "pt") + ), /* Maps */ "openstreetmap" => array( "name" => "OpenStreetMap", @@ -151,14 +109,20 @@ $searches = array( "name" => "Google Scholar", "website" => "https://scholar.google.com", "query" => "https://scholar.google.com/scholar?q=%s", - "bangs" => array("google_scholar", "scholar", "literature") + "bangs" => array("google_scholar", "gscholar") + ), + "semanticscholar" => array( + "name" => "Semantic Scholar", + "website" => "https://semanticscholar.org", + "query" => "https://semanticscholar.org/search?q=%s", + "bangs" => array("semanticscholar", "scholar", "literature") ), /* Wikis */ "wikipedia" => array( "name" => "Wikipedia", "website" => "https://wikipedia.org", "query" => "https://wikipedia.org/wiki/%s", - "bangs" => array("wikipedia", "wiki", "wp") + "bangs" => array("wikipedia", "wiki", "wp", "wk") ), "archwiki" => array( "name" => "Arch Wiki", @@ -170,7 +134,7 @@ $searches = array( "name" => "Debian Wiki", "website" => "https://wiki.debian.org", "query" => "https://wiki.debian.org/?action=fullsearch&value=%s", - "bangs" => array("debianwiki", "debian", "dw") + "bangs" => array("debianwiki", "debian", "deb", "dw") ), /* Coding */ "stackoverflow" => array( @@ -229,7 +193,19 @@ $searches = array( "website" => "https://symbl.cc", "query" => "https://symbl.cc/search/?q=%s", "bangs" => array("symbl", "symbol", "unicode") - ) + ), + "waybackmachine" => array( + "name" => "Wayback Machine", + "website" => "https://web.archive.org", + "query" => "https://web.archive.org/web/99999999000000*/%s", + "bangs" => array("waybackmachine", "webarchive", "wbm", "wb") + ), + "internetarchive" => array( + "name" => "Internet Archive", + "website" => "https://archive.org", + "query" => "https://archive.org/search?query=%s", + "bangs" => array("internetarchive", "archive", "ia") + ), ); /* Default Search Engine