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 15fa77d1f883ad7c367e94c3d81f7758aaa08674
parent 18dae2fcb6b91784fe978cb6bbe4a76cc432408f
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Thu, 17 Oct 2024 21:25:34 +0200

feat: Add LibreTranslate; fix: use "translate" and "tl" keywords for libretranslate

Diffstat:
Mconfig/config.php | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/config/config.php b/config/config.php @@ -59,7 +59,7 @@ $searches = array( "website" => "https://m.dict.cc", "query" => "https://m.dict.cc/uebersetzung/?s=%s", "categories" => array("everything", "lang"), - "keywords" => array("dictcc", "dict", "translate", "tl"), + "keywords" => array("dictcc", "dict"), "description" => "A free, multilingual online dictionary between English or German and more than 35 other languages, where users suggest, moderate and review entries" ), "dockerhub" => array( @@ -190,6 +190,14 @@ $searches = array( "keywords" => array("leo"), "description" => "An Internet-based and community-driven translation dictionary originating from the computer science department of the Technical University of Munich in Germany and run by the Leo GmbH since 2006" ), + "libretranslate" => array( + "name" => "LibreTranslate", + "website" => "https://libretranslate.com", + "query" => "https://libretranslate.com/?q=%s", + "categories" => array("everything", "lang"), + "keywords" => array("libretranslate", "translate", "lt", "tl"), + "description" => "Free and Open Source Machine Translation, which is powered by the open source Argos Translate library" + ), "mdn" => array( "name" => "MDN", "website" => "https://developer.mozilla.org",