changed approach, got rid of settings.yml binding entirely
Some checks failed
Documentation / Release (push) Has been cancelled
Integration / Python 3.10 (push) Has been cancelled
Integration / Python 3.11 (push) Has been cancelled
Integration / Python 3.12 (push) Has been cancelled
Integration / Python 3.13 (push) Has been cancelled
Integration / Python 3.9 (push) Has been cancelled
Integration / Theme (push) Has been cancelled
Integration / Docker (push) Has been cancelled
Some checks failed
Documentation / Release (push) Has been cancelled
Integration / Python 3.10 (push) Has been cancelled
Integration / Python 3.11 (push) Has been cancelled
Integration / Python 3.12 (push) Has been cancelled
Integration / Python 3.13 (push) Has been cancelled
Integration / Python 3.9 (push) Has been cancelled
Integration / Theme (push) Has been cancelled
Integration / Docker (push) Has been cancelled
This commit is contained in:
parent
cf5dbbbc77
commit
c6f1156bc6
@ -5,5 +5,3 @@ services:
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${NEKOSEARCH_PORT}:8080"
|
||||
volumes:
|
||||
- ../nekosearch_config:/etc/searxng:ro
|
||||
|
||||
@ -2,7 +2,7 @@ general:
|
||||
# Debug mode, only for development. Is overwritten by ${SEARXNG_DEBUG}
|
||||
debug: false
|
||||
# displayed name
|
||||
instance_name: "SearXNG"
|
||||
instance_name: "nekosearch"
|
||||
# For example: https://example.com/privacy
|
||||
privacypolicy_url: false
|
||||
# use true to use your own donation page written in searx/info/en/donate.md
|
||||
@ -32,16 +32,16 @@ brand:
|
||||
|
||||
search:
|
||||
# Filter results. 0: None, 1: Moderate, 2: Strict
|
||||
safe_search: 0
|
||||
safe_search: 2
|
||||
# Existing autocomplete backends: "360search", "baidu", "brave", "dbpedia", "duckduckgo", "google", "yandex",
|
||||
# "mwmbl", "seznam", "sogou", "stract", "swisscows", "quark", "qwant", "wikipedia" -
|
||||
# "mwmbl", "seznam", "sogou", "stract", "swisscows", "qwant", "wikipedia" -
|
||||
# leave blank to turn it off by default.
|
||||
autocomplete: ""
|
||||
autocomplete: "duckduckgo"
|
||||
# minimun characters to type before autocompleter starts
|
||||
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: "duckduckgo"
|
||||
# Default search language - leave blank to detect from browser information or
|
||||
# use codes from 'languages.py'
|
||||
default_lang: "auto"
|
||||
@ -83,8 +83,8 @@ server:
|
||||
port: 8888
|
||||
bind_address: "127.0.0.1"
|
||||
# public URL of the instance, to ensure correct inbound links. Is overwritten
|
||||
# by ${SEARXNG_BASE_URL}.
|
||||
base_url: false # "http://example.com/location"
|
||||
# by ${SEARXNG_URL}.
|
||||
base_url: https://nekosear.ch # "http://example.com/location"
|
||||
# rate limit the number of request on the instance, block some bots.
|
||||
# Is overwritten by ${SEARXNG_LIMITER}
|
||||
limiter: false
|
||||
@ -95,14 +95,13 @@ server:
|
||||
# If your instance owns a /etc/searxng/settings.yml file, then set the following
|
||||
# values there.
|
||||
|
||||
secret_key: "ultrasecretkey" # Is overwritten by ${SEARXNG_SECRET}
|
||||
secret_key: "a9b0aafe71f3dbe131d66762f03e27ab02dfa409541184f3d34036926d7dd79e" # Is overwritten by ${SEARXNG_SECRET}
|
||||
# Proxy image results through SearXNG. Is overwritten by ${SEARXNG_IMAGE_PROXY}
|
||||
image_proxy: false
|
||||
# 1.0 and 1.1 are supported
|
||||
http_protocol_version: "1.0"
|
||||
# POST queries are more secure as they don't show up in history but may cause
|
||||
# problems when using Firefox containers.
|
||||
# Is overwritten by ${SEARXNG_METHOD}
|
||||
# problems when using Firefox containers
|
||||
method: "POST"
|
||||
default_http_headers:
|
||||
X-Content-Type-Options: nosniff
|
||||
@ -124,13 +123,13 @@ ui:
|
||||
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: false
|
||||
query_in_title: true
|
||||
# infinite_scroll: When true, automatically loads the next page when scrolling to bottom of the current page.
|
||||
infinite_scroll: false
|
||||
infinite_scroll: true
|
||||
# ui theme
|
||||
default_theme: simple
|
||||
# center the results ?
|
||||
center_alignment: false
|
||||
center_alignment: true
|
||||
# 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
|
||||
@ -140,7 +139,7 @@ ui:
|
||||
# results_on_new_tab: false
|
||||
theme_args:
|
||||
# style of simple theme: auto, light, dark
|
||||
simple_style: auto
|
||||
simple_style: dark
|
||||
# Perform search immediately if a category selected.
|
||||
# Disable to select multiple categories at once and start the search manually.
|
||||
search_on_category_select: true
|
||||
@ -152,7 +151,7 @@ ui:
|
||||
# Lock arbitrary settings on the preferences page.
|
||||
#
|
||||
# preferences:
|
||||
# lock:
|
||||
# lock:
|
||||
# - categories
|
||||
# - language
|
||||
# - autocomplete
|
||||
@ -208,8 +207,16 @@ outgoing:
|
||||
# are also supported: see
|
||||
# https://2.python-requests.org/en/latest/user/advanced/#socks
|
||||
#
|
||||
# proxies:
|
||||
# all://:
|
||||
proxies:
|
||||
all://:
|
||||
- http://38.33.146.13:2000
|
||||
- http://38.33.148.3:2000
|
||||
- http://38.38.254.150:2000
|
||||
- http://38.33.146.96:2000
|
||||
#https: http://192.168.1.78:8888
|
||||
#proxies:
|
||||
#all://:
|
||||
#- http://192.168.1.78:8888
|
||||
# - http://proxy1:8080
|
||||
# - http://proxy2:8080
|
||||
#
|
||||
@ -217,7 +224,7 @@ outgoing:
|
||||
#
|
||||
# Extra seconds to add in order to account for the time taken by the proxy
|
||||
#
|
||||
# extra_proxy_timeout: 10
|
||||
# extra_proxy_timeout: 20
|
||||
#
|
||||
# uncomment below section only if you have more than one network interface
|
||||
# which can be the source of outgoing search requests
|
||||
@ -227,38 +234,29 @@ outgoing:
|
||||
# - 1.1.1.2
|
||||
# - fe80::/126
|
||||
|
||||
# Plugin configuration, for more details see
|
||||
# External plugin configuration, for more details see
|
||||
# https://docs.searxng.org/admin/settings/settings_plugins.html
|
||||
#
|
||||
plugins:
|
||||
|
||||
searx.plugins.calculator.SXNGPlugin:
|
||||
active: true
|
||||
|
||||
searx.plugins.hash_plugin.SXNGPlugin:
|
||||
active: true
|
||||
|
||||
searx.plugins.self_info.SXNGPlugin:
|
||||
active: true
|
||||
|
||||
searx.plugins.unit_converter.SXNGPlugin:
|
||||
active: true
|
||||
|
||||
searx.plugins.ahmia_filter.SXNGPlugin:
|
||||
active: true
|
||||
|
||||
searx.plugins.hostnames.SXNGPlugin:
|
||||
active: true
|
||||
|
||||
searx.plugins.oa_doi_rewrite.SXNGPlugin:
|
||||
active: false
|
||||
|
||||
searx.plugins.tor_check.SXNGPlugin:
|
||||
active: false
|
||||
|
||||
searx.plugins.tracker_url_remover.SXNGPlugin:
|
||||
active: false
|
||||
# plugins:
|
||||
# - mypackage.mymodule.MyPlugin
|
||||
# - mypackage.mymodule.MyOtherPlugin
|
||||
# - ...
|
||||
|
||||
# Comment or un-comment plugin to activate / deactivate by default.
|
||||
# https://docs.searxng.org/admin/settings/settings_plugins.html
|
||||
#
|
||||
# enabled_plugins:
|
||||
# # these plugins are enabled if nothing is configured ..
|
||||
# - 'Basic Calculator'
|
||||
# - 'Hash plugin'
|
||||
# - 'Self Information'
|
||||
# - 'Tracker URL remover'
|
||||
# - 'Unit converter plugin'
|
||||
# - 'Ahmia blacklist' # activation depends on outgoing.using_tor_proxy
|
||||
# # these plugins are disabled if nothing is configured ..
|
||||
# - 'Hostnames plugin' # see 'hostnames' configuration below
|
||||
# - 'Open Access DOI rewrite'
|
||||
# - 'Tor check plugin'
|
||||
|
||||
# Configuration of the "Hostnames plugin":
|
||||
#
|
||||
@ -362,11 +360,6 @@ engines:
|
||||
shortcut: 9g
|
||||
disabled: true
|
||||
|
||||
- name: acfun
|
||||
engine: acfun
|
||||
shortcut: acf
|
||||
disabled: true
|
||||
|
||||
- name: adobe stock
|
||||
engine: adobe_stock
|
||||
shortcut: asi
|
||||
@ -434,11 +427,6 @@ engines:
|
||||
disabled: true
|
||||
shortcut: aa
|
||||
|
||||
- name: ansa
|
||||
engine: ansa
|
||||
shortcut: ans
|
||||
disabled: true
|
||||
|
||||
# - name: annas articles
|
||||
# engine: annas_archive
|
||||
# shortcut: aaa
|
||||
@ -495,6 +483,7 @@ engines:
|
||||
engine: artic
|
||||
shortcut: arc
|
||||
timeout: 4.0
|
||||
disabled: true
|
||||
|
||||
- name: arxiv
|
||||
engine: arxiv
|
||||
@ -516,27 +505,6 @@ engines:
|
||||
shortcut: bc
|
||||
categories: music
|
||||
|
||||
- name: baidu
|
||||
baidu_category: general
|
||||
categories: [general]
|
||||
engine: baidu
|
||||
shortcut: bd
|
||||
disabled: true
|
||||
|
||||
- name: baidu images
|
||||
baidu_category: images
|
||||
categories: [images]
|
||||
engine: baidu
|
||||
shortcut: bdi
|
||||
disabled: true
|
||||
|
||||
- name: baidu kaifa
|
||||
baidu_category: it
|
||||
categories: [it]
|
||||
engine: baidu
|
||||
shortcut: bdk
|
||||
disabled: true
|
||||
|
||||
- name: wikipedia
|
||||
engine: wikipedia
|
||||
shortcut: wp
|
||||
@ -552,7 +520,6 @@ engines:
|
||||
- name: bing
|
||||
engine: bing
|
||||
shortcut: bi
|
||||
disabled: true
|
||||
|
||||
- name: bing images
|
||||
engine: bing_images
|
||||
@ -566,11 +533,6 @@ engines:
|
||||
engine: bing_videos
|
||||
shortcut: biv
|
||||
|
||||
- name: bitchute
|
||||
engine: bitchute
|
||||
shortcut: bit
|
||||
disabled: true
|
||||
|
||||
- name: bitbucket
|
||||
engine: xpath
|
||||
paging: true
|
||||
@ -619,38 +581,6 @@ engines:
|
||||
# to show premium or plus results too:
|
||||
# skip_premium: false
|
||||
|
||||
# WARNING: links from chinaso.com voilate users privacy
|
||||
# Before activate these engines its mandatory to read
|
||||
# - https://github.com/searxng/searxng/issues/4694
|
||||
# - https://docs.searxng.org/dev/engines/online/chinaso.html
|
||||
|
||||
- name: chinaso news
|
||||
engine: chinaso
|
||||
shortcut: chinaso
|
||||
categories: [news]
|
||||
chinaso_category: news
|
||||
chinaso_news_source: all
|
||||
disabled: true
|
||||
inactive: true
|
||||
|
||||
- name: chinaso images
|
||||
engine: chinaso
|
||||
network: chinaso news
|
||||
shortcut: chinasoi
|
||||
categories: [images]
|
||||
chinaso_category: images
|
||||
disabled: true
|
||||
inactive: true
|
||||
|
||||
- name: chinaso videos
|
||||
engine: chinaso
|
||||
network: chinaso news
|
||||
shortcut: chinasov
|
||||
categories: [videos]
|
||||
chinaso_category: videos
|
||||
disabled: true
|
||||
inactive: true
|
||||
|
||||
- name: cloudflareai
|
||||
engine: cloudflareai
|
||||
shortcut: cfai
|
||||
@ -725,6 +655,26 @@ engines:
|
||||
search_type: news
|
||||
disabled: true
|
||||
|
||||
- name: curlie
|
||||
engine: xpath
|
||||
shortcut: cl
|
||||
categories: general
|
||||
disabled: true
|
||||
paging: true
|
||||
lang_all: ''
|
||||
search_url: https://curlie.org/search?q={query}&lang={lang}&start={pageno}&stime=92452189
|
||||
page_size: 20
|
||||
results_xpath: //div[@id="site-list-content"]/div[@class="site-item"]
|
||||
url_xpath: ./div[@class="title-and-desc"]/a/@href
|
||||
title_xpath: ./div[@class="title-and-desc"]/a/div
|
||||
content_xpath: ./div[@class="title-and-desc"]/div[@class="site-descr"]
|
||||
about:
|
||||
website: https://curlie.org/
|
||||
wikidata_id: Q60715723
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name: currency
|
||||
engine: currency_convert
|
||||
categories: general
|
||||
@ -744,6 +694,7 @@ engines:
|
||||
engine: deviantart
|
||||
shortcut: da
|
||||
timeout: 3.0
|
||||
disabled: true
|
||||
|
||||
- name: ddg definitions
|
||||
engine: duckduckgo_definitions
|
||||
@ -803,18 +754,17 @@ engines:
|
||||
results: HTML
|
||||
|
||||
# - name: elasticsearch
|
||||
# shortcut: els
|
||||
# shortcut: es
|
||||
# engine: elasticsearch
|
||||
# base_url: http://localhost:9200
|
||||
# username: elastic
|
||||
# password: changeme
|
||||
# index: my-index
|
||||
# enable_http: true
|
||||
# # available options: match, simple_query_string, term, terms, custom
|
||||
# query_type: match
|
||||
# # if query_type is set to custom, provide your query here
|
||||
# # custom_query_json: {"query":{"match_all": {}}}
|
||||
# # show_metadata: false
|
||||
# #custom_query_json: {"query":{"match_all": {}}}
|
||||
# #show_metadata: false
|
||||
# disabled: true
|
||||
|
||||
- name: wikidata
|
||||
@ -925,6 +875,7 @@ engines:
|
||||
# api_key: 'apikey' # required!
|
||||
# Or you can use the html non-stable engine, activated by default
|
||||
engine: flickr_noapi
|
||||
disabled: true
|
||||
|
||||
- name: free software directory
|
||||
engine: mediawiki
|
||||
@ -1013,11 +964,11 @@ engines:
|
||||
engine: goodreads
|
||||
shortcut: good
|
||||
timeout: 4.0
|
||||
disabled: true
|
||||
|
||||
- name: google
|
||||
engine: google
|
||||
shortcut: go
|
||||
disabled: true
|
||||
# additional_tests:
|
||||
# android: *test_android
|
||||
|
||||
@ -1126,27 +1077,6 @@ engines:
|
||||
require_api_key: false
|
||||
results: JSON
|
||||
|
||||
- name: il post
|
||||
engine: il_post
|
||||
shortcut: pst
|
||||
|
||||
- name: huggingface
|
||||
engine: huggingface
|
||||
shortcut: hf
|
||||
disabled: true
|
||||
|
||||
- name: huggingface datasets
|
||||
huggingface_endpoint: datasets
|
||||
engine: huggingface
|
||||
shortcut: hfd
|
||||
disabled: true
|
||||
|
||||
- name: huggingface spaces
|
||||
huggingface_endpoint: spaces
|
||||
engine: huggingface
|
||||
shortcut: hfs
|
||||
disabled: true
|
||||
|
||||
- name: imdb
|
||||
engine: imdb
|
||||
shortcut: imdb
|
||||
@ -1180,11 +1110,6 @@ engines:
|
||||
shortcut: ip
|
||||
disabled: true
|
||||
|
||||
- name: iqiyi
|
||||
engine: iqiyi
|
||||
shortcut: iq
|
||||
disabled: true
|
||||
|
||||
- name: jisho
|
||||
engine: jisho
|
||||
shortcut: js
|
||||
@ -1333,19 +1258,12 @@ engines:
|
||||
disabled: true
|
||||
number_of_results: 20
|
||||
|
||||
# https://docs.searxng.org/dev/engines/offline/search-indexer-engines.html#module-searx.engines.meilisearch
|
||||
# - name: meilisearch
|
||||
# engine: meilisearch
|
||||
# shortcut: mes
|
||||
# enable_http: true
|
||||
# base_url: http://localhost:7700
|
||||
# index: my-index
|
||||
# auth_key: Bearer XXXX
|
||||
|
||||
- name: microsoft learn
|
||||
engine: microsoft_learn
|
||||
shortcut: msl
|
||||
disabled: true
|
||||
|
||||
- name: mixcloud
|
||||
engine: mixcloud
|
||||
@ -1382,11 +1300,6 @@ engines:
|
||||
shortcut: mwm
|
||||
disabled: true
|
||||
|
||||
- name: niconico
|
||||
engine: niconico
|
||||
shortcut: nico
|
||||
disabled: true
|
||||
|
||||
- name: npm
|
||||
engine: npm
|
||||
shortcut: npm
|
||||
@ -1414,32 +1327,20 @@ engines:
|
||||
require_api_key: false
|
||||
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
|
||||
# read https://docs.searxng.org/dev/engines/online/mullvad_leta.html
|
||||
# - name: mullvadleta
|
||||
# engine: mullvad_leta
|
||||
# leta_engine: google # choose one of the following: google, brave
|
||||
# use_cache: true # Only 100 non-cache searches per day, suggested only for private instances
|
||||
# search_url: https://leta.mullvad.net
|
||||
# categories: [general, web]
|
||||
# shortcut: ml
|
||||
|
||||
- name: odysee
|
||||
engine: odysee
|
||||
shortcut: od
|
||||
disabled: true
|
||||
|
||||
- name: ollama
|
||||
engine: ollama
|
||||
shortcut: ollama
|
||||
disabled: true
|
||||
|
||||
- name: openairedatasets
|
||||
engine: json_engine
|
||||
paging: true
|
||||
@ -1701,24 +1602,11 @@ engines:
|
||||
shortcut: pypi
|
||||
engine: pypi
|
||||
|
||||
- name: quark
|
||||
quark_category: general
|
||||
categories: [general]
|
||||
engine: quark
|
||||
shortcut: qk
|
||||
disabled: true
|
||||
|
||||
- name: quark images
|
||||
quark_category: images
|
||||
categories: [images]
|
||||
engine: quark
|
||||
shortcut: qki
|
||||
disabled: true
|
||||
|
||||
- name: qwant
|
||||
qwant_categ: web
|
||||
engine: qwant
|
||||
shortcut: qw
|
||||
disabled: true
|
||||
categories: [general, web]
|
||||
additional_tests:
|
||||
rosebud: *test_rosebud
|
||||
@ -1776,12 +1664,6 @@ engines:
|
||||
page_size: 25
|
||||
disabled: true
|
||||
|
||||
- name: reuters
|
||||
engine: reuters
|
||||
shortcut: reu
|
||||
# https://docs.searxng.org/dev/engines/online/reuters.html
|
||||
# sort_order = "relevance"
|
||||
|
||||
- name: right dao
|
||||
engine: xpath
|
||||
paging: true
|
||||
@ -1836,12 +1718,6 @@ engines:
|
||||
about:
|
||||
website: https://searchmysite.net
|
||||
|
||||
- name: selfhst icons
|
||||
engine: selfhst
|
||||
shortcut: si
|
||||
inactive: true
|
||||
disabled: true
|
||||
|
||||
- name: sepiasearch
|
||||
engine: sepiasearch
|
||||
shortcut: sep
|
||||
@ -1972,10 +1848,6 @@ engines:
|
||||
startpage_categ: images
|
||||
categories: [images, web]
|
||||
shortcut: spi
|
||||
|
||||
- name: steam
|
||||
engine: steam
|
||||
shortcut: stm
|
||||
disabled: true
|
||||
|
||||
- name: tokyotoshokan
|
||||
@ -1995,15 +1867,15 @@ engines:
|
||||
# For this demo of the sqlite engine download:
|
||||
# https://liste.mediathekview.de/filmliste-v2.db.bz2
|
||||
# and unpack into searx/data/filmliste-v2.db
|
||||
# Query to test: "!mediathekview concert"
|
||||
# Query to test: "!demo concert"
|
||||
#
|
||||
# - name: mediathekview
|
||||
# - name: demo
|
||||
# engine: sqlite
|
||||
# shortcut: mediathekview
|
||||
# categories: [general, videos]
|
||||
# result_type: MainResult
|
||||
# shortcut: demo
|
||||
# categories: general
|
||||
# result_template: default.html
|
||||
# database: searx/data/filmliste-v2.db
|
||||
# query_str: >-
|
||||
# query_str: >-
|
||||
# SELECT title || ' (' || time(duration, 'unixepoch') || ')' AS title,
|
||||
# COALESCE( NULLIF(url_video_hd,''), NULLIF(url_video_sd,''), url_video) AS url,
|
||||
# description AS content
|
||||
@ -2137,7 +2009,6 @@ engines:
|
||||
content_query: Snippet
|
||||
categories: [general, web]
|
||||
shortcut: wib
|
||||
disabled: true
|
||||
about:
|
||||
website: https://wiby.me/
|
||||
|
||||
@ -2346,8 +2217,8 @@ engines:
|
||||
- name: mojeek
|
||||
shortcut: mjk
|
||||
engine: mojeek
|
||||
categories: [general, web]
|
||||
disabled: true
|
||||
categories: [general, web]
|
||||
|
||||
- name: mojeek images
|
||||
shortcut: mjkimg
|
||||
@ -2381,7 +2252,6 @@ engines:
|
||||
content_xpath: //div[@class="total_dsc_wrap"]/a
|
||||
first_page_num: 1
|
||||
page_size: 10
|
||||
disabled: true
|
||||
about:
|
||||
website: https://www.naver.com/
|
||||
wikidata_id: Q485639
|
||||
@ -2670,12 +2540,6 @@ engines:
|
||||
shortcut: pgo
|
||||
disabled: true
|
||||
|
||||
- name: senscritique
|
||||
engine: senscritique
|
||||
shortcut: scr
|
||||
timeout: 4.0
|
||||
disabled: true
|
||||
|
||||
# Doku engine lets you access to any Doku wiki instance:
|
||||
# A public one or a privete/corporate one.
|
||||
# - name: ubuntuwiki
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user