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 e78be9e42cb1ca9f1dbec72b73376b086db9ba1f
parent 4fde48ca2fcca6ad2102660f25e3982547263e0c
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Fri, 18 Oct 2024 11:27:41 +0200

feat: re-define categories

Diffstat:
Mconfig/config.php | 127++++++++++++++++++++++++++++++++++++++++---------------------------------------
1 file changed, 65 insertions(+), 62 deletions(-)

diff --git a/config/config.php b/config/config.php @@ -10,7 +10,7 @@ $searches = array( "name" => "Arch Wiki", "website" => "https://wiki.archlinux.org", "query" => "https://wiki.archlinux.org/index.php?search=%s", - "categories" => array("wiki", "linux"), + "categories" => array("wiki", "docu", "linux", "foss", "community"), "keywords" => array("archwiki", "arch", "aw"), "description" => "Manuals and documentation for the Arch Linux distribution" ), @@ -26,7 +26,7 @@ $searches = array( "name" => "Codeberg", "website" => "https://codeberg.org", "query" => "https://codeberg.org/explore/repos?q=%s", - "categories" => array("code", "git"), + "categories" => array("code", "software", "foss", "community"), "keywords" => array("codeberg", "cb"), "description" => "A collaboration platform based on the Forgejo software, providing Git hosting and services for free and open source software, content and projects" ), @@ -34,7 +34,7 @@ $searches = array( "name" => "CRAN", "website" => "https://cran.r-project.org", "query" => "https://search.r-project.org/?P=%s", - "categories" => array("code", "docu"), + "categories" => array("code", "software", "docu", "foss", "community"), "keywords" => array("cran", "rcran", "r"), "description" => "A network of ftp and web servers around the world that store identical versions of code and documentation for R a freely available language and environment for statistical computing and graphics" ), @@ -42,7 +42,7 @@ $searches = array( "name" => "Debian Wiki", "website" => "https://wiki.debian.org", "query" => "https://wiki.debian.org/?action=fullsearch&value=%s", - "categories" => array("wiki", "linux"), + "categories" => array("wiki", "docu", "linux", "foss", "community"), "keywords" => array("debianwiki", "debian", "deb", "dw"), "description" => "Manuals and documentation for the Debian Linux distribution" ), @@ -58,7 +58,7 @@ $searches = array( "name" => "dict.cc", "website" => "https://m.dict.cc", "query" => "https://m.dict.cc/uebersetzung/?s=%s", - "categories" => array("lang"), + "categories" => array("lang", "community"), "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" ), @@ -66,7 +66,7 @@ $searches = array( "name" => "dockerhub", "website" => "https://hub.docker.com", "query" => "https://hub.docker.com/search?q=%s", - "categories" => array("software", "linux"), + "categories" => array("software", "linux", "community"), "keywords" => array("dockerhub", "docker", "dh"), "description" => "A repository for creating, managing, delivering and publishing Docker images" ), @@ -98,7 +98,7 @@ $searches = array( "name" => "F-Droid", "website" => "https://f-droid.org", "query" => "https://search.f-droid.org/?q=%s", - "categories" => array("software", "android"), + "categories" => array("software", "android", "community", "foss"), "keywords" => array("fdroid", "droid", "fd", "android"), "description" => "An installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform" ), @@ -130,7 +130,7 @@ $searches = array( "name" => "Firefox Addons", "website" => "https://addons.mozilla.org/firefox/", "query" => "https://addons.mozilla.org/firefox/search/?q=%s", - "categories" => array("software"), + "categories" => array("software", "foss", "community"), "keywords" => array("amoff", "amo", "ffaddons", "firefox", "ff"), "description" => "Official site for discovering and installing add-ons for the Mozilla Firefox browser and web browsers based on the Gecko Engine" ), @@ -138,7 +138,7 @@ $searches = array( "name" => "Thunderbird Addons", "website" => "https://addons.thunderbird.net/thunderbird/", "query" => "https://addons.thunderbird.net/thunderbird/search/?q=%s", - "categories" => array("software"), + "categories" => array("software", "foss", "community"), "keywords" => array("amotb", "atn", "tbaddons", "thunderbird", "tb"), "description" => "Official site for discovering and installing add-ons for the E-Mail client Thunderbird, previously owned by Mozilla" ), @@ -146,7 +146,7 @@ $searches = array( "name" => "Flathub", "website" => "https://flathub.org", "query" => "https://flathub.org/apps/search?q=%s", - "categories" => array("software", "linux"), + "categories" => array("software", "linux", "foss", "community"), "keywords" => array("flathub", "flatpak", "fh", "fp"), "description" => "A repository / remote source for the universal packaging format for GNU+Linux: Flatpak" ), @@ -154,7 +154,7 @@ $searches = array( "name" => "Gentoo Wiki", "website" => "https://wiki.gentoo.org", "query" => "https://wiki.gentoo.org/index.php?search=%s", - "categories" => array("wiki", "linux"), + "categories" => array("wiki", "docu", "linux", "foss", "community"), "keywords" => array("gentoowiki", "gentoo", "gw"), "description" => "Manuals and documentation for the Gentoo Linux distribution" ), @@ -162,7 +162,7 @@ $searches = array( "name" => "GitHub", "website" => "https://github.com", "query" => "https://github.com/search?q=%s", - "categories" => array("code", "git"), + "categories" => array("code", "software", "community"), "keywords" => array("github", "gh"), "description" => "A developer platform for Git owned by Microsoft that allows developers to create, store, manage and share their code" ), @@ -178,7 +178,7 @@ $searches = array( "name" => "Internet Archive", "website" => "https://archive.org", "query" => "https://archive.org/search?query=%s", - "categories" => array("archive"), + "categories" => array("archive", "community"), "keywords" => array("internetarchive", "archive", "ia"), "description" => "An American nonprofit digital library website founded in 1996, that provides free access to collections of digitized materials including websites, software applications, music, audiovisual, and print materials" ), @@ -186,7 +186,7 @@ $searches = array( "name" => "LEO (en-de)", "website" => "https://leo.org", "query" => "https://dict.leo.org/englisch-deutsch/%s", - "categories" => array("lang"), + "categories" => array("lang", "community"), "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" ), @@ -194,7 +194,7 @@ $searches = array( "name" => "LibreTranslate", "website" => "https://libretranslate.com", "query" => "https://libretranslate.com/?q=%s", - "categories" => array("lang"), + "categories" => array("lang", "foss"), "keywords" => array("libretranslate", "translate", "lt", "tl"), "description" => "Free and Open Source Machine Translation, which is powered by the open source Argos Translate library" ), @@ -202,7 +202,7 @@ $searches = array( "name" => "MDN", "website" => "https://developer.mozilla.org", "query" => "https://developer.mozilla.org/search?q=%s", - "categories" => array("docu", "learn"), + "categories" => array("docu", "edu", "foss", "community"), "keywords" => array("mdn", "mozilla", "webdev"), "description" => "Mozilla Developer Network is an open-source, collaborative project documenting Web platform technologies, including CSS, HTML, JavaScript, and Web APIs, that also provides learning resources for beginning developers and students" ), @@ -210,7 +210,7 @@ $searches = 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"), + "categories" => array("img", "meta", "foss"), "keywords" => array("metagerimg", "metaimg"), "description" => "A metasearch engine focused on protecting privacy, hosted as a cooperation between the German NGO SUMA-EV and the University of Hannover. Since August 2024 only available through a paid model" ), @@ -218,7 +218,7 @@ $searches = array( "name" => "MetaGer Maps", "website" => "https://metager.de/?fokus=maps", "query" => "https://maps.metager.de/en/%s/guess", - "categories" => array("map"), + "categories" => array("map", "foss"), "keywords" => array( "metagermap", "metagermaps", "mgmap", "metamap" ), @@ -228,7 +228,7 @@ $searches = 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"), + "categories" => array("sci", "meta", "foss"), "keywords" => array( "metagersci", "metagerscience", "metasci", "metascience" ), @@ -294,7 +294,7 @@ $searches = array( "name" => "NPM", "website" => "https://www.npmjs.com", "query" => "https://www.npmjs.com/search?q=%s", - "categories" => array("code", "docu"), + "categories" => array("code", "docu", "community"), "keywords" => array("npm", "npmjs", "node", "js"), "description" => "A repository and code sharing platform for NodeJS and Javascript, operated by Github which is owned by Microsoft" ), @@ -310,7 +310,7 @@ $searches = array( "name" => "OpenStreetMap", "website" => "https://www.openstreetmap.org", "query" => "https://www.openstreetmap.org/search?query=%s", - "categories" => array("map"), + "categories" => array("map", "foss", "community"), "keywords" => array("openstreetmap", "osm", "map", "maps"), "description" => "A completely community powered project that collects, structures and offers freely usable map services and geodata, available under a free license (Open Data)" ), @@ -319,7 +319,7 @@ $searches = array( "website" => "https://openverse.org", "query" => "https://openverse.org/de/search?q=%s", "categories" => array("img"), - "keywords" => array("openverse", "ov"), + "keywords" => array("openverse", "creativecommons", "ov", "cc"), "description" => "An extensive library of free stock photos, images, and audio, available for free use under a Creative Commons license or is in the public domain" ), "php" => array( @@ -334,7 +334,7 @@ $searches = array( "name" => "PyPI", "website" => "https://pypi.org", "query" => "https://pypi.org/search/?q=%s", - "categories" => array("code", "docu"), + "categories" => array("code", "docu", "community"), "keywords" => array("pypi", "python", "py"), "description" => "The Python Package Index is a community-driven software directory for the Python programming language" ), @@ -366,33 +366,33 @@ $searches = array( "name" => "Rotten Tomatoes", "website" => "https://www.rottentomatoes.com", "query" => "https://www.rottentomatoes.com/search?search=%s", - "categories" => array("vid"), + "categories" => array("vid", "wiki"), "keywords" => array("rottentomatoes", "rt"), "description" => "An community-powered American review-aggregation website for film and television owned by Warner Bros. and Comcast" ), - "searxweb" => array( - "name" => "SearX General (Random)", - "website" => "https://searx.neocities.org/#&category_general=on", - "query" => "https://searx.neocities.org/#q=%s&category_general=on", - "categories" => array("web", "meta"), - "keywords" => array("searxweb", "searxgeneral", "searxgen", "searx", "sx"), - "description" => "A free and open-source federated metasearch engine that supports over 70 different search engines" - ), "searximg" => array( - "name" => "SearX Images (Random)", + "name" => "SearX Images", "website" => "https://searx.neocities.org/#&category_images=on", "query" => "https://searx.neocities.org/#q=%s&category_images=on", - "categories" => array("img", "meta"), + "categories" => array("img", "meta", "foss"), "keywords" => array("searximg", "sximg", "sxi"), - "description" => "A free and open-source federated metasearch engine that supports over 70 different search engines" + "description" => "A free and open-source federated metasearch engine that supports over 70 different search engines. Note: This entry uses the SearX Randomizer, to choose a random SearX-instance for each request." ), "searxvid" => array( - "name" => "SearX Video (Random)", + "name" => "SearX Video", "website" => "https://searx.neocities.org/#&category_videos=on", "query" => "https://searx.neocities.org/#q=%s&category_videos=on", - "categories" => array("vid", "meta"), + "categories" => array("vid", "meta", "foss"), "keywords" => array("searxvid", "sxvid", "sxv"), - "description" => "A free and open-source federated metasearch engine that supports over 70 different search engines" + "description" => "A free and open-source federated metasearch engine that supports over 70 different search engines. Note: This entry uses the SearX Randomizer, to choose a random SearX-instance for each request." + ), + "searxweb" => array( + "name" => "SearX", + "website" => "https://searx.neocities.org/#&category_general=on", + "query" => "https://searx.neocities.org/#q=%s&category_general=on", + "categories" => array("web", "meta", "foss"), + "keywords" => array("searxweb", "searxgeneral", "searxgen", "searx", "sx"), + "description" => "A free and open-source federated metasearch engine that supports over 70 different search engines. Note: This entry uses the SearX Randomizer, to choose a random SearX-instance for each request." ), "semanticscholar" => array( "name" => "Semantic Scholar", @@ -406,7 +406,7 @@ $searches = array( "name" => "Sepia Search", "website" => "https://sepiasearch.org", "query" => "https://sepiasearch.org/search?search=%s", - "categories" => array("vid", "fedi"), + "categories" => array("vid", "fedi", "foss", "meta"), "keywords" => array( "sepiasearch", "sepia", "peertube", "pt" ), @@ -416,7 +416,7 @@ $searches = array( "name" => "Sourcehut", "website" => "https://sr.ht", "query" => "https://sr.ht/projects?search=%s", - "categories" => array("code", "git"), + "categories" => array("code", "software", "foss", "community"), "keywords" => array("sourcehut", "srht", "sir"), "description" => "A community-powered Free and Open Source collaboration platform that prides itself about speed, efficiency, minimalism and without tracking or advertising" ), @@ -424,7 +424,7 @@ $searches = array( "name" => "Stackoverflow", "website" => "https://stackoverflow.com", "query" => "https://stackoverflow.com/search?q=%s", - "categories" => array("code", "forum"), + "categories" => array("code", "community"), "keywords" => array("stackoverflow", "so"), "description" => "A question-and-answer website for computer programmers and the flagship site of the Stack Exchange Network" ), @@ -440,7 +440,7 @@ $searches = array( "name" => "The Document Fdn.", "website" => "https://wiki.documentfoundation.org", "query" => "https://wiki.documentfoundation.org/index.php?title=Special%3ASearch&search=%s", - "categories" => array("wiki"), + "categories" => array("wiki", "foss"), "keywords" => array("thedocumentfoundation", "tdf", "libreoffice", "openoffice", "lo", "oo"), "description" => "Encyclopedia, documentation and manuals for the LibreOffice office suite run by The Document Foundation" ), @@ -464,7 +464,7 @@ $searches = array( "name" => "W3schools", /* Google CSE (!) */ "website" => "https://www.w3schools.com", "query" => "https://cse.google.com/cse?cx=c5f6ccbd4ce9405a8&q=%s", - "categories" => array("docu", "learn"), + "categories" => array("docu", "edu"), "keywords" => array("w3schools", "w3school", "www", "w3s"), "description" => "A freemium educational website for learning coding online, which was initially released in 1998, deriving its name from the World Wide Web but is not affiliated with the W3 Consortium" ), @@ -480,7 +480,7 @@ $searches = array( "name" => "Wiki Books: LaTeX", "website" => "https://wikibooks.org/wiki/LaTeX", "query" => "https://wikibooks.org/wiki/Special:Search?prefix=LaTeX%2F&search=%s", - "categories" => array("docu", "learn", "wiki"), + "categories" => array("docu", "edu", "wiki", "foss", "community"), "keywords" => array("wikibookslatex", "wblatex", "wbtex", "latex", "tex"), "description" => "A book and encyclopedia for the LaTeX typesetting system" ), @@ -488,7 +488,7 @@ $searches = array( "name" => "Wikidata", "website" => "https://wikidata.org", "query" => "https://wikidata.org/w/index.php?title=Special%3ASearch&search=%s", - "categories" => array("wiki"), + "categories" => array("wiki", "foss", "edu", "community"), "keywords" => array("wikidata", "wd"), "description" => "A free and open knowledge base that can be read and edited by both humans and machines, which publishes data under a free license (Open Data)" ), @@ -496,7 +496,7 @@ $searches = array( "name" => "Wikimedia Commons", "website" => "https://commons.wikimedia.org", "query" => "https://commons.wikimedia.org/w/index.php?title=Special%3AMediaSearch&search=%s", - "categories" => array("wiki", "img"), + "categories" => array("wiki", "img", "foss", "community"), "keywords" => array("wikimedia", "wi", "wm"), "description" => "A media file repository making available public domain and freely licensed educational media content (images, sound and video clips) to everyone, in their own language" ), @@ -504,7 +504,7 @@ $searches = array( "name" => "Wikinews", "website" => "https://wikinews.org", "query" => "https://wikinews.org/w/index.php?title=Special%3ASearch&search=%s", - "categories" => array("wiki", "news"), + "categories" => array("wiki", "news", "foss", "community"), "keywords" => array("wikinews", "wn"), "description" => "A free-content news wiki and a project of the Wikimedia Foundation that works through collaborative journalism" ), @@ -512,7 +512,7 @@ $searches = array( "name" => "Wikipedia", "website" => "https://wikipedia.org", "query" => "https://wikipedia.org/w/index.php?title=Special%3ASearch&search=%s", - "categories" => array("wiki"), + "categories" => array("wiki", "foss", "edu", "community"), "keywords" => array("wikipedia", "wiki", "wp", "wk"), "description" => "A free content online encyclopedia written and maintained by a community of volunteers through open collaboration. It is the largest and most-read reference work in history, and is consistently ranked among the ten most visited websites world-wide" ), @@ -520,7 +520,7 @@ $searches = array( "name" => "Wikisource", "website" => "https://wikisource.org", "query" => "https://wikisource.org/w/index.php?title=Special%3ASearch&search=%s", - "categories" => array("wiki", "sci"), + "categories" => array("wiki", "sci", "foss", "edu", "community"), "keywords" => array("wikisource", "ws"), "description" => "An online wiki-based digital library of free-content textual sources operated by the Wikimedia Foundation, whose aim it is to host all forms of free text, in many languages, and translations" ), @@ -528,7 +528,7 @@ $searches = array( "name" => "Wikiversity", "website" => "https://wikiversity.org", "query" => "https://wikiversity.org/w/index.php?title=Special%3ASearch&search=%s", - "categories" => array("wiki", "sci"), + "categories" => array("wiki", "sci", "edu", "foss", "community"), "keywords" => array("wikiversity", "wv"), "description" => "A Wikimedia Foundation project that supports learning communities, their learning materials, and resulting activities" ), @@ -536,7 +536,7 @@ $searches = array( "name" => "Wikivoyage", "website" => "https://wikivoyage.org", "query" => "https://wikivoyage.org/w/index.php?title=Special%3ASearch&search=%s", - "categories" => array("wiki", "map"), + "categories" => array("wiki", "map", "foss", "community"), "keywords" => array("wikivoyage", "wt", "travel"), "description" => "A free web-based travel guide for travel destinations and travel topics written by volunteer authors" ), @@ -544,7 +544,7 @@ $searches = array( "name" => "WINE HQ", "website" => "https://www.winehq.org", "query" => "https://www.winehq.org/search?q=%s", - "categories" => array("wiki", "linux", "docu", "forum"), + "categories" => array("wiki", "linux", "docu", "community"), "keywords" => array("winehq", "wine"), "description" => "Manuals and documentation for the WINE compatibility layer that allows Windows applications to run on POSIX-compliant operating systems, such as Linux, macOS and BSD" ), @@ -569,7 +569,7 @@ $searches = array( /* Categories */ $categories = array( "meta" => array( - "name" => "Metaengines", + "name" => "Meta", ), "web" => array( "name" => "General", @@ -607,18 +607,9 @@ $categories = array( "code" => array( "name" => "Coding" ), - "git" => array( - "name" => "Git" - ), "software" => array( "name" => "Software" ), - "forum" => array( - "name" => "Forums" - ), - "learn" => array( - "name" => "Learning" - ), "docu" => array( "name" => "Manuals" ), @@ -627,6 +618,18 @@ $categories = array( ), "archive" => array( "name" => "Archives" + ), + "community" => array( + "name" => "Community" + ), + "foss" => array( + "name" => "Open Source" + ), + "edu" => array( + "name" => "Educational" + ), + "news" => array( + "name" => "News" ) );