Reviewed-on: #3
This commit is contained in:
parent
b24dc7fbab
commit
a540ba7854
2
.env
2
.env
@ -1,2 +1,2 @@
|
||||
PROD_URL=searx.gmoker.com
|
||||
IMAGEAPP=docker.io/searxng/searxng:2024.7.29-98c73010f
|
||||
IMAGEAPP=docker.io/searxng/searxng:2024.9.26-6a3375be3
|
||||
|
@ -15,7 +15,6 @@ jobs:
|
||||
fi
|
||||
cat <<EOF >> .env
|
||||
BASE_URL="$BASE_URL"
|
||||
REF_NAME="${{ gitea.ref_name }}"
|
||||
EOF
|
||||
cat .env
|
||||
|
||||
|
@ -214,13 +214,13 @@ outgoing:
|
||||
#
|
||||
enabled_plugins:
|
||||
# these plugins are enabled if nothing is configured ..
|
||||
- 'Basic Calculator'
|
||||
- 'Hash plugin'
|
||||
- 'Self Information'
|
||||
- 'Tracker URL remover'
|
||||
- 'Ahmia blacklist' # activation depends on outgoing.using_tor_proxy
|
||||
# # these plugins are disabled if nothing is configured ..
|
||||
- 'Hostnames plugin' # see 'hostnames' configuration below
|
||||
- 'Basic Calculator'
|
||||
# - 'Open Access DOI rewrite'
|
||||
# - 'Tor check plugin'
|
||||
# # Read the docs before activate: auto-detection of the language could be
|
||||
@ -457,6 +457,23 @@ engines:
|
||||
# to show premium or plus results too:
|
||||
# skip_premium: false
|
||||
|
||||
- name: cloudflareai
|
||||
engine: cloudflareai
|
||||
shortcut: cfai
|
||||
# get api token and accont id from https://developers.cloudflare.com/workers-ai/get-started/rest-api/
|
||||
cf_account_id: 'your_cf_accout_id'
|
||||
cf_ai_api: 'your_cf_api'
|
||||
# create your ai gateway by https://developers.cloudflare.com/ai-gateway/get-started/creating-gateway/
|
||||
cf_ai_gateway: 'your_cf_ai_gateway_name'
|
||||
# find the model name from https://developers.cloudflare.com/workers-ai/models/#text-generation
|
||||
cf_ai_model: 'ai_model_name'
|
||||
# custom your preferences
|
||||
# cf_ai_model_display_name: 'Cloudflare AI'
|
||||
# cf_ai_model_assistant: 'prompts_for_assistant_role'
|
||||
# cf_ai_model_system: 'prompts_for_system_role'
|
||||
timeout: 30
|
||||
disabled: true
|
||||
|
||||
# - name: core.ac.uk
|
||||
# engine: core
|
||||
# categories: science
|
||||
@ -537,33 +554,6 @@ engines:
|
||||
categories: general
|
||||
shortcut: cc
|
||||
|
||||
- name: bahnhof
|
||||
engine: json_engine
|
||||
search_url: https://www.bahnhof.de/api/stations/search/{query}
|
||||
url_prefix: https://www.bahnhof.de/
|
||||
url_query: slug
|
||||
title_query: name
|
||||
content_query: state
|
||||
shortcut: bf
|
||||
disabled: true
|
||||
about:
|
||||
website: https://www.bahn.de
|
||||
wikidata_id: Q22811603
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: JSON
|
||||
language: de
|
||||
tests:
|
||||
bahnhof:
|
||||
matrix:
|
||||
query: berlin
|
||||
lang: en
|
||||
result_container:
|
||||
- not_empty
|
||||
- ['one_title_contains', 'Berlin Hauptbahnhof']
|
||||
test:
|
||||
- unique_results
|
||||
|
||||
- name: deezer
|
||||
engine: deezer
|
||||
shortcut: dz
|
||||
@ -805,24 +795,21 @@ engines:
|
||||
timeout: 10
|
||||
|
||||
- name: gitlab
|
||||
engine: json_engine
|
||||
paging: true
|
||||
search_url: https://gitlab.com/api/v4/projects?search={query}&page={pageno}
|
||||
url_query: web_url
|
||||
title_query: name_with_namespace
|
||||
content_query: description
|
||||
page_size: 20
|
||||
categories: [it, repos]
|
||||
engine: gitlab
|
||||
base_url: https://gitlab.com
|
||||
shortcut: gl
|
||||
timeout: 10.0
|
||||
disabled: true
|
||||
about:
|
||||
website: https://about.gitlab.com/
|
||||
website: https://gitlab.com/
|
||||
wikidata_id: Q16639197
|
||||
official_api_documentation: https://docs.gitlab.com/ee/api/
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: JSON
|
||||
|
||||
# - name: gnome
|
||||
# engine: gitlab
|
||||
# base_url: https://gitlab.gnome.org
|
||||
# shortcut: gn
|
||||
# about:
|
||||
# website: https://gitlab.gnome.org
|
||||
# wikidata_id: Q44316
|
||||
|
||||
- name: github
|
||||
engine: github
|
||||
@ -901,26 +888,6 @@ engines:
|
||||
shortcut: mi
|
||||
disabled: true
|
||||
|
||||
- name: gpodder
|
||||
engine: json_engine
|
||||
shortcut: gpod
|
||||
timeout: 4.0
|
||||
paging: false
|
||||
search_url: https://gpodder.net/search.json?q={query}
|
||||
url_query: url
|
||||
title_query: title
|
||||
content_query: description
|
||||
page_size: 19
|
||||
categories: music
|
||||
disabled: true
|
||||
about:
|
||||
website: https://gpodder.net
|
||||
wikidata_id: Q3093354
|
||||
official_api_documentation: https://gpoddernet.readthedocs.io/en/latest/api/
|
||||
use_official_api: false
|
||||
requires_api_key: false
|
||||
results: JSON
|
||||
|
||||
- name: habrahabr
|
||||
engine: xpath
|
||||
paging: true
|
||||
@ -1544,6 +1511,25 @@ engines:
|
||||
engine: reddit
|
||||
shortcut: re
|
||||
page_size: 25
|
||||
disabled: true
|
||||
|
||||
- name: right dao
|
||||
engine: xpath
|
||||
paging: true
|
||||
page_size: 12
|
||||
search_url: https://rightdao.com/search?q={query}&start={pageno}
|
||||
results_xpath: //div[contains(@class, "description")]
|
||||
url_xpath: ../div[contains(@class, "title")]/a/@href
|
||||
title_xpath: ../div[contains(@class, "title")]
|
||||
content_xpath: .
|
||||
categories: general
|
||||
shortcut: rd
|
||||
disabled: true
|
||||
about:
|
||||
website: https://rightdao.com/
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name: rottentomatoes
|
||||
engine: rottentomatoes
|
||||
@ -1784,6 +1770,22 @@ engines:
|
||||
engine: unsplash
|
||||
shortcut: us
|
||||
|
||||
- name: yandex
|
||||
engine: yandex
|
||||
categories: general
|
||||
search_type: web
|
||||
shortcut: yd
|
||||
disabled: true
|
||||
inactive: true
|
||||
|
||||
- name: yandex images
|
||||
engine: yandex
|
||||
categories: images
|
||||
search_type: images
|
||||
shortcut: ydi
|
||||
disabled: true
|
||||
inactive: true
|
||||
|
||||
- name: yandex music
|
||||
engine: yandex_music
|
||||
shortcut: ydm
|
||||
@ -1833,25 +1835,6 @@ engines:
|
||||
about:
|
||||
website: https://wiby.me/
|
||||
|
||||
- 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: wikibooks
|
||||
engine: mediawiki
|
||||
weight: 0.5
|
||||
|
@ -6,7 +6,7 @@ metadata:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
gethomepage.dev/enabled: "true"
|
||||
gethomepage.dev/instance: "$REF_NAME"
|
||||
gethomepage.dev/instance: "$GITHUB_REF_NAME"
|
||||
gethomepage.dev/name: SearXNG
|
||||
gethomepage.dev/icon: searxng
|
||||
gethomepage.dev/description: Metasearch engine
|
||||
|
Loading…
Reference in New Issue
Block a user