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 f00bf5ee7f18efacb05cd0e44cc3d7bb5d31d078
parent bc6e199c4a6508dea10fa703b9efd2dd4af44c8e
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat,  6 Jul 2024 16:51:35 +0200

feat: streamline search providers

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

diff --git a/config/config.php b/config/config.php @@ -17,9 +17,9 @@ $searches = array( "name" => "MetaGer Images", "website" => "https://metager.de/focus=bilder", "query" => "https://metager.de/meta/meta.ger3?focus=bilder&eingabe=%s", - "bangs" => array("metager_img") + "bangs" => array("metager_img", "mgimg") ), - "metager_shop" => array( +/* "metager_shop" => array( "name" => "MetaGer Products", "website" => "https://metager.de/focus=produkte", "query" => "https://metager.de/meta/meta.ger3?focus=produkte&eingabe=%s", @@ -36,12 +36,12 @@ $searches = array( "website" => "https://metager.de/?fokus=science", "query" => "https://metager.de/meta/meta.ger3?focus=science&eingabe=%s", "bangs" => array("metager_sci") - ), + ),*/ "metager_map" => array( "name" => "MetaGer Maps", "website" => "https://metager.de/?fokus=maps", "query" => "https://maps.metager.de/en/%s/guess", - "bangs" => array("metager_map") + "bangs" => array("metager_map", "metager_maps", "mgmap") ), /* Qwant */ "qwant_web" => array( @@ -54,15 +54,15 @@ $searches = array( "name" => "Qwant Images", "website" => "https://qwant.com/?t=images", "query" => "https://www.qwant.com/?t=images&q=%s", - "bangs" => array("qwant_img", "img") + "bangs" => array("qwant_img", "img", "qwimg") ), "qwant_video" => array( "name" => "Qwant Videos", "website" => "https://qwant.com/?t=videos", "query" => "https://www.qwant.com/?t=videos&q=%s", - "bangs" => array("qwant_video") + "bangs" => array("qwant_video", "qwvid") ), - "qwant_shop" => array( +/* "qwant_shop" => array( "name" => "Qwant Shopping", "website" => "https://qwant.com/?t=shopping", "query" => "https://www.qwant.com/?t=shopping&q=%s", @@ -73,7 +73,7 @@ $searches = array( "website" => "https://qwant.com/?t=news", "query" => "https://www.qwant.com/?t=news&q=%s", "bangs" => array("qwant_news") - ), + ),*/ /* Mojeek */ "mojeek_web" => array( "name" => "Mojeek Web", @@ -81,12 +81,11 @@ $searches = array( "query" => "https://www.mojeek.com/search?q=%s", "bangs" => array("mojeek_web", "mojeek", "mj") ), - "mojeek_img" => array( +/* "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") - ), "mojeek_news" => array( "name" => "Mojeek News", @@ -99,19 +98,19 @@ $searches = array( "website" => "https://mojeek.com/?fmt=summary", "query" => "https://www.mojeek.com/search?fmt=summary&q=%s", "bangs" => array("mojeek_summary", "summary") - ), - /* Translations */ - "leo" => array( + ),*/ + /* Translations and Languages */ +/* "leo" => array( "name" => "LEO (en-de)", "website" => "https://leo.org", "query" => "https://dict.leo.org/englisch-deutsch/%s", - "bangs" => array("leo", "translate", "tl") - ), + "bangs" => array("leo") + ),*/ "dictcc" => array( "name" => "dict.cc", "website" => "https://dict.cc", "query" => "https://www.dict.cc/?s=%s", - "bangs" => array("dictcc", "dict") + "bangs" => array("dictcc", "dict", "translate", "tl") ), "deepl" => array( "name" => "DeepL (en-de)", @@ -119,6 +118,12 @@ $searches = array( "query" => "https://www.deepl.com/translator#de/en/%s", "bangs" => array("deepl") ), + "duden" => array( + "name" => "Duden", + "website" => "https://www.duden.de", + "query" => "https://www.duden.de/suchen/dudenonline/%s", + "bangs" => array("duden", "ger", "de") + ), /* Videos */ "youtube" => array( "name" => "YouTube", @@ -159,13 +164,19 @@ $searches = array( "query" => "https://wiki.debian.org/?action=fullsearch&value=%s", "bangs" => array("debianwiki", "debian", "dw") ), - /* Stackoverflow */ + /* Coding */ "stackoverflow" => array( "name" => "Stackoverflow", "website" => "https://stackoverflow.com", "query" => "https://stackoverflow.com/search?q=%s", "bangs" => array("stackoverflow", "so", "code") ), + "w3schools" => array( + "name" => "W3schools (via Mojeek)", /* This is a workaround */ + "website" => "https://www.mojeek.com/search/?q=site:www.w3schools.com", + "query" => "https://www.mojeek.com/search/?q=site:www.w3schools.com+%s", + "bangs" => array("w3schools", "w3school", "www", "w3", "webdev") + ), /* Code Repositories */ "github" => array( "name" => "GitHub",