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 0f16a8ccfc39fe026a86443237d5e63e1dcdd0f6
parent 8cdc4bd08f59f236e99ebb19d614fc965e4473f7
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Tue,  9 Jul 2024 21:49:32 +0200

feat: add metager images, metager science, mojeek images, w3s CSE

Diffstat:
Mconfig/config.php | 39++++++++++++++++++++++++++++++---------
1 file changed, 30 insertions(+), 9 deletions(-)

diff --git a/config/config.php b/config/config.php @@ -13,6 +13,20 @@ $searches = array( "categories" => array("web", "meta"), "keywords" => array("metager_web", "metager", "meta", "mg", "metaweb") ), + "metager_img" => array( + "name" => "MetaGer Images", + "website" => "https://metager.de/?focus=bilder", + "query" => "https://metager.de/meta/meta.ger3?focus=bilder&eingabe=%s", + "categories" => array("img", "meta"), + "keywords" => array("metager_img", "metaimg") + ), + "metager_sci" => array( + "name" => "MetaGer Science", + "website" => "https://metager.de/?focus=science", + "query" => "https://metager.de/meta/meta.ger3?focus=science&eingabe=%s", + "categories" => array("sci", "meta"), + "keywords" => array("metager_sci", "metasci", "metascience") + ), "metager_map" => array( "name" => "MetaGer Maps", "website" => "https://metager.de/?fokus=maps", @@ -50,6 +64,13 @@ $searches = array( "categories" => array("web"), "keywords" => array("mojeek_web", "mojeek", "mj") ), + "mojeek_img" => array( + "name" => "Mojeek Web", + "website" => "https://mojeek.com/images", + "query" => "https://www.mojeek.com/search?fmt=images&q=%s", + "categories" => array("web"), + "keywords" => array("mojeek_web", "mojeek", "mj") + ), "dictcc" => array( "name" => "dict.cc", "website" => "https://dict.cc", @@ -71,6 +92,13 @@ $searches = array( "categories" => array("lang"), "keywords" => array("deepl") ), + "oed" => array( + "name" => "Oxford Dictionary", + "website" => "https://www.oed.com", + "query" => "https://www.oed.com/search/dictionary/?scope=Entries&q=%s", + "categories" => array("lang"), + "keywords" => array("oed", "oxford", "eng", "uk") + ), "duden" => array( "name" => "Duden", "website" => "https://www.duden.de", @@ -148,17 +176,10 @@ $searches = array( "categories" => array("code", "forum"), "keywords" => array("stackoverflow", "so", "code") ), - // "w3schools" => array( - // "name" => "W3schools (Google CSE)", /* This is W3S' own solution */ - // "website" => "https://www.w3schools.com", - // "query" => "https://cse.google.com/cse?cx=c5f6ccbd4ce9405a8&q=%s", - // "keywords" => array("w3schools", "w3school", "www", "w3", "webdev") - // ), "w3schools" => array( - "name" => "W3schools (via Mojeek)", /* Workaround to avoid Google */ + "name" => "W3schools (Google CSE)", /* This is W3S' own solution */ "website" => "https://www.w3schools.com", - "query" => "https://www.mojeek.com/search?q=site:www.w3schools.com+%s", - "categories" => array("code", "learn"), + "query" => "https://cse.google.com/cse?cx=c5f6ccbd4ce9405a8&q=%s", "keywords" => array("w3schools", "w3school", "www", "w3", "webdev") ), "github" => array(