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 f0e81b0702d9d72937f4ae60f75b9fb8bf50e8ac
parent 3d9d2e215b994ffbb15957127eac65da6c5704ee
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat,  6 Jul 2024 19:53:50 +0200

fix: rename to serĉi

Diffstat:
MREADME.md | 39+++++++++++++++++++--------------------
Mindex.php | 18+++++++++---------
Mmanifest.json | 4++--
Mopensearch.xml | 2+-
4 files changed, 31 insertions(+), 32 deletions(-)

diff --git a/README.md b/README.md @@ -1,16 +1,15 @@ -# traserĉi +# serĉi Search the web with `!keywords`. Please send patches or remarks to -[jayvii+traserci[AT]posteo[DOT]de](mailto:jayvii+traserci[AT]posteo[DOT]de). +[jayvii+serci[AT]posteo[DOT]de](mailto:jayvii+serci[AT]posteo[DOT]de). ## FAQs -### What does traserĉi mean? +### What does serĉi mean? -It is the Esperanto term for -["to search"](https://www.reta-vortaro.de/revo/dlg/index-2l.html#sercx.tra0i). +It is the Esperanto term for ["to search"](https://eneo.dict.cc/?s=ser%C4%89i). ### What are `!keywords`? @@ -29,35 +28,35 @@ which has been utilized by many others since: > We’ve had keywords since 2008 as part of our geek roots. Now we have thousands of > !keywords and you can even submit your own. -traserĉi implements keywords for all kinds of search engine and transparently +serĉi implements keywords for all kinds of search engine and transparently redirects you right to them. The default set of search engine and fall-backs is geared towards privacy and data minimalism. However, you can simply host -traserĉi yourself any time and configure your own favorite search engines and +serĉi yourself any time and configure your own favorite search engines and `!keywords`. If you think there are `!keywords` that other people would benefit from, feel free to contribute! -### How can I use traserĉi? +### How can I use serĉi? -- You can try traserĉi on [search.jayvii.de](https://search.jayvii.de). Or +- You can try serĉi on [search.jayvii.de](https://search.jayvii.de). Or host it yourself! It barely needs any server resources, no database or lots - of RAM. traserĉi has minimal footprint (also on user data: there are NONE). -- Either type your search directly into the search bar of the traserĉi + of RAM. serĉi has minimal footprint (also on user data: there are NONE). +- Either type your search directly into the search bar of the serĉi webfrontend or add the search to your browser by rightclicking in the - URL-bar and choosing `add traserĉi - Search with !keywords`. + URL-bar and choosing `add serĉi - Search with !keywords`. - Some browsers (for example Firefox on Android / Fennec) allow to configure custom search engines via search URL. Simply list - `https://search.jayvii.de/?query=%s` (or whatever traserĉi host you want to + `https://search.jayvii.de/?query=%s` (or whatever serĉi host you want to use). - Please do not abuse my open search site search.jayvii.de and try to host - traserĉi yourself, if you can. There is no guarantee, my site is always + serĉi yourself, if you can. There is no guarantee, my site is always online or will be continued indefinitely. ## Hosting Simply upload the entire content of this repository to your webhost. Edit -`opensearch.xml` accordingly. If the domain you want to run traserĉi under is +`opensearch.xml` accordingly. If the domain you want to run serĉi under is `search.example.com`, you can simply run: ```bash @@ -69,9 +68,9 @@ Search-Engines and `!keywords` are configured in `config/config.php`. Speed-Deployment: ```bash DOMAIN="search.example.com" -mkdir -p /var/www/traserci && \ - cd /var/www/traserci && \ - wget https://src.jayvii.de/pub/traserci/exports/main.tar.gz -O - | \ +mkdir -p /var/www/serci && \ + cd /var/www/serci && \ + wget https://src.jayvii.de/pub/serci/exports/main.tar.gz -O - | \ tar xfvz - && \ sed -e "s/%%URL%%/https:\/\/${DOMAIN}/g" -i opensearch.xml ``` @@ -83,7 +82,7 @@ Example-configuration for Apache2: # server name and directory ServerAdmin webmaster[AT]example[DOT]com ServerName search.example.com - DocumentRoot /var/www/traserci + DocumentRoot /var/www/serci # log- and error files ErrorLog ${APACHE_LOG_DIR}/search.example.com_error.log @@ -98,7 +97,7 @@ Example-configuration for Apache2: ## License -traserĉi is under the AGPL-3.0 license. It is [REUSE](https://reuse.software) +serĉi is under the AGPL-3.0 license. It is [REUSE](https://reuse.software) compliant! Icons are licensed under CC-BY-SA-4.0. diff --git a/index.php b/index.php @@ -60,16 +60,16 @@ if (strlen($query) > 0) { <link rel=icon href=/assets/img/favicon.ico type=x-image/ico> <link rel=stylesheet href=/assets/css/simple.min.css media=all> <link rel=stylesheet href=/assets/css/custom.css> - <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="traserĉi - search with !keywords"> + <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="serĉi - search with !keywords"> <link rel="manifest" href="manifest.json"> - <title>traserĉi - search with !keywords</title> + <title>serĉi - search with !keywords</title> </head> <!-- Body --> <body> <!-- Search Bar --> - <h1>traserĉi - Search with !keywords</h1> + <h1>serĉi - Search with !keywords</h1> <form id="searchform" action="/" method="get"> <input id="searchbar" @@ -91,16 +91,16 @@ if (strlen($query) > 0) { <!-- FAQs --> <h3>FAQs</h3> <ul> - <li><a href="https://src.jayvii.de/pub/traserci/#faqs" target="_blank"> - What does <em>traserĉi</em> mean? + <li><a href="https://src.jayvii.de/pub/serci/#what-does-serĉi-mean" target="_blank"> + What does <em>serĉi</em> mean? </a></li> - <li><a href="https://src.jayvii.de/pub/traserci/#faqs" target="_blank"> + <li><a href="https://src.jayvii.de/pub/serci/#what-are-keywords" target="_blank"> What are keywords? </a></li> - <li><a href="https://src.jayvii.de/pub/traserci/#faqs" target="_blank"> - How to use traserĉi? + <li><a href="https://src.jayvii.de/pub/serci/#how-can-i-use-serĉi" target="_blank"> + How to use serĉi? </a></li> - <li><a href="https://src.jayvii.de/pub/traserci/" target="_blank"> + <li><a href="https://src.jayvii.de/pub/serci/" target="_blank"> Help with development! </a></li> </ul> diff --git a/manifest.json b/manifest.json @@ -1,6 +1,6 @@ { - "name":"traserĉi", - "short_name":"traserĉi", + "name":"serĉi", + "short_name":"serĉi", "start_url":"/", "display":"standalone", "scope":"/", diff --git a/opensearch.xml b/opensearch.xml @@ -1,5 +1,5 @@ <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"> - <ShortName>traserĉi</ShortName> + <ShortName>serĉi</ShortName> <Description>Search with !keywords</Description> <Url type="text/html" method="get" template="%%URL%%/?query={searchTerms}"/> <Image width="16" height="16">data:image/x-icon;base64,AAAB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