summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAge
* [mod] presearch: add language & region supportMarkus Heiser2024-01-15
| | | | | | | | | | | | | | | | | | | | | | | | In Presearch there are languages for the UI and regions for narrowing down the search. With this change the SearXNG engine supports a search by region. The details can be found in the documentation of the source code. To test, you can search terms like:: !presearch bmw :zh-TW !presearch bmw :en-CA 1. You should get results corresponding to the region (Taiwan, Canada) 2. and in the language (Chinese, Englisch). 3. The context in info box content is in the same language. Exceptions: 1. Region or language is not supported by Presearch or 2. SearXNG user did not selected a region tag, example:: !presearch bmw :en Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [mod] get rid of ./utils/brand.env and its workflowMarkus Heiser2024-01-09
| | | | | | | | All the environments defined in ./utils/brand.env are generated on the fly, so there is no longer a need to define the brand environment in this file and all the workflows to handle this file. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [feat] autocompleter: implementation of stract (beta)Bnyro2024-01-07
|
* [feat] engine: implementation of bpbBnyro2023-11-27
|
* [dev] manage runtime versions with asdfMarkus Heiser2023-11-12
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* Docker: add UWSGI_WORKERS and UWSGI_THREAD environment variables (#2992)Alexandre Flament2023-11-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Docker: add UWSGI_WORKERS and UWSGI_THREAD. UWSGI_WORKERS specifies the number of process. UWSGI_THREADS specifies the number of threads. The Docker convention is to specify the whole configuration through environment variables. While not done in SearXNG, these two additional variables allows admins to skip uwsgi.ini In additional, https://github.com/searxng/preview-environments starts Docker without additional files through searxng-helm-chat. Each instance consumes 1Go of RAM which is a lot especially when there are a lot of instances / pull requests. * [scripts] add environments UWSGI_WORKERS and UWSGI_THREADS - UWSGI_WORKERS specifies the number of process. - UWSGI_THREADS specifies the number of threads. Templates for uwsgi scripts can be tested by:: UWSGI_WORKERS=8 UWSGI_THREADS=9 \ ./utils/searxng.sh --cmd\ eval "echo \"$(cat utils/templates/etc/uwsgi/*/searxng.ini*)\""\ | grep "workers\|threads" Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> --------- Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
* [mod] document server:public_instance & remove it out of the botdetectionMarkus Heiser2023-11-01
| | | | | | | | - the option server:public_instance lacks some documentation - the processing of this option belongs in the limiter and not in botdetection module Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [mod] isolation of botdetection from the limiterMarkus Heiser2023-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch was inspired by the discussion around PR-2882 [2]. The goals of this patch are: 1. Convert plugin searx.plugin.limiter to normal code [1] 2. isolation of botdetection from the limiter [2] 3. searx/{tools => botdetection}/config.py and drop searx.tools 4. in URL /config, 'limiter.enabled' is true only if the limiter is really enabled (Redis is available). This patch moves all the code that belongs to botdetection into namespace searx.botdetection and code that belongs to limiter is placed in namespace searx.limiter. Tthe limiter used to be a plugin at some point botdetection was added, it was not a plugin. The modularization of these two components was long overdue. With the clear modularization, the documentation could then also be organized according to the architecture. [1] https://github.com/searxng/searxng/pull/2882 [2] https://github.com/searxng/searxng/pull/2882#issuecomment-1741716891 To test: - check the app works without the limiter, check `/config` - check the app works with the limiter and with the token, check `/config` - make docs.live .. and read - http://0.0.0.0:8000/admin/searx.limiter.html - http://0.0.0.0:8000/src/searx.botdetection.html#botdetection Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [mod] add hotkeys option to settings.ymlAlex Balgavy2023-10-09
| | | | | | | The change in the hotkey mechanism introduced in 317db5b04 does not allow configuration via `settings.yml`. This commit adds that functionality. Closes: #2898
* [fix] matrixrooms add proper MRS integrationAine2023-10-09
| | | | | | Related: - https://github.com/searxng/searxng/issues/2918
* [feat] duckduckgo: support for videos and newsBnyro2023-10-09
|
* [feat] engine: implementation of mastodonBnyro2023-10-06
|
* [mod] engine - simplify region & lang handling, make filters configurableMarkus Heiser2023-10-05
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [mod] settings.yml: remove plugin settings for plugins that don't exist anymoreBnyro2023-09-29
|
* [doc] move dosc of botdetection from developer to admin sectionMarkus Heiser2023-09-23
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [feat] engine: implementation of wallhavenBnyro2023-09-21
|
* [feat] search on category select without JSBnyro2023-09-18
| | | | Co-authored-by: Alexandre Flament <alex@al-f.net>
* [fix] spellingjazzzooo2023-09-18
|
* [feat] implementation of qwant lite for web searchMarkus Heiser2023-09-17
| | | | | | Related: https://github.com/searxng/searxng/issues/2719 Replace: https://github.com/searxng/searxng/pull/2748 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [feat] engine: implemenation of moviepilot (de)Bnyro2023-09-17
|
* [mod] library of congress: fix engineBnyro2023-09-11
|
* [feat] engine: implementation of odyseeHackurei2023-09-02
|
* [doc] add documentation of Mwmbl engine & autocompleterMarkus Heiser2023-08-27
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [mod] autocomplete.py: add support for mwmbl completionsBnyro2023-08-27
|
* [dev-env] upgrade Sphinx-doc 7.2.3 and unpin at v7.1.2 on py3.8Markus Heiser2023-08-27
| | | | | | | | | | | | | | | | | | | | | - Sphinx-doc 7.2.0 drops py3.8 support [1][2] - last version with py3.8 support is 7.1.2 Many LTS distributions still have py3.8 which EOL is in 2024-10 [3]. To continue to support a development environment on py3.8 the rigid dependency in the development environment is unpinned in py3.8 / environment markers [4]. To get 7.2.3. work, a fix in sphinx-notfound-page is needed [5][6]. [1] https://github.com/searxng/searxng/pull/2658#issuecomment-1684867270 [2] https://github.com/sphinx-doc/sphinx/issues/11621 [3] https://devguide.python.org/versions/#supported-versions [4] https://peps.python.org/pep-0508/#environment-markers [5] https://github.com/readthedocs/sphinx-notfound-page/issues/219 [6] https://github.com/readthedocs/sphinx-notfound-page/issues/219#issuecomment-1694691135 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [mod] improve seekr engines and add documentationMarkus Heiser2023-08-15
| | | | | | | Tis patch adds some more fields to the result items and changed paging to the ``nextResultSet`` given in seekr's JSON response. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [fix] typos in documentation & messagesToxyFlog16272023-08-13
|
* [doc] add tagesschau API to the debveloper documentationMarkus Heiser2023-08-11
| | | | | | supplement to the commit e25d1c728 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [fix] typo in docs/admin/settings/settings_general.rst (doc)Markus Heiser2023-08-11
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [feat] engine: support for lemmy communities, posts, comments and usersBnyro2023-08-10
|
* [mod] implement brave (WEB) engine to replace XPath configurationMarkus Heiser2023-08-08
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [doc] improve documentation of make targets and ./manage scriptMarkus Heiser2023-08-06
| | | | | | | | | | | | BTW force modularization of the ./mange script into sub modules: - utils/lib_sxng_data.sh - utils/lib_sxng_node.sh - utils/lib_sxng_static.sh - utils/lib_sxng_test.sh - utils/lib_sxng_themes.sh Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [doc] engine bt4g: add documentation to docs/dev/engines/online/Markus Heiser2023-08-06
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [mod] engine: wikimedia - improve results, add addition settings & docMarkus Heiser2023-08-04
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [doc] engine: YacyMarkus Heiser2023-08-03
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [doc] engine piped: add documentation to docs/dev/engines/online/Markus Heiser2023-08-03
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [doc] reduce copyright remark in the footer to the SearXNG teamMarkus Heiser2023-07-29
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [feat] engine: re-enables z-library (zlibrary-global.se)Paolo Basso2023-07-07
| | | | | | | | | | | | | | | - re-enables z-library as the new domain zlibrary-global.se is now available from the open web. The announcement of the domain: https://www.reddit.com/r/zlibrary/comments/13whe08/mod_note_zlibraryglobalse_domain_is_officially/ It is an official domain, it requires to log in to the "personal" subdomain only to download files, but the search works. - changes the result template of zlibrary to paper.html, filling the appropriate fields - implements language filtering for zlibrary - implement zlibrary custom filters (engine traits) - refactor and document the zlibrary engine
* [doc] rearranges Settings & Engines docs for better readabilityMarkus Heiser2023-07-01
| | | | | | | | | | | | | | | We have built up detailed documentation of the *settings* and the *engines* over the past few years. However, this documentation was still spread over various chapters and was difficult to navigate in its entirety. This patch rearranges the Settings & Engines documentation for better readability. To review new ordered docs:: make docs.clean docs.live Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [mod] engine: Anna's Archive - additionl settings (content, sort, ext)Markus Heiser2023-06-29
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [mod] engine torznab - refactor & option to hide linksPaolo Basso2023-06-28
| | | | | | | | | | - torznab engine using types and clearer code - torznab option to hide torrent and magnet links. - document the torznab engine - add myself to authors Closes: https://github.com/searxng/searxng/issues/1124 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [fix] engine & network issues / documentation and type annotationsMarkus Heiser2023-06-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes some quirks and issues related to the engines and the network. Each engine has its own network and this network was broken for the following engines[1]: - archlinux - bing - dailymotion - duckduckgo - google - peertube - startpage - wikipedia Since the files have been touched anyway, the type annotaions of the engine modules has also been completed so that error messages from the type checker are no longer reported. Related and (partial) fixed issue: - [1] https://github.com/searxng/searxng/issues/762#issuecomment-1605323861 - [2] https://github.com/searxng/searxng/issues/2513 - [3] https://github.com/searxng/searxng/issues/2515 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [doc] settings.yml: add missing $SEARXNG_REDIS_URL to the docsMarkus Heiser2023-06-16
| | | | | Closes: https://github.com/searxng/searxng/issues/2499 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [doc] code and sytle injection is not supported by the simple themeMarkus Heiser2023-06-13
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [mod] limiter: blocklist and passlist (ip_lists)Markus Heiser2023-06-05
| | | | | | | | | | | | | | | | | A blocklist and a passlist can be configured in /etc/searxng/limiter.toml:: [botdetection.ip_lists] pass_ip = [ '51.15.252.168', # IPv4 of check.searx.space ] block_ip = [ '93.184.216.34', # IPv4 of example.org ] Closes: https://github.com/searxng/searxng/issues/2127 Closes: https://github.com/searxng/searxng/pull/2129 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [mod] limiter -> botdetection: modularization and documentationMarkus Heiser2023-05-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | In order to be able to meet the outstanding requirements, the implementation is modularized and supplemented with documentation. This patch does not contain functional change, except it fixes issue #2455 ---- Aktivate limiter in the settings.yml and simulate a bot request by:: curl -H 'Accept-Language: de-DE,en-US;q=0.7,en;q=0.3' \ -H 'Accept: text/html' -H 'User-Agent: xyz' \ -H 'Accept-Encoding: gzip' \ 'http://127.0.0.1:8888/search?q=foo' In the LOG: DEBUG searx.botdetection.link_token : missing ping for this request: ..... Since ``BURST_MAX_SUSPICIOUS = 2`` you can repeat the query above two time before you get a "Too Many Requests" response. Closes: https://github.com/searxng/searxng/issues/2455 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [doc] fix tyops in docs/dev/reST.rstMarkus Heiser2023-05-26
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [doc] answer CAPTCHA from server's IPMarkus Heiser2023-05-22
| | | | | Related: https://github.com/searxng/searxng/issues/2011#issuecomment-1553317619 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [doc] update & fix documentation of the "SearXNG LXC suite"Markus Heiser2023-05-21
| | | | Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* [mod] donation_url: disable by defaultMarkus Heiser2023-05-15
| | | | | | SearXNG's donation campaign has been ended. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>