Updating SearXNG config. #87

Merged
gitea-sonarqube-bot merged 5 commits from searxng-config-fix_2026-01-02T16-03-17 into main 2026-01-03 12:32:05 -05:00
5 changed files with 56 additions and 179 deletions
+42 -165
View File
@@ -1,5 +1,6 @@
{% set vault_addr = 'https://vault.trez.wtf' %} {% set vault_addr = 'https://vault.trez.wtf' %}
{% set secrets_path = 'rinoa-docker/env' %} {% set secrets_path = 'rinoa-docker/env' %}
general: general:
# Debug mode, only for development. Is overwritten by ${SEARXNG_DEBUG} # Debug mode, only for development. Is overwritten by ${SEARXNG_DEBUG}
debug: false debug: false
@@ -16,7 +17,6 @@ general:
enable_metrics: true enable_metrics: true
# expose stats in open metrics format at /metrics # expose stats in open metrics format at /metrics
# leave empty to disable (no password set) # leave empty to disable (no password set)
# open_metrics: <password>
open_metrics: '' open_metrics: ''
brand: brand:
@@ -25,87 +25,35 @@ brand:
public_instances: https://searx.space public_instances: https://searx.space
wiki_url: https://github.com/searxng/searxng/wiki wiki_url: https://github.com/searxng/searxng/wiki
issue_url: https://github.com/searxng/searxng/issues issue_url: https://github.com/searxng/searxng/issues
# custom:
# maintainer: "Jon Doe"
# # Custom entries in the footer: [title]: [link]
# links:
# Uptime: https://uptime.searxng.org/history/darmarit-org
# About: "https://searxng.org"
search: search:
# Filter results. 0: None, 1: Moderate, 2: Strict
safe_search: 0 safe_search: 0
# Existing autocomplete backends: "360search", "baidu", "brave", "dbpedia", "duckduckgo", "google", "yandex",
# "mwmbl", "naver", "seznam", "sogou", "startpage", "stract", "swisscows", "quark", "qwant", "wikipedia" -
# leave blank to turn it off by default.
autocomplete: "" autocomplete: ""
# minimun characters to type before autocompleter starts
autocomplete_min: 4 autocomplete_min: 4
# backend for the favicon near URL in search results.
# Available resolvers: "allesedv", "duckduckgo", "google", "yandex" - leave blank to turn it off by default.
favicon_resolver: "" favicon_resolver: ""
# Default search language - leave blank to detect from browser information or
# use codes from 'languages.py'
default_lang: "auto" default_lang: "auto"
# max_page: 0 # if engine supports paging, 0 means unlimited numbers of pages
# Available languages
# languages:
# - all
# - en
# - en-US
# - de
# - it-IT
# - fr
# - fr-BE
# ban time in seconds after engine errors
ban_time_on_fail: 5 ban_time_on_fail: 5
# max ban time in seconds after engine errors
max_ban_time_on_fail: 120 max_ban_time_on_fail: 120
suspended_times: suspended_times:
# Engine suspension time after error (in seconds; set to 0 to disable)
# For error "Access denied" and "HTTP error [402, 403]"
SearxEngineAccessDenied: 86400 SearxEngineAccessDenied: 86400
# For error "CAPTCHA"
SearxEngineCaptcha: 86400 SearxEngineCaptcha: 86400
# For error "Too many request" and "HTTP error 429"
SearxEngineTooManyRequests: 3600 SearxEngineTooManyRequests: 3600
# Cloudflare CAPTCHA
cf_SearxEngineCaptcha: 1296000 cf_SearxEngineCaptcha: 1296000
cf_SearxEngineAccessDenied: 86400 cf_SearxEngineAccessDenied: 86400
# ReCAPTCHA
recaptcha_SearxEngineCaptcha: 604800 recaptcha_SearxEngineCaptcha: 604800
# remove format to deny access, use lower case.
# formats: [html, csv, json, rss]
formats: formats:
- html - html
server: server:
# Is overwritten by ${SEARXNG_PORT} and ${SEARXNG_BIND_ADDRESS}
port: 8888 port: 8888
bind_address: "127.0.0.1" bind_address: "127.0.0.1"
# public URL of the instance, to ensure correct inbound links. Is overwritten base_url: false
# by ${SEARXNG_BASE_URL}.
base_url: false # "http://example.com/location"
# rate limit the number of request on the instance, block some bots.
# Is overwritten by ${SEARXNG_LIMITER}
limiter: false limiter: false
# enable features designed only for public instances.
# Is overwritten by ${SEARXNG_PUBLIC_INSTANCE}
public_instance: false public_instance: false
# If your instance owns a /etc/searxng/settings.yml file, then set the following
# values there.
secret_key: {{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token)['secret']['SEARXNG_SECRET_KEY'] }} # Is overwritten by ${SEARXNG_SECRET} secret_key: {{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token)['secret']['SEARXNG_SECRET_KEY'] }} # Is overwritten by ${SEARXNG_SECRET}
# Proxy image results through SearXNG. Is overwritten by ${SEARXNG_IMAGE_PROXY}
image_proxy: true image_proxy: true
# 1.0 and 1.1 are supported
http_protocol_version: "1.0" http_protocol_version: "1.0"
# POST queries are "more secure!" but are also the source of hard-to-locate
# annoyances, which is why GET may be better for end users and their browsers.
# see https://github.com/searxng/searxng/pull/3619
# Is overwritten by ${SEARXNG_METHOD}
method: "POST" method: "POST"
default_http_headers: default_http_headers:
X-Content-Type-Options: nosniff X-Content-Type-Options: nosniff
@@ -114,41 +62,20 @@ server:
Referrer-Policy: no-referrer Referrer-Policy: no-referrer
valkey: valkey:
# URL to connect valkey database. Is overwritten by ${SEARXNG_VALKEY_URL}.
# https://docs.searxng.org/admin/settings/settings_valkey.html#settings-valkey
# url: valkey://localhost:6379/0
url: redis://searxng-valkey:6379/0 url: redis://searxng-valkey:6379/0
ui: ui:
# Custom static path - leave it blank if you didn't change
static_path: "" static_path: ""
# Custom templates path - leave it blank if you didn't change
templates_path: "" templates_path: ""
# query_in_title: When true, the result page's titles contains the query
# it decreases the privacy, since the browser can records the page titles.
query_in_title: true query_in_title: true
# infinite_scroll: When true, automatically loads the next page when scrolling to bottom of the current page.
infinite_scroll: true infinite_scroll: true
# ui theme
default_theme: simple default_theme: simple
# center the results ?
center_alignment: false center_alignment: false
# URL prefix of the internet archive, don't forget trailing slash (if needed).
# cache_url: "https://webcache.googleusercontent.com/search?q=cache:"
# Default interface locale - leave blank to detect from browser information or
# use codes from the 'locales' config section
default_locale: "" default_locale: ""
# Open result links in a new tab by default
# results_on_new_tab: false
theme_args: theme_args:
# style of simple theme: auto, light, dark
simple_style: auto simple_style: auto
# Perform search immediately if a category selected.
# Disable to select multiple categories at once and start the search manually.
search_on_category_select: true search_on_category_select: true
# Hotkeys: default or vim
hotkeys: default hotkeys: default
# URL formatting: pretty, full or host
url_formatting: pretty url_formatting: pretty
# Lock arbitrary settings on the preferences page. # Lock arbitrary settings on the preferences page.
@@ -165,7 +92,6 @@ ui:
# - locale # - locale
# - theme # - theme
# - results_on_new_tab # - results_on_new_tab
# - infinite_scroll
# - search_on_category_select # - search_on_category_select
# - method # - method
# - image_proxy # - image_proxy
@@ -217,6 +143,7 @@ outgoing:
# - 1.1.1.2 # - 1.1.1.2
# - fe80::/126 # - fe80::/126
# Plugin configuration, for more details see # Plugin configuration, for more details see
# https://docs.searxng.org/admin/settings/settings_plugins.html # https://docs.searxng.org/admin/settings/settings_plugins.html
# #
@@ -225,6 +152,9 @@ plugins:
searx.plugins.calculator.SXNGPlugin: searx.plugins.calculator.SXNGPlugin:
active: true active: true
searx.plugins.infinite_scroll.SXNGPlugin:
active: false
searx.plugins.hash_plugin.SXNGPlugin: searx.plugins.hash_plugin.SXNGPlugin:
active: true active: true
@@ -390,25 +320,6 @@ engines:
timeout: 6 timeout: 6
disabled: true disabled: true
- name: alexandria
engine: json_engine
shortcut: alx
categories: general
paging: true
search_url: https://api.alexandria.org/?a=1&q={query}&p={pageno}
results_query: results
title_query: title
url_query: url
content_query: snippet
timeout: 1.5
disabled: true
about:
website: https://alexandria.org/
official_api_documentation: https://github.com/alexandria-org/alexandria-api/raw/master/README.md
use_official_api: true
require_api_key: false
results: JSON
- name: astrophysics data system - name: astrophysics data system
engine: astrophysics_data_system engine: astrophysics_data_system
shortcut: ads shortcut: ads
@@ -498,6 +409,15 @@ engines:
shortcut: ask shortcut: ask
disabled: true disabled: true
# - name: azure
# engine: azure
# shortcut: az
# categories: [it, cloud]
# azure_tenant_id: "your_tenant_id"
# azure_client_id: "your_client_id"
# azure_client_secret: "your_client_secret"
# disabled: true
# tmp suspended: dh key too small # tmp suspended: dh key too small
# - name: base # - name: base
# engine: base # engine: base
@@ -667,12 +587,6 @@ engines:
api_key: "" api_key: ""
inactive: true inactive: true
# - name: cppreference
# engine: cppreference
# shortcut: cpp
# paging: false
# disabled: true
- name: crossref - name: crossref
engine: crossref engine: crossref
shortcut: cr shortcut: cr
@@ -736,6 +650,11 @@ engines:
shortcut: da shortcut: da
timeout: 3.0 timeout: 3.0
- name: devicons
engine: devicons
shortcut: di
timeout: 3.0
- name: ddg definitions - name: ddg definitions
engine: duckduckgo_definitions engine: duckduckgo_definitions
shortcut: ddd shortcut: ddd
@@ -1072,6 +991,12 @@ engines:
play_categ: movies play_categ: movies
disabled: true disabled: true
- name: grokipedia
engine: grokipedia
shortcut: gp
disabled: true
inactive: true
- name: material icons - name: material icons
engine: material_icons engine: material_icons
shortcut: mi shortcut: mi
@@ -1300,6 +1225,11 @@ engines:
require_api_key: false require_api_key: false
results: HTML results: HTML
- name: lucide
engine: lucide
shortcut: luc
timeout: 3.0
- name: marginalia - name: marginalia
engine: marginalia engine: marginalia
shortcut: mar shortcut: mar
@@ -1434,22 +1364,6 @@ engines:
require_api_key: false require_api_key: false
results: JSON results: JSON
# https://docs.searxng.org/dev/engines/online/mullvad_leta.html
- name: mullvadleta
engine: mullvad_leta
disabled: true
leta_engine: google
categories: [general, web]
shortcut: ml
- name: mullvadleta brave
engine: mullvad_leta
network: mullvadleta
disabled: true
leta_engine: brave
categories: [general, web]
shortcut: mlb
- name: odysee - name: odysee
engine: odysee engine: odysee
shortcut: od shortcut: od
@@ -1640,6 +1554,7 @@ engines:
engine: pixiv engine: pixiv
disabled: true disabled: true
inactive: true inactive: true
remove_ai_images: false
pixiv_image_proxies: pixiv_image_proxies:
- https://pximg.example.org - https://pximg.example.org
# A proxy is required to load the images. Hosting an image proxy server # A proxy is required to load the images. Hosting an image proxy server
@@ -2134,22 +2049,21 @@ engines:
search_type: web search_type: web
shortcut: yd shortcut: yd
disabled: true disabled: true
inactive: true
- name: yandex images - name: yandex images
engine: yandex engine: yandex
network: yandex
categories: images categories: images
search_type: images search_type: images
shortcut: ydi shortcut: ydi
disabled: true disabled: true
inactive: true
- name: yandex music - name: yandex music
engine: yandex_music engine: yandex_music
network: yandex
shortcut: ydm shortcut: ydm
disabled: true disabled: true
# https://yandex.com/support/music/access.html # https://yandex.com/support/music/access.html
inactive: true
- name: yahoo - name: yahoo
engine: yahoo engine: yahoo
@@ -2298,31 +2212,27 @@ engines:
- name: wikicommons.images - name: wikicommons.images
engine: wikicommons engine: wikicommons
shortcut: wc shortcut: wci
categories: images categories: images
search_type: images wc_search_type: image
number_of_results: 10
- name: wikicommons.videos - name: wikicommons.videos
engine: wikicommons engine: wikicommons
shortcut: wcv shortcut: wcv
categories: videos categories: videos
search_type: videos wc_search_type: video
number_of_results: 10
- name: wikicommons.audio - name: wikicommons.audio
engine: wikicommons engine: wikicommons
shortcut: wca shortcut: wca
categories: music categories: music
search_type: audio wc_search_type: audio
number_of_results: 10
- name: wikicommons.files - name: wikicommons.files
engine: wikicommons engine: wikicommons
shortcut: wcf shortcut: wcf
categories: files categories: files
search_type: files wc_search_type: file
number_of_results: 10
- name: wolframalpha - name: wolframalpha
shortcut: wa shortcut: wa
@@ -2681,43 +2591,10 @@ engines:
- name: sourcehut - name: sourcehut
shortcut: srht shortcut: srht
engine: xpath engine: sourcehut
paging: true # https://docs.searxng.org/dev/engines/online/sourcehut.html
search_url: https://sr.ht/projects?page={pageno}&search={query} # sourcehut_sort_order: longest-active
results_xpath: (//div[@class="event-list"])[1]/div[@class="event"]
url_xpath: ./h4/a[2]/@href
title_xpath: ./h4/a[2]
content_xpath: ./p
first_page_num: 1
categories: [it, repos]
disabled: true disabled: true
about:
website: https://sr.ht
wikidata_id: Q78514485
official_api_documentation: https://man.sr.ht/
use_official_api: false
require_api_key: false
results: HTML
- name: goo
shortcut: goo
engine: xpath
paging: true
search_url: https://search.goo.ne.jp/web.jsp?MT={query}&FR={pageno}0
url_xpath: //div[@class="result"]/p[@class='title fsL1']/a/@href
title_xpath: //div[@class="result"]/p[@class='title fsL1']/a
content_xpath: //p[contains(@class,'url fsM')]/following-sibling::p
first_page_num: 0
categories: [general, web]
disabled: true
timeout: 4.0
about:
website: https://search.goo.ne.jp
wikidata_id: Q249044
use_official_api: false
require_api_key: false
results: HTML
language: ja
- name: bt4g - name: bt4g
engine: bt4g engine: bt4g
+3 -3
View File
@@ -2,15 +2,15 @@
"mcpServers": { "mcpServers": {
"context7": { "context7": {
"type": "streamable-http", "type": "streamable-http",
"url": "http://context7-mcp:8000/mcp" "url": "http://context7-mcp:8080/mcp"
}, },
"gitea": { "gitea": {
"type": "streamable-http", "type": "streamable-http",
"url": "http://gitea-mcp:8000/mcp" "url": "http://gitea-mcp:8080/mcp"
}, },
"searxng": { "searxng": {
"type": "streamable-http", "type": "streamable-http",
"url": "http://searxng-mcp:8000/mcp" "url": "http://searxng-mcp:3000/mcp"
}, },
"signoz": { "signoz": {
"type": "streamable-http", "type": "streamable-http",
+9 -9
View File
@@ -5,12 +5,12 @@ template_base_path: "{{ playbook_dir }}/app-configs"
vault_addr: "https://vault.trez.wtf" vault_addr: "https://vault.trez.wtf"
vault_token: !vault | vault_token: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
35303736333161356439393866306637366433336638633638323763656263346561656635626339 31626632653338353037663066643261383134343463313661396666363330623863306337333136
3264373965633564316365323166366637636535623163340a386366356630326233326434316165 3039653965666131653536656363336466393266653363630a306334393865613430303737636233
35633434643864653339313937656330626538343031313461373833636365363866393965613434 37303365396566306637643735383861633164336462663134363561666430613562323966353732
6366383839363737640a646331303039353639326239333737383137633036626436623166633935 6335353137303161390a303530333635636136393364386636663731353234633762376136316434
31363666633164326131356634626633336130666530323338616461383339333435393864393938 34366464363762633937613837393931363237376466616164363465363338343937623737376332
32393265366534326564333730323935313631306531633739623961333436336238653065336665 38336134393661303530613439343433336634653264663266653030346664316231636431313936
36656334303634363037666561353731633664306461353131663032376632626331303932343135 62396630376330353132303763333430346536323431623835343934323338303066356438396436
31383638623035373466623236346533326433653766613231396637306665373366636335646465 37306632616261363863313235336432656266656463333135333163333635356262373033323032
3739 3064
+1 -1
View File
@@ -1,2 +1,2 @@
appdata_base_path: /home/ovos/.config/docker appdata_base_path: /home/charish/.config/docker
secrets_path: benedikta-docker/env secrets_path: benedikta-docker/env
+1 -1
View File
@@ -2,7 +2,7 @@ all:
hosts: hosts:
benedikta: benedikta:
ansible_host: 192.168.1.250 ansible_host: 192.168.1.250
ansible_user: ovos ansible_user: charish
rikku: rikku:
ansible_host: 192.168.1.252 ansible_host: 192.168.1.252
ansible_user: pi ansible_user: pi