settings.yml 54 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011
  1. general:
  2. # Debug mode, only for development
  3. debug: false
  4. # displayed name
  5. instance_name: "SearXNG"
  6. # For example: https://example.com/privacy
  7. privacypolicy_url: false
  8. # use true to use your own donation page written in searx/info/en/donate.md
  9. # use false to disable the donation link
  10. donation_url: https://docs.searxng.org/donate.html
  11. # mailto:contact@example.com
  12. contact_url: false
  13. # record stats
  14. enable_metrics: true
  15. brand:
  16. new_issue_url: https://github.com/searxng/searxng/issues/new
  17. docs_url: https://docs.searxng.org/
  18. public_instances: https://searx.space
  19. wiki_url: https://github.com/searxng/searxng/wiki
  20. issue_url: https://github.com/searxng/searxng/issues
  21. search:
  22. # Filter results. 0: None, 1: Moderate, 2: Strict
  23. safe_search: 0
  24. # Existing autocomplete backends: "dbpedia", "duckduckgo", "google",
  25. # "seznam", "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off
  26. # by default.
  27. autocomplete: ""
  28. # minimun characters to type before autocompleter starts
  29. autocomplete_min: 4
  30. # Default search language - leave blank to detect from browser information or
  31. # use codes from 'languages.py'
  32. default_lang: ""
  33. # Available languages
  34. # languages:
  35. # - all
  36. # - en
  37. # - en-US
  38. # - de
  39. # - it-IT
  40. # - fr
  41. # - fr-BE
  42. # ban time in seconds after engine errors
  43. ban_time_on_fail: 5
  44. # max ban time in seconds after engine errors
  45. max_ban_time_on_fail: 120
  46. # remove format to deny access, use lower case.
  47. # formats: [html, csv, json, rss]
  48. formats:
  49. - html
  50. server:
  51. # If you change port, bind_address or base_url don't forget to rebuild
  52. # instance's enviroment (make buildenv)
  53. port: 8888
  54. bind_address: "127.0.0.1"
  55. base_url: false # Possible values: false or "https://example.org/location".
  56. limiter: false # rate limit the number of request on the instance, block some bots
  57. # If your instance owns a /etc/searxng/settings.yml file, then set the following
  58. # values there.
  59. secret_key: "ultrasecretkey" # change this!
  60. # Proxying image results through searx
  61. image_proxy: false
  62. # 1.0 and 1.1 are supported
  63. http_protocol_version: "1.0"
  64. # POST queries are more secure as they don't show up in history but may cause
  65. # problems when using Firefox containers
  66. method: "POST"
  67. default_http_headers:
  68. X-Content-Type-Options: nosniff
  69. X-XSS-Protection: 1; mode=block
  70. X-Download-Options: noopen
  71. X-Robots-Tag: noindex, nofollow
  72. Referrer-Policy: no-referrer
  73. redis:
  74. # https://redis-py.readthedocs.io/en/stable/connections.html#redis.client.Redis.from_url
  75. url: unix:///usr/local/searxng-redis/run/redis.sock?db=0
  76. ui:
  77. # Custom static path - leave it blank if you didn't change
  78. static_path: ""
  79. static_use_hash: false
  80. # Custom templates path - leave it blank if you didn't change
  81. templates_path: ""
  82. # query_in_title: When true, the result page's titles contains the query
  83. # it decreases the privacy, since the browser can records the page titles.
  84. query_in_title: false
  85. # infinite_scroll: When true, automatically loads the next page when scrolling to bottom of the current page.
  86. infinite_scroll: false
  87. # ui theme
  88. default_theme: simple
  89. # center the results ?
  90. center_alignment: false
  91. # Default interface locale - leave blank to detect from browser information or
  92. # use codes from the 'locales' config section
  93. default_locale: ""
  94. # Open result links in a new tab by default
  95. # results_on_new_tab: false
  96. theme_args:
  97. # style of simple theme: auto, light, dark
  98. simple_style: auto
  99. # Lock arbitrary settings on the preferences page. To find the ID of the user
  100. # setting you want to lock, check the ID of the form on the page "preferences".
  101. #
  102. # preferences:
  103. # lock:
  104. # - language
  105. # - autocomplete
  106. # - method
  107. # - query_in_title
  108. # searx supports result proxification using an external service:
  109. # https://github.com/asciimoo/morty uncomment below section if you have running
  110. # morty proxy the key is base64 encoded (keep the !!binary notation)
  111. # Note: since commit af77ec3, morty accepts a base64 encoded key.
  112. #
  113. # result_proxy:
  114. # url: http://127.0.0.1:3000/
  115. # key: !!binary "your_morty_proxy_key"
  116. # # [true|false] enable the "proxy" button next to each result
  117. # proxify_results: true
  118. # communication with search engines
  119. #
  120. outgoing:
  121. # default timeout in seconds, can be override by engine
  122. request_timeout: 3.0
  123. # the maximum timeout in seconds
  124. # max_request_timeout: 10.0
  125. # suffix of searx_useragent, could contain informations like an email address
  126. # to the administrator
  127. useragent_suffix: ""
  128. # The maximum number of concurrent connections that may be established.
  129. pool_connections: 100
  130. # Allow the connection pool to maintain keep-alive connections below this
  131. # point.
  132. pool_maxsize: 20
  133. # See https://www.python-httpx.org/http2/
  134. enable_http2: true
  135. # uncomment below section if you want to use a proxyq see: SOCKS proxies
  136. # https://2.python-requests.org/en/latest/user/advanced/#proxies
  137. # are also supported: see
  138. # https://2.python-requests.org/en/latest/user/advanced/#socks
  139. #
  140. # proxies:
  141. # all://:
  142. # - http://proxy1:8080
  143. # - http://proxy2:8080
  144. #
  145. # using_tor_proxy: true
  146. #
  147. # Extra seconds to add in order to account for the time taken by the proxy
  148. #
  149. # extra_proxy_timeout: 10.0
  150. #
  151. # uncomment below section only if you have more than one network interface
  152. # which can be the source of outgoing search requests
  153. #
  154. # source_ips:
  155. # - 1.1.1.1
  156. # - 1.1.1.2
  157. # - fe80::/126
  158. # External plugin configuration, for more details see
  159. # https://docs.searxng.org/dev/plugins.html
  160. #
  161. # plugins:
  162. # - plugin1
  163. # - plugin2
  164. # - ...
  165. # Comment or un-comment plugin to activate / deactivate by default.
  166. #
  167. # enabled_plugins:
  168. # # these plugins are enabled if nothing is configured ..
  169. # - 'Hash plugin'
  170. # - 'Search on category select'
  171. # - 'Self Informations'
  172. # - 'Tracker URL remover'
  173. # - 'Ahmia blacklist' # activation depends on outgoing.using_tor_proxy
  174. # # these plugins are disabled if nothing is configured ..
  175. # - 'Hostname replace' # see hostname_replace configuration below
  176. # - 'Open Access DOI rewrite'
  177. # - 'Vim-like hotkeys'
  178. # - 'Tor check plugin'
  179. # Configuration of the "Hostname replace" plugin:
  180. #
  181. # hostname_replace:
  182. # '(.*\.)?youtube\.com$': 'invidious.example.com'
  183. # '(.*\.)?youtu\.be$': 'invidious.example.com'
  184. # '(.*\.)?youtube-noocookie\.com$': 'yotter.example.com'
  185. # '(.*\.)?reddit\.com$': 'teddit.example.com'
  186. # '(.*\.)?redd\.it$': 'teddit.example.com'
  187. # '(www\.)?twitter\.com$': 'nitter.example.com'
  188. # # to remove matching host names from result list, set value to false
  189. # 'spam\.example\.com': false
  190. checker:
  191. # disable checker when in debug mode
  192. off_when_debug: true
  193. # use "scheduling: false" to disable scheduling
  194. # scheduling: interval or int
  195. # to activate the scheduler:
  196. # * uncomment "scheduling" section
  197. # * add "cache2 = name=searxngcache,items=2000,blocks=2000,blocksize=4096,bitmap=1"
  198. # to your uwsgi.ini
  199. # scheduling:
  200. # start_after: [300, 1800] # delay to start the first run of the checker
  201. # every: [86400, 90000] # how often the checker runs
  202. # additional tests: only for the YAML anchors (see the engines section)
  203. #
  204. additional_tests:
  205. rosebud: &test_rosebud
  206. matrix:
  207. query: rosebud
  208. lang: en
  209. result_container:
  210. - not_empty
  211. - ['one_title_contains', 'citizen kane']
  212. test:
  213. - unique_results
  214. android: &test_android
  215. matrix:
  216. query: ['android']
  217. lang: ['en', 'de', 'fr', 'zh-CN']
  218. result_container:
  219. - not_empty
  220. - ['one_title_contains', 'google']
  221. test:
  222. - unique_results
  223. # tests: only for the YAML anchors (see the engines section)
  224. tests:
  225. infobox: &tests_infobox
  226. infobox:
  227. matrix:
  228. query: ["linux", "new york", "bbc"]
  229. result_container:
  230. - has_infobox
  231. categories_as_tabs:
  232. general:
  233. images:
  234. videos:
  235. news:
  236. map:
  237. music:
  238. it:
  239. science:
  240. files:
  241. social media:
  242. engines:
  243. - name: apk mirror
  244. engine: apkmirror
  245. timeout: 4.0
  246. shortcut: apkm
  247. disabled: true
  248. # Requires Tor
  249. - name: ahmia
  250. engine: ahmia
  251. categories: onions
  252. enable_http: true
  253. shortcut: ah
  254. - name: arch linux wiki
  255. engine: archlinux
  256. shortcut: al
  257. - name: archive is
  258. engine: xpath
  259. search_url: https://archive.is/search/?q={query}
  260. url_xpath: (//div[@class="TEXT-BLOCK"]/a)/@href
  261. title_xpath: (//div[@class="TEXT-BLOCK"]/a)
  262. content_xpath: //div[@class="TEXT-BLOCK"]/ul/li
  263. categories: general
  264. timeout: 7.0
  265. disabled: true
  266. shortcut: ai
  267. soft_max_redirects: 1
  268. about:
  269. website: https://archive.is/
  270. wikidata_id: Q13515725
  271. official_api_documentation: https://mementoweb.org/depot/native/archiveis/
  272. use_official_api: false
  273. require_api_key: false
  274. results: HTML
  275. - name: artic
  276. engine: artic
  277. shortcut: arc
  278. timeout: 4.0
  279. - name: arxiv
  280. engine: arxiv
  281. shortcut: arx
  282. categories: science
  283. timeout: 4.0
  284. # tmp suspended: dh key too small
  285. # - name: base
  286. # engine: base
  287. # shortcut: bs
  288. - name: bandcamp
  289. engine: bandcamp
  290. shortcut: bc
  291. categories: music
  292. - name: wikipedia
  293. engine: wikipedia
  294. shortcut: wp
  295. base_url: 'https://{language}.wikipedia.org/'
  296. - name: bing
  297. engine: bing
  298. shortcut: bi
  299. disabled: true
  300. - name: bing images
  301. engine: bing_images
  302. shortcut: bii
  303. - name: bing news
  304. engine: bing_news
  305. shortcut: bin
  306. - name: bing videos
  307. engine: bing_videos
  308. shortcut: biv
  309. - name: bitbucket
  310. engine: xpath
  311. paging: true
  312. search_url: https://bitbucket.org/repo/all/{pageno}?name={query}
  313. url_xpath: //article[@class="repo-summary"]//a[@class="repo-link"]/@href
  314. title_xpath: //article[@class="repo-summary"]//a[@class="repo-link"]
  315. content_xpath: //article[@class="repo-summary"]/p
  316. categories: [it, repos]
  317. timeout: 4.0
  318. disabled: true
  319. shortcut: bb
  320. about:
  321. website: https://bitbucket.org/
  322. wikidata_id: Q2493781
  323. official_api_documentation: https://developer.atlassian.com/bitbucket
  324. use_official_api: false
  325. require_api_key: false
  326. results: HTML
  327. - name: btdigg
  328. engine: btdigg
  329. shortcut: bt
  330. - name: ccc-tv
  331. engine: xpath
  332. paging: false
  333. search_url: https://media.ccc.de/search/?q={query}
  334. url_xpath: //div[@class="caption"]/h3/a/@href
  335. title_xpath: //div[@class="caption"]/h3/a/text()
  336. content_xpath: //div[@class="caption"]/h4/@title
  337. categories: videos
  338. disabled: true
  339. shortcut: c3tv
  340. about:
  341. website: https://media.ccc.de/
  342. wikidata_id: Q80729951
  343. official_api_documentation: https://github.com/voc/voctoweb
  344. use_official_api: false
  345. require_api_key: false
  346. results: HTML
  347. # We don't set language: de here because media.ccc.de is not just
  348. # for a German audience. It contains many English videos and many
  349. # German videos have English subtitles.
  350. - name: openverse
  351. engine: openverse
  352. categories: images
  353. shortcut: opv
  354. # - name: core.ac.uk
  355. # engine: core
  356. # categories: science
  357. # shortcut: cor
  358. # # get your API key from: https://core.ac.uk/api-keys/register/
  359. # api_key: 'unset'
  360. - name: crossref
  361. engine: json_engine
  362. paging: true
  363. search_url: https://search.crossref.org/dois?q={query}&page={pageno}
  364. url_query: doi
  365. title_query: title
  366. title_html_to_text: true
  367. content_query: fullCitation
  368. content_html_to_text: true
  369. categories: science
  370. shortcut: cr
  371. about:
  372. website: https://www.crossref.org/
  373. wikidata_id: Q5188229
  374. official_api_documentation: https://github.com/CrossRef/rest-api-doc
  375. use_official_api: false
  376. require_api_key: false
  377. results: JSON
  378. - name: yep
  379. engine: json_engine
  380. shortcut: yep
  381. categories: general
  382. disabled: true
  383. paging: false
  384. content_html_to_text: true
  385. title_html_to_text: true
  386. search_url: https://api.yep.com/fs/1/?type=web&q={query}&no_correct=false&limit=100
  387. results_query: 1/results
  388. title_query: title
  389. url_query: url
  390. content_query: snippet
  391. about:
  392. website: https://yep.com
  393. use_official_api: false
  394. require_api_key: false
  395. results: JSON
  396. - name: curlie
  397. engine: xpath
  398. shortcut: cl
  399. categories: general
  400. disabled: true
  401. paging: true
  402. lang_all: ''
  403. search_url: https://curlie.org/search?q={query}&lang={lang}&start={pageno}&stime=92452189
  404. page_size: 20
  405. results_xpath: //div[@id="site-list-content"]/div[@class="site-item"]
  406. url_xpath: ./div[@class="title-and-desc"]/a/@href
  407. title_xpath: ./div[@class="title-and-desc"]/a/div
  408. content_xpath: ./div[@class="title-and-desc"]/div[@class="site-descr"]
  409. about:
  410. website: https://curlie.org/
  411. wikidata_id: Q60715723
  412. use_official_api: false
  413. require_api_key: false
  414. results: HTML
  415. - name: currency
  416. engine: currency_convert
  417. categories: general
  418. shortcut: cc
  419. - name: deezer
  420. engine: deezer
  421. shortcut: dz
  422. disabled: true
  423. - name: deviantart
  424. engine: deviantart
  425. shortcut: da
  426. timeout: 3.0
  427. - name: ddg definitions
  428. engine: duckduckgo_definitions
  429. shortcut: ddd
  430. weight: 2
  431. disabled: true
  432. tests: *tests_infobox
  433. # cloudflare protected
  434. # - name: digbt
  435. # engine: digbt
  436. # shortcut: dbt
  437. # timeout: 6.0
  438. # disabled: true
  439. - name: docker hub
  440. engine: docker_hub
  441. shortcut: dh
  442. categories: [it, packages]
  443. - name: erowid
  444. engine: xpath
  445. paging: true
  446. first_page_num: 0
  447. page_size: 30
  448. search_url: https://www.erowid.org/search.php?q={query}&s={pageno}
  449. url_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
  450. title_xpath: //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
  451. content_xpath: //dl[@class="results-list"]/dd[@class="result-details"]
  452. categories: []
  453. shortcut: ew
  454. disabled: true
  455. about:
  456. website: https://www.erowid.org/
  457. wikidata_id: Q1430691
  458. official_api_documentation:
  459. use_official_api: false
  460. require_api_key: false
  461. results: HTML
  462. # - name: elasticsearch
  463. # shortcut: es
  464. # engine: elasticsearch
  465. # base_url: http://localhost:9200
  466. # username: elastic
  467. # password: changeme
  468. # index: my-index
  469. # # available options: match, simple_query_string, term, terms, custom
  470. # query_type: match
  471. # # if query_type is set to custom, provide your query here
  472. # #custom_query_json: {"query":{"match_all": {}}}
  473. # #show_metadata: false
  474. # disabled: true
  475. - name: wikidata
  476. engine: wikidata
  477. shortcut: wd
  478. timeout: 3.0
  479. weight: 2
  480. tests: *tests_infobox
  481. - name: duckduckgo
  482. engine: duckduckgo
  483. shortcut: ddg
  484. - name: duckduckgo images
  485. engine: duckduckgo_images
  486. shortcut: ddi
  487. timeout: 3.0
  488. disabled: true
  489. - name: emojipedia
  490. engine: emojipedia
  491. timeout: 4.0
  492. shortcut: em
  493. disabled: true
  494. - name: tineye
  495. engine: tineye
  496. shortcut: tin
  497. timeout: 9.0
  498. - name: etymonline
  499. engine: xpath
  500. paging: true
  501. search_url: https://etymonline.com/search?page={pageno}&q={query}
  502. url_xpath: //a[contains(@class, "word__name--")]/@href
  503. title_xpath: //a[contains(@class, "word__name--")]
  504. content_xpath: //section[contains(@class, "word__defination")]
  505. first_page_num: 1
  506. shortcut: et
  507. categories: [dictionaries]
  508. disabled: false
  509. about:
  510. website: https://www.etymonline.com/
  511. wikidata_id: Q1188617
  512. official_api_documentation:
  513. use_official_api: false
  514. require_api_key: false
  515. results: HTML
  516. # - name: ebay
  517. # engine: ebay
  518. # shortcut: eb
  519. # base_url: 'https://www.ebay.com'
  520. # disabled: true
  521. # timeout: 5
  522. - name: 1x
  523. engine: www1x
  524. shortcut: 1x
  525. timeout: 3.0
  526. disabled: true
  527. - name: fdroid
  528. engine: fdroid
  529. shortcut: fd
  530. disabled: true
  531. - name: flickr
  532. categories: images
  533. shortcut: fl
  534. # You can use the engine using the official stable API, but you need an API
  535. # key, see: https://www.flickr.com/services/apps/create/
  536. # engine: flickr
  537. # api_key: 'apikey' # required!
  538. # Or you can use the html non-stable engine, activated by default
  539. engine: flickr_noapi
  540. - name: free software directory
  541. engine: mediawiki
  542. shortcut: fsd
  543. categories: [it, software wikis]
  544. base_url: https://directory.fsf.org/
  545. number_of_results: 5
  546. # what part of a page matches the query string: title, text, nearmatch
  547. # * title - query matches title
  548. # * text - query matches the text of page
  549. # * nearmatch - nearmatch in title
  550. search_type: title
  551. timeout: 5.0
  552. disabled: true
  553. about:
  554. website: https://directory.fsf.org/
  555. wikidata_id: Q2470288
  556. # - name: freesound
  557. # engine: freesound
  558. # shortcut: fnd
  559. # disabled: true
  560. # timeout: 15.0
  561. # API key required, see: https://freesound.org/docs/api/overview.html
  562. # api_key: MyAPIkey
  563. - name: frinkiac
  564. engine: frinkiac
  565. shortcut: frk
  566. disabled: true
  567. - name: genius
  568. engine: genius
  569. shortcut: gen
  570. - name: gigablast
  571. engine: gigablast
  572. shortcut: gb
  573. timeout: 4.0
  574. disabled: true
  575. additional_tests:
  576. rosebud: *test_rosebud
  577. - name: gentoo
  578. engine: gentoo
  579. shortcut: ge
  580. - name: gitlab
  581. engine: json_engine
  582. paging: true
  583. search_url: https://gitlab.com/api/v4/projects?search={query}&page={pageno}
  584. url_query: web_url
  585. title_query: name_with_namespace
  586. content_query: description
  587. page_size: 20
  588. categories: [it, repos]
  589. shortcut: gl
  590. timeout: 10.0
  591. disabled: true
  592. about:
  593. website: https://about.gitlab.com/
  594. wikidata_id: Q16639197
  595. official_api_documentation: https://docs.gitlab.com/ee/api/
  596. use_official_api: false
  597. require_api_key: false
  598. results: JSON
  599. - name: github
  600. engine: github
  601. shortcut: gh
  602. # This a Gitea service. If you would like to use a different instance,
  603. # change codeberg.org to URL of the desired Gitea host. Or you can create a
  604. # new engine by copying this and changing the name, shortcut and search_url.
  605. - name: codeberg
  606. engine: json_engine
  607. search_url: https://codeberg.org/api/v1/repos/search?q={query}&limit=10
  608. url_query: html_url
  609. title_query: name
  610. content_query: description
  611. categories: [it, repos]
  612. shortcut: cb
  613. disabled: true
  614. about:
  615. website: https://codeberg.org/
  616. wikidata_id:
  617. official_api_documentation: https://try.gitea.io/api/swagger
  618. use_official_api: false
  619. require_api_key: false
  620. results: JSON
  621. - name: google
  622. engine: google
  623. shortcut: go
  624. # see https://docs.searxng.org/src/searx.engines.google.html#module-searx.engines.google
  625. use_mobile_ui: false
  626. # additional_tests:
  627. # android: *test_android
  628. # - name: google italian
  629. # engine: google
  630. # shortcut: goit
  631. # use_mobile_ui: false
  632. # language: it
  633. # - name: google mobile ui
  634. # engine: google
  635. # shortcut: gomui
  636. # use_mobile_ui: true
  637. - name: google images
  638. engine: google_images
  639. shortcut: goi
  640. # additional_tests:
  641. # android: *test_android
  642. # dali:
  643. # matrix:
  644. # query: ['Dali Christ']
  645. # lang: ['en', 'de', 'fr', 'zh-CN']
  646. # result_container:
  647. # - ['one_title_contains', 'Salvador']
  648. - name: google news
  649. engine: google_news
  650. shortcut: gon
  651. # additional_tests:
  652. # android: *test_android
  653. - name: google videos
  654. engine: google_videos
  655. shortcut: gov
  656. # additional_tests:
  657. # android: *test_android
  658. - name: google scholar
  659. engine: google_scholar
  660. shortcut: gos
  661. - name: google play apps
  662. engine: google_play_apps
  663. shortcut: gpa
  664. disabled: true
  665. - name: google play movies
  666. engine: xpath
  667. send_accept_language_header: true
  668. search_url: https://play.google.com/store/search?q={query}&c=movies
  669. results_xpath: '//div[@class="ImZGtf mpg5gc"]'
  670. title_xpath: './/div[@class="RZEgze"]//div[@class="kCSSQe"]//a'
  671. url_xpath: './/div[@class="RZEgze"]//div[@class="kCSSQe"]//a/@href'
  672. content_xpath: './/div[@class="kCSSQe"]'
  673. thumbnail_xpath: './/div[@class="uzcko"]/div/span[1]//img/@data-src'
  674. categories: videos
  675. shortcut: gpm
  676. disabled: true
  677. about:
  678. website: https://play.google.com/
  679. wikidata_id: Q79576
  680. official_api_documentation:
  681. use_official_api: false
  682. require_api_key: false
  683. results: HTML
  684. - name: gpodder
  685. engine: json_engine
  686. shortcut: gpod
  687. timeout: 4.0
  688. paging: false
  689. search_url: https://gpodder.net/search.json?q={query}
  690. url_query: url
  691. title_query: title
  692. content_query: description
  693. page_size: 19
  694. categories: music
  695. disabled: true
  696. about:
  697. website: https://gpodder.net
  698. wikidata_id: Q3093354
  699. official_api_documentation: https://gpoddernet.readthedocs.io/en/latest/api/
  700. use_official_api: false
  701. requires_api_key: false
  702. results: JSON
  703. - name: habrahabr
  704. engine: xpath
  705. paging: true
  706. search_url: https://habrahabr.ru/search/page{pageno}/?q={query}
  707. url_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]/@href
  708. title_xpath: //article[contains(@class, "post")]//a[@class="post__title_link"]
  709. content_xpath: //article[contains(@class, "post")]//div[contains(@class, "post__text")]
  710. categories: it
  711. timeout: 4.0
  712. disabled: true
  713. shortcut: habr
  714. about:
  715. website: https://habr.com/
  716. wikidata_id: Q4494434
  717. official_api_documentation: https://habr.com/en/docs/help/api/
  718. use_official_api: false
  719. require_api_key: false
  720. results: HTML
  721. - name: hoogle
  722. engine: xpath
  723. paging: true
  724. search_url: https://hoogle.haskell.org/?hoogle={query}&start={pageno}
  725. results_xpath: '//div[@class="result"]'
  726. title_xpath: './/div[@class="ans"]//a'
  727. url_xpath: './/div[@class="ans"]//a/@href'
  728. content_xpath: './/div[@class="from"]'
  729. page_size: 20
  730. categories: [it, packages]
  731. shortcut: ho
  732. about:
  733. website: https://hoogle.haskell.org/
  734. wikidata_id: Q34010
  735. official_api_documentation: https://hackage.haskell.org/api
  736. use_official_api: false
  737. require_api_key: false
  738. results: JSON
  739. - name: imdb
  740. engine: imdb
  741. shortcut: imdb
  742. timeout: 6.0
  743. disabled: true
  744. - name: ina
  745. engine: ina
  746. shortcut: in
  747. timeout: 6.0
  748. disabled: true
  749. - name: invidious
  750. engine: invidious
  751. # Instanes will be selected randomly, see https://api.invidious.io/ for
  752. # instances that are stable (good uptime) and close to you.
  753. base_url:
  754. - https://invidious.snopyta.org
  755. - https://vid.puffyan.us
  756. # - https://invidious.kavin.rocks # Error 1020 // Access denied by Cloudflare
  757. - https://invidio.xamh.de
  758. - https://inv.riverside.rocks
  759. shortcut: iv
  760. timeout: 3.0
  761. disabled: true
  762. - name: jisho
  763. engine: jisho
  764. shortcut: js
  765. timeout: 3.0
  766. disabled: true
  767. - name: kickass
  768. engine: kickass
  769. shortcut: kc
  770. timeout: 4.0
  771. disabled: true
  772. - name: library genesis
  773. engine: xpath
  774. search_url: https://libgen.fun/search.php?req={query}
  775. url_xpath: //a[contains(@href,"get.php?md5")]/@href
  776. title_xpath: //a[contains(@href,"book/")]/text()[1]
  777. content_xpath: //td/a[1][contains(@href,"=author")]/text()
  778. categories: files
  779. timeout: 7.0
  780. disabled: true
  781. shortcut: lg
  782. about:
  783. website: https://libgen.fun/
  784. wikidata_id: Q22017206
  785. official_api_documentation:
  786. use_official_api: false
  787. require_api_key: false
  788. results: HTML
  789. - name: z-library
  790. engine: zlibrary
  791. shortcut: zlib
  792. categories: files
  793. timeout: 3.0
  794. # choose base_url, otherwise engine will do it at initialization time
  795. # base_url: https://b-ok.cc
  796. # base_url: https://de1lib.org
  797. # base_url: https://booksc.eu # does not have cover preview
  798. # base_url: https://booksc.org # does not have cover preview
  799. - name: library of congress
  800. engine: loc
  801. shortcut: loc
  802. categories: images
  803. - name: lingva
  804. engine: lingva
  805. shortcut: lv
  806. # set lingva instance in url, by default it will use the official instance
  807. # url: https://lingva.ml
  808. - name: lobste.rs
  809. engine: xpath
  810. search_url: https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
  811. results_xpath: //li[contains(@class, "story")]
  812. url_xpath: .//a[@class="u-url"]/@href
  813. title_xpath: .//a[@class="u-url"]
  814. content_xpath: .//a[@class="domain"]
  815. categories: it
  816. shortcut: lo
  817. timeout: 5.0
  818. disabled: true
  819. about:
  820. website: https://lobste.rs/
  821. wikidata_id: Q60762874
  822. official_api_documentation:
  823. use_official_api: false
  824. require_api_key: false
  825. results: HTML
  826. - name: azlyrics
  827. shortcut: lyrics
  828. engine: xpath
  829. timeout: 4.0
  830. disabled: true
  831. categories: [music, lyrics]
  832. paging: true
  833. search_url: https://search.azlyrics.com/search.php?q={query}&w=lyrics&p={pageno}
  834. url_xpath: //td[@class="text-left visitedlyr"]/a/@href
  835. title_xpath: //span/b/text()
  836. content_xpath: //td[@class="text-left visitedlyr"]/a/small
  837. about:
  838. website: https://azlyrics.com
  839. wikidata_id: Q66372542
  840. official_api_documentation:
  841. use_official_api: false
  842. require_api_key: false
  843. results: HTML
  844. # - name: meilisearch
  845. # engine: meilisearch
  846. # shortcut: mes
  847. # enable_http: true
  848. # base_url: http://localhost:7700
  849. # index: my-index
  850. - name: mixcloud
  851. engine: mixcloud
  852. shortcut: mc
  853. # MongoDB engine
  854. # Required dependency: pymongo
  855. # - name: mymongo
  856. # engine: mongodb
  857. # shortcut: md
  858. # exact_match_only: false
  859. # host: '127.0.0.1'
  860. # port: 27017
  861. # enable_http: true
  862. # results_per_page: 20
  863. # database: 'business'
  864. # collection: 'reviews' # name of the db collection
  865. # key: 'name' # key in the collection to search for
  866. - name: neeva
  867. engine: xpath
  868. shortcut: nv
  869. time_range_support: true
  870. time_range_url: '&alf%5Bfreshness%5D={time_range_val}'
  871. time_range_map:
  872. day: 'Day'
  873. week: 'Week'
  874. month: 'Month'
  875. year: 'Year'
  876. search_url: https://neeva.com/search?q={query}&c=All&src=Pagination&page={pageno}{time_range}
  877. results_xpath: //div[@class="web-index__component-2rKiM"] | //li[@class="web-rich-deep-links__deepLink-SIbD4"]
  878. url_xpath: .//a[@class="lib-doc-title__link-1b9rC"]/@href | ./h2/a/@href
  879. title_xpath: .//a[@class="lib-doc-title__link-1b9rC"] | ./h2/a
  880. content_xpath: >
  881. .//div[@class="lib-doc-snippet__component-3ewW6"]/text() |
  882. .//div[@class="lib-doc-snippet__component-3ewW6"]/*[not(self::a)] |
  883. ./p
  884. content_html_to_text: true
  885. suggestion_xpath: //span[@class="result-related-searches__link-2ho_u"]
  886. paging: true
  887. disabled: true
  888. categories: [general, web]
  889. timeout: 5.0
  890. soft_max_redirects: 2
  891. about:
  892. website: https://neeva.com
  893. official_api_documentation:
  894. use_official_api: false
  895. require_api_key: false
  896. results: HTML
  897. - name: npm
  898. engine: json_engine
  899. paging: true
  900. first_page_num: 0
  901. search_url: https://api.npms.io/v2/search?q={query}&size=25&from={pageno}
  902. results_query: results
  903. url_query: package/links/npm
  904. title_query: package/name
  905. content_query: package/description
  906. page_size: 25
  907. categories: [it, packages]
  908. disabled: true
  909. timeout: 5.0
  910. shortcut: npm
  911. about:
  912. website: https://npms.io/
  913. wikidata_id: Q7067518
  914. official_api_documentation: https://api-docs.npms.io/
  915. use_official_api: false
  916. require_api_key: false
  917. results: JSON
  918. - name: nyaa
  919. engine: nyaa
  920. shortcut: nt
  921. disabled: true
  922. - name: mankier
  923. engine: json_engine
  924. search_url: https://www.mankier.com/api/v2/mans/?q={query}
  925. results_query: results
  926. url_query: url
  927. title_query: name
  928. content_query: description
  929. categories: it
  930. shortcut: man
  931. about:
  932. website: https://www.mankier.com/
  933. official_api_documentation: https://www.mankier.com/api
  934. use_official_api: true
  935. require_api_key: false
  936. results: JSON
  937. - name: openairedatasets
  938. engine: json_engine
  939. paging: true
  940. search_url: https://api.openaire.eu/search/datasets?format=json&page={pageno}&size=10&title={query}
  941. results_query: response/results/result
  942. url_query: metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  943. title_query: metadata/oaf:entity/oaf:result/title/$
  944. content_query: metadata/oaf:entity/oaf:result/description/$
  945. content_html_to_text: true
  946. categories: science
  947. shortcut: oad
  948. timeout: 5.0
  949. about:
  950. website: https://www.openaire.eu/
  951. wikidata_id: Q25106053
  952. official_api_documentation: https://api.openaire.eu/
  953. use_official_api: false
  954. require_api_key: false
  955. results: JSON
  956. - name: openairepublications
  957. engine: json_engine
  958. paging: true
  959. search_url: https://api.openaire.eu/search/publications?format=json&page={pageno}&size=10&title={query}
  960. results_query: response/results/result
  961. url_query: metadata/oaf:entity/oaf:result/children/instance/webresource/url/$
  962. title_query: metadata/oaf:entity/oaf:result/title/$
  963. content_query: metadata/oaf:entity/oaf:result/description/$
  964. content_html_to_text: true
  965. categories: science
  966. shortcut: oap
  967. timeout: 5.0
  968. about:
  969. website: https://www.openaire.eu/
  970. wikidata_id: Q25106053
  971. official_api_documentation: https://api.openaire.eu/
  972. use_official_api: false
  973. require_api_key: false
  974. results: JSON
  975. # - name: opensemanticsearch
  976. # engine: opensemantic
  977. # shortcut: oss
  978. # base_url: 'http://localhost:8983/solr/opensemanticsearch/'
  979. - name: openstreetmap
  980. engine: openstreetmap
  981. shortcut: osm
  982. - name: openrepos
  983. engine: xpath
  984. paging: true
  985. search_url: https://openrepos.net/search/node/{query}?page={pageno}
  986. url_xpath: //li[@class="search-result"]//h3[@class="title"]/a/@href
  987. title_xpath: //li[@class="search-result"]//h3[@class="title"]/a
  988. content_xpath: //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
  989. categories: files
  990. timeout: 4.0
  991. disabled: true
  992. shortcut: or
  993. about:
  994. website: https://openrepos.net/
  995. wikidata_id:
  996. official_api_documentation:
  997. use_official_api: false
  998. require_api_key: false
  999. results: HTML
  1000. - name: packagist
  1001. engine: json_engine
  1002. paging: true
  1003. search_url: https://packagist.org/search.json?q={query}&page={pageno}
  1004. results_query: results
  1005. url_query: url
  1006. title_query: name
  1007. content_query: description
  1008. categories: [it, packages]
  1009. disabled: true
  1010. timeout: 5.0
  1011. shortcut: pack
  1012. about:
  1013. website: https://packagist.org
  1014. wikidata_id: Q108311377
  1015. official_api_documentation: https://packagist.org/apidoc
  1016. use_official_api: true
  1017. require_api_key: false
  1018. results: JSON
  1019. - name: pdbe
  1020. engine: pdbe
  1021. shortcut: pdb
  1022. # Hide obsolete PDB entries. Default is not to hide obsolete structures
  1023. # hide_obsolete: false
  1024. - name: photon
  1025. engine: photon
  1026. shortcut: ph
  1027. - name: piratebay
  1028. engine: piratebay
  1029. shortcut: tpb
  1030. # You may need to change this URL to a proxy if piratebay is blocked in your
  1031. # country
  1032. url: https://thepiratebay.org/
  1033. timeout: 3.0
  1034. # Required dependency: psychopg2
  1035. # - name: postgresql
  1036. # engine: postgresql
  1037. # database: postgres
  1038. # username: postgres
  1039. # password: postgres
  1040. # limit: 10
  1041. # query_str: 'SELECT * from my_table WHERE my_column = %(query)s'
  1042. # shortcut : psql
  1043. - name: pub.dev
  1044. engine: xpath
  1045. shortcut: pd
  1046. search_url: https://pub.dev/packages?q={query}&page={pageno}
  1047. paging: true
  1048. results_xpath: /html/body/main/div/div[@class="search-results"]/div[@class="packages"]/div
  1049. url_xpath: ./div/h3/a/@href
  1050. title_xpath: ./div/h3/a
  1051. content_xpath: ./p[@class="packages-description"]
  1052. categories: [packages, it]
  1053. timeout: 3.0
  1054. disabled: true
  1055. first_page_num: 1
  1056. about:
  1057. website: https://pub.dev/
  1058. official_api_documentation: https://pub.dev/help/api
  1059. use_official_api: false
  1060. require_api_key: false
  1061. results: HTML
  1062. - name: pubmed
  1063. engine: pubmed
  1064. shortcut: pub
  1065. categories: science
  1066. timeout: 3.0
  1067. - name: pypi
  1068. shortcut: pypi
  1069. engine: xpath
  1070. paging: true
  1071. search_url: https://pypi.org/search?q={query}&page={pageno}
  1072. results_xpath: /html/body/main/div/div/div/form/div/ul/li/a[@class="package-snippet"]
  1073. url_xpath: ./@href
  1074. title_xpath: ./h3/span[@class="package-snippet__name"]
  1075. content_xpath: ./p
  1076. suggestion_xpath: /html/body/main/div/div/div/form/div/div[@class="callout-block"]/p/span/a[@class="link"]
  1077. first_page_num: 1
  1078. categories: [it, packages]
  1079. about:
  1080. website: https://pypi.org
  1081. wikidata_id: Q2984686
  1082. official_api_documentation: https://warehouse.readthedocs.io/api-reference/index.html
  1083. use_official_api: false
  1084. require_api_key: false
  1085. results: HTML
  1086. - name: qwant
  1087. qwant_categ: web
  1088. engine: qwant
  1089. shortcut: qw
  1090. categories: [general, web]
  1091. disabled: false
  1092. additional_tests:
  1093. rosebud: *test_rosebud
  1094. - name: qwant news
  1095. qwant_categ: news
  1096. engine: qwant
  1097. shortcut: qwn
  1098. categories: news
  1099. disabled: false
  1100. network: qwant
  1101. - name: qwant images
  1102. qwant_categ: images
  1103. engine: qwant
  1104. shortcut: qwi
  1105. categories: [images, web]
  1106. disabled: false
  1107. network: qwant
  1108. - name: qwant videos
  1109. qwant_categ: videos
  1110. engine: qwant
  1111. shortcut: qwv
  1112. categories: [videos, web]
  1113. disabled: false
  1114. network: qwant
  1115. # - name: library
  1116. # engine: recoll
  1117. # shortcut: lib
  1118. # base_url: 'https://recoll.example.org/'
  1119. # search_dir: ''
  1120. # mount_prefix: /export
  1121. # dl_prefix: 'https://download.example.org'
  1122. # timeout: 30.0
  1123. # categories: files
  1124. # disabled: true
  1125. # - name: recoll library reference
  1126. # engine: recoll
  1127. # base_url: 'https://recoll.example.org/'
  1128. # search_dir: reference
  1129. # mount_prefix: /export
  1130. # dl_prefix: 'https://download.example.org'
  1131. # shortcut: libr
  1132. # timeout: 30.0
  1133. # categories: files
  1134. # disabled: true
  1135. - name: reddit
  1136. engine: reddit
  1137. shortcut: re
  1138. page_size: 25
  1139. # Required dependency: redis
  1140. # - name: myredis
  1141. # shortcut : rds
  1142. # engine: redis_server
  1143. # exact_match_only: false
  1144. # host: '127.0.0.1'
  1145. # port: 6379
  1146. # enable_http: true
  1147. # password: ''
  1148. # db: 0
  1149. # tmp suspended: bad certificate
  1150. # - name: scanr structures
  1151. # shortcut: scs
  1152. # engine: scanr_structures
  1153. # disabled: true
  1154. - name: sepiasearch
  1155. engine: sepiasearch
  1156. shortcut: sep
  1157. - name: soundcloud
  1158. engine: soundcloud
  1159. shortcut: sc
  1160. - name: stackoverflow
  1161. engine: stackexchange
  1162. shortcut: st
  1163. api_site: 'stackoverflow'
  1164. categories: [it, q&a]
  1165. - name: askubuntu
  1166. engine: stackexchange
  1167. shortcut: ubuntu
  1168. api_site: 'askubuntu'
  1169. categories: [it, q&a]
  1170. - name: superuser
  1171. engine: stackexchange
  1172. shortcut: su
  1173. api_site: 'superuser'
  1174. categories: [it, q&a]
  1175. - name: searchcode code
  1176. engine: searchcode_code
  1177. shortcut: scc
  1178. disabled: true
  1179. - name: framalibre
  1180. engine: framalibre
  1181. shortcut: frl
  1182. disabled: true
  1183. # - name: searx
  1184. # engine: searx_engine
  1185. # shortcut: se
  1186. # instance_urls :
  1187. # - http://127.0.0.1:8888/
  1188. # - ...
  1189. # disabled: true
  1190. - name: semantic scholar
  1191. engine: semantic_scholar
  1192. disabled: true
  1193. shortcut: se
  1194. categories: science
  1195. # Spotify needs API credentials
  1196. # - name: spotify
  1197. # engine: spotify
  1198. # shortcut: stf
  1199. # api_client_id: *******
  1200. # api_client_secret: *******
  1201. # - name: solr
  1202. # engine: solr
  1203. # shortcut: slr
  1204. # base_url: http://localhost:8983
  1205. # collection: collection_name
  1206. # sort: '' # sorting: asc or desc
  1207. # field_list: '' # comma separated list of field names to display on the UI
  1208. # default_fields: '' # default field to query
  1209. # query_fields: '' # query fields
  1210. # enable_http: true
  1211. # - name: springer nature
  1212. # engine: springer
  1213. # # get your API key from: https://dev.springernature.com/signup
  1214. # # working API key, for test & debug: "a69685087d07eca9f13db62f65b8f601"
  1215. # api_key: 'unset'
  1216. # shortcut: springer
  1217. # categories: science
  1218. # timeout: 6.0
  1219. - name: startpage
  1220. engine: startpage
  1221. shortcut: sp
  1222. timeout: 6.0
  1223. disabled: true
  1224. additional_tests:
  1225. rosebud: *test_rosebud
  1226. - name: tokyotoshokan
  1227. engine: tokyotoshokan
  1228. shortcut: tt
  1229. timeout: 6.0
  1230. disabled: true
  1231. - name: solidtorrents
  1232. engine: solidtorrents
  1233. shortcut: solid
  1234. timeout: 4.0
  1235. disabled: false
  1236. base_url:
  1237. - https://solidtorrents.net
  1238. - https://solidtorrents.eu
  1239. - https://solidtorrents.to
  1240. - https://bitsearch.to
  1241. # For this demo of the sqlite engine download:
  1242. # https://liste.mediathekview.de/filmliste-v2.db.bz2
  1243. # and unpack into searx/data/filmliste-v2.db
  1244. # Query to test: "!demo concert"
  1245. #
  1246. # - name: demo
  1247. # engine: sqlite
  1248. # shortcut: demo
  1249. # categories: general
  1250. # result_template: default.html
  1251. # database: searx/data/filmliste-v2.db
  1252. # query_str: >-
  1253. # SELECT title || ' (' || time(duration, 'unixepoch') || ')' AS title,
  1254. # COALESCE( NULLIF(url_video_hd,''), NULLIF(url_video_sd,''), url_video) AS url,
  1255. # description AS content
  1256. # FROM film
  1257. # WHERE title LIKE :wildcard OR description LIKE :wildcard
  1258. # ORDER BY duration DESC
  1259. # disabled: false
  1260. # Requires Tor
  1261. - name: torch
  1262. engine: xpath
  1263. paging: true
  1264. search_url:
  1265. http://xmh57jrknzkhv6y3ls3ubitzfqnkrwxhopf5aygthi7d6rplyvk3noyd.onion/cgi-bin/omega/omega?P={query}&DEFAULTOP=and
  1266. results_xpath: //table//tr
  1267. url_xpath: ./td[2]/a
  1268. title_xpath: ./td[2]/b
  1269. content_xpath: ./td[2]/small
  1270. categories: onions
  1271. enable_http: true
  1272. shortcut: tch
  1273. # torznab engine lets you query any torznab compatible indexer. Using this
  1274. # engine in combination with Jackett (https://github.com/Jackett/Jackett)
  1275. # opens the possibility to query a lot of public and private indexers directly
  1276. # from SearXNG.
  1277. # - name: torznab
  1278. # engine: torznab
  1279. # shortcut: trz
  1280. # base_url: http://localhost:9117/api/v2.0/indexers/all/results/torznab
  1281. # enable_http: true # if using localhost
  1282. # api_key: xxxxxxxxxxxxxxx
  1283. # # https://github.com/Jackett/Jackett/wiki/Jackett-Categories
  1284. # torznab_categories: # optional
  1285. # - 2000
  1286. # - 5000
  1287. # maybe in a fun category
  1288. # - name: uncyclopedia
  1289. # engine: mediawiki
  1290. # shortcut: unc
  1291. # base_url: https://uncyclopedia.wikia.com/
  1292. # number_of_results: 5
  1293. # tmp suspended - too slow, too many errors
  1294. # - name: urbandictionary
  1295. # engine : xpath
  1296. # search_url : https://www.urbandictionary.com/define.php?term={query}
  1297. # url_xpath : //*[@class="word"]/@href
  1298. # title_xpath : //*[@class="def-header"]
  1299. # content_xpath: //*[@class="meaning"]
  1300. # shortcut: ud
  1301. - name: unsplash
  1302. engine: unsplash
  1303. shortcut: us
  1304. - name: yahoo
  1305. engine: yahoo
  1306. shortcut: yh
  1307. disabled: true
  1308. - name: yahoo news
  1309. engine: yahoo_news
  1310. shortcut: yhn
  1311. - name: youtube
  1312. shortcut: yt
  1313. # You can use the engine using the official stable API, but you need an API
  1314. # key See: https://console.developers.google.com/project
  1315. #
  1316. # engine: youtube_api
  1317. # api_key: 'apikey' # required!
  1318. #
  1319. # Or you can use the html non-stable engine, activated by default
  1320. engine: youtube_noapi
  1321. - name: dailymotion
  1322. engine: dailymotion
  1323. shortcut: dm
  1324. - name: vimeo
  1325. engine: vimeo
  1326. shortcut: vm
  1327. - name: wiby
  1328. engine: json_engine
  1329. search_url: https://wiby.me/json/?q={query}
  1330. url_query: URL
  1331. title_query: Title
  1332. content_query: Snippet
  1333. categories: [general, web]
  1334. shortcut: wib
  1335. disabled: true
  1336. about:
  1337. website: https://wiby.me/
  1338. - name: marginalia
  1339. engine: json_engine
  1340. shortcut: mar
  1341. categories: general
  1342. paging: false
  1343. # index: {"0": "popular", "1": "blogs", "2": "big_sites",
  1344. # "3": "default", "4": experimental"}
  1345. search_url: https://api.marginalia.nu/public/search/{query}?index=4&count=20
  1346. results_query: results
  1347. url_query: url
  1348. title_query: title
  1349. content_query: description
  1350. timeout: 1.5
  1351. disabled: true
  1352. about:
  1353. website: https://www.marginalia.nu/
  1354. official_api_documentation: https://api.marginalia.nu/
  1355. use_official_api: true
  1356. require_api_key: true
  1357. results: JSON
  1358. - name: alexandria
  1359. engine: json_engine
  1360. shortcut: alx
  1361. categories: general
  1362. paging: true
  1363. search_url: https://api.alexandria.org/?a=1&q={query}&p={pageno}
  1364. results_query: results
  1365. title_query: title
  1366. url_query: url
  1367. content_query: snippet
  1368. timeout: 1.5
  1369. disabled: true
  1370. about:
  1371. website: https://alexandria.org/
  1372. official_api_documentation: https://github.com/alexandria-org/alexandria-api/raw/master/README.md
  1373. use_official_api: true
  1374. require_api_key: false
  1375. results: JSON
  1376. - name: wikibooks
  1377. engine: mediawiki
  1378. shortcut: wb
  1379. categories: general
  1380. base_url: "https://{language}.wikibooks.org/"
  1381. number_of_results: 5
  1382. search_type: text
  1383. disabled: true
  1384. about:
  1385. website: https://www.wikibooks.org/
  1386. wikidata_id: Q367
  1387. - name: wikinews
  1388. engine: mediawiki
  1389. shortcut: wn
  1390. categories: news
  1391. base_url: "https://{language}.wikinews.org/"
  1392. number_of_results: 5
  1393. search_type: text
  1394. disabled: true
  1395. about:
  1396. website: https://www.wikinews.org/
  1397. wikidata_id: Q964
  1398. - name: wikiquote
  1399. engine: mediawiki
  1400. shortcut: wq
  1401. categories: general
  1402. base_url: "https://{language}.wikiquote.org/"
  1403. number_of_results: 5
  1404. search_type: text
  1405. disabled: true
  1406. additional_tests:
  1407. rosebud: *test_rosebud
  1408. about:
  1409. website: https://www.wikiquote.org/
  1410. wikidata_id: Q369
  1411. - name: wikisource
  1412. engine: mediawiki
  1413. shortcut: ws
  1414. categories: general
  1415. base_url: "https://{language}.wikisource.org/"
  1416. number_of_results: 5
  1417. search_type: text
  1418. disabled: true
  1419. about:
  1420. website: https://www.wikisource.org/
  1421. wikidata_id: Q263
  1422. - name: wiktionary
  1423. engine: mediawiki
  1424. shortcut: wt
  1425. categories: [dictionaries]
  1426. base_url: "https://{language}.wiktionary.org/"
  1427. number_of_results: 5
  1428. search_type: text
  1429. disabled: false
  1430. about:
  1431. website: https://www.wiktionary.org/
  1432. wikidata_id: Q151
  1433. - name: wikiversity
  1434. engine: mediawiki
  1435. shortcut: wv
  1436. categories: general
  1437. base_url: "https://{language}.wikiversity.org/"
  1438. number_of_results: 5
  1439. search_type: text
  1440. disabled: true
  1441. about:
  1442. website: https://www.wikiversity.org/
  1443. wikidata_id: Q370
  1444. - name: wikivoyage
  1445. engine: mediawiki
  1446. shortcut: wy
  1447. categories: general
  1448. base_url: "https://{language}.wikivoyage.org/"
  1449. number_of_results: 5
  1450. search_type: text
  1451. disabled: true
  1452. about:
  1453. website: https://www.wikivoyage.org/
  1454. wikidata_id: Q373
  1455. - name: wolframalpha
  1456. shortcut: wa
  1457. # You can use the engine using the official stable API, but you need an API
  1458. # key. See: https://products.wolframalpha.com/api/
  1459. #
  1460. # engine: wolframalpha_api
  1461. # api_key: ''
  1462. #
  1463. # Or you can use the html non-stable engine, activated by default
  1464. engine: wolframalpha_noapi
  1465. timeout: 6.0
  1466. categories: []
  1467. - name: dictzone
  1468. engine: dictzone
  1469. shortcut: dc
  1470. - name: mymemory translated
  1471. engine: translated
  1472. shortcut: tl
  1473. timeout: 5.0
  1474. disabled: false
  1475. # You can use without an API key, but you are limited to 1000 words/day
  1476. # See: https://mymemory.translated.net/doc/usagelimits.php
  1477. # api_key: ''
  1478. # Required dependency: mysql-connector-python
  1479. # - name: mysql
  1480. # engine: mysql_server
  1481. # database: mydatabase
  1482. # username: user
  1483. # password: pass
  1484. # limit: 10
  1485. # query_str: 'SELECT * from mytable WHERE fieldname=%(query)s'
  1486. # shortcut: mysql
  1487. - name: 1337x
  1488. engine: 1337x
  1489. shortcut: 1337x
  1490. disabled: true
  1491. - name: duden
  1492. engine: duden
  1493. shortcut: du
  1494. disabled: true
  1495. - name: seznam
  1496. shortcut: szn
  1497. engine: seznam
  1498. disabled: true
  1499. - name: mojeek
  1500. shortcut: mjk
  1501. engine: xpath
  1502. paging: true
  1503. categories: [general, web]
  1504. search_url: https://www.mojeek.com/search?q={query}&s={pageno}
  1505. results_xpath: //a[@class="ob"]
  1506. url_xpath: ./@href
  1507. title_xpath: ./h2
  1508. content_xpath: ../p[@class="s"]
  1509. suggestion_xpath: /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
  1510. first_page_num: 0
  1511. page_size: 10
  1512. disabled: true
  1513. about:
  1514. website: https://www.mojeek.com/
  1515. wikidata_id: Q60747299
  1516. official_api_documentation: https://www.mojeek.com/services/api.html/
  1517. use_official_api: false
  1518. require_api_key: false
  1519. results: HTML
  1520. - name: naver
  1521. shortcut: nvr
  1522. categories: [general, web]
  1523. engine: xpath
  1524. paging: true
  1525. search_url: https://search.naver.com/search.naver?where=webkr&sm=osp_hty&ie=UTF-8&query={query}&start={pageno}
  1526. url_xpath: //a[@class="link_tit"]/@href
  1527. title_xpath: //a[@class="link_tit"]
  1528. content_xpath: //a[@class="total_dsc"]/div
  1529. first_page_num: 1
  1530. page_size: 10
  1531. disabled: true
  1532. about:
  1533. website: https://www.naver.com/
  1534. wikidata_id: Q485639
  1535. official_api_documentation: https://developers.naver.com/docs/nmt/examples/
  1536. use_official_api: false
  1537. require_api_key: false
  1538. results: HTML
  1539. language: ko
  1540. - name: rubygems
  1541. shortcut: rbg
  1542. engine: xpath
  1543. paging: true
  1544. search_url: https://rubygems.org/search?page={pageno}&query={query}
  1545. results_xpath: /html/body/main/div/a[@class="gems__gem"]
  1546. url_xpath: ./@href
  1547. title_xpath: ./span/h2
  1548. content_xpath: ./span/p
  1549. suggestion_xpath: /html/body/main/div/div[@class="search__suggestions"]/p/a
  1550. first_page_num: 1
  1551. categories: [it, packages]
  1552. disabled: true
  1553. about:
  1554. website: https://rubygems.org/
  1555. wikidata_id: Q1853420
  1556. official_api_documentation: https://guides.rubygems.org/rubygems-org-api/
  1557. use_official_api: false
  1558. require_api_key: false
  1559. results: HTML
  1560. - name: peertube
  1561. engine: peertube
  1562. shortcut: ptb
  1563. paging: true
  1564. # https://instances.joinpeertube.org/instances
  1565. base_url: https://peertube.biz/
  1566. # base_url: https://tube.tardis.world/
  1567. categories: videos
  1568. disabled: true
  1569. timeout: 6.0
  1570. - name: mediathekviewweb
  1571. engine: mediathekviewweb
  1572. shortcut: mvw
  1573. disabled: true
  1574. # - name: yacy
  1575. # engine: yacy
  1576. # shortcut: ya
  1577. # base_url: http://localhost:8090
  1578. # required if you aren't using HTTPS for your local yacy instance'
  1579. # enable_http: true
  1580. # number_of_results: 5
  1581. # timeout: 3.0
  1582. - name: rumble
  1583. engine: rumble
  1584. shortcut: ru
  1585. base_url: https://rumble.com/
  1586. paging: true
  1587. categories: videos
  1588. disabled: true
  1589. - name: wordnik
  1590. engine: wordnik
  1591. shortcut: def
  1592. base_url: https://www.wordnik.com/
  1593. categories: [dictionaries]
  1594. timeout: 5.0
  1595. disabled: false
  1596. - name: woxikon.de synonyme
  1597. engine: xpath
  1598. shortcut: woxi
  1599. categories: [dictionaries]
  1600. timeout: 5.0
  1601. disabled: true
  1602. search_url: https://synonyme.woxikon.de/synonyme/{query}.php
  1603. url_xpath: //div[@class="upper-synonyms"]/a/@href
  1604. content_xpath: //div[@class="synonyms-list-group"]
  1605. title_xpath: //div[@class="upper-synonyms"]/a
  1606. about:
  1607. website: https://www.woxikon.de/
  1608. wikidata_id: # No Wikidata ID
  1609. use_official_api: false
  1610. require_api_key: false
  1611. results: HTML
  1612. language: de
  1613. - name: sjp.pwn
  1614. engine: sjp
  1615. shortcut: sjp
  1616. base_url: https://sjp.pwn.pl/
  1617. timeout: 5.0
  1618. disabled: true
  1619. # wikimini: online encyclopedia for children
  1620. # The fulltext and title parameter is necessary for Wikimini because
  1621. # sometimes it will not show the results and redirect instead
  1622. - name: wikimini
  1623. engine: xpath
  1624. shortcut: wkmn
  1625. search_url: https://fr.wikimini.org/w/index.php?search={query}&title=Sp%C3%A9cial%3ASearch&fulltext=Search
  1626. url_xpath: //li/div[@class="mw-search-result-heading"]/a/@href
  1627. title_xpath: //li//div[@class="mw-search-result-heading"]/a
  1628. content_xpath: //li/div[@class="searchresult"]
  1629. categories: general
  1630. disabled: true
  1631. about:
  1632. website: https://wikimini.org/
  1633. wikidata_id: Q3568032
  1634. use_official_api: false
  1635. require_api_key: false
  1636. results: HTML
  1637. language: fr
  1638. - name: brave
  1639. shortcut: brave
  1640. engine: xpath
  1641. paging: true
  1642. time_range_support: true
  1643. first_page_num: 0
  1644. time_range_url: "&tf={time_range_val}"
  1645. search_url: https://search.brave.com/search?q={query}&offset={pageno}&spellcheck=1{time_range}
  1646. url_xpath: //a[@class="result-header"]/@href
  1647. title_xpath: //span[@class="snippet-title"]
  1648. content_xpath: //p[1][@class="snippet-description"]
  1649. suggestion_xpath: //div[@class="text-gray h6"]/a
  1650. time_range_map:
  1651. day: 'pd'
  1652. week: 'pw'
  1653. month: 'pm'
  1654. year: 'py'
  1655. categories: [general, web]
  1656. about:
  1657. website: https://brave.com/search/
  1658. wikidata_id: Q107355971
  1659. use_official_api: false
  1660. require_api_key: false
  1661. results: HTML
  1662. - name: petalsearch
  1663. shortcut: pts
  1664. engine: xpath
  1665. paging: true
  1666. search_url: https://petalsearch.com/search?query={query}&pn={pageno}
  1667. results_xpath: //div[@class="webpage-content"]/div[@class="title-cont"]/a
  1668. url_xpath: ./@href
  1669. title_xpath: .
  1670. content_xpath: ../../div[@class="webpage-text"]
  1671. suggestion_xpath: //div[@class="related-search-items"]/a
  1672. first_page_num: 1
  1673. disabled: true
  1674. about:
  1675. website: https://petalsearch.com/
  1676. wikidata_id: Q104399280
  1677. use_official_api: false
  1678. require_api_key: false
  1679. results: HTML
  1680. - name: petalsearch images
  1681. engine: petal_images
  1682. shortcut: ptsi
  1683. disabled: true
  1684. timeout: 3.0
  1685. - name: petalsearch news
  1686. shortcut: ptsn
  1687. categories: news
  1688. engine: xpath
  1689. paging: true
  1690. search_url: https://petalsearch.com/search?channel=news&query={query}&pn={pageno}
  1691. results_xpath: //div[@class="news-container"]/div/div/div/a
  1692. url_xpath: ./@href
  1693. title_xpath: ./div
  1694. content_xpath: ../div[@class="news-text"]
  1695. thumbnail_xpath: ../../../../img/@src
  1696. first_page_num: 1
  1697. disabled: true
  1698. about:
  1699. website: https://petalsearch.com/
  1700. wikidata_id: Q104399280
  1701. use_official_api: false
  1702. require_api_key: false
  1703. results: HTML
  1704. - name: lib.rs
  1705. shortcut: lrs
  1706. engine: xpath
  1707. search_url: https://lib.rs/search?q={query}
  1708. results_xpath: /html/body/main/div/ol/li/a
  1709. url_xpath: ./@href
  1710. title_xpath: ./div[@class="h"]/h4
  1711. content_xpath: ./div[@class="h"]/p
  1712. categories: [it, packages]
  1713. disabled: true
  1714. about:
  1715. website: https://lib.rs
  1716. wikidata_id: Q113486010
  1717. use_official_api: false
  1718. require_api_key: false
  1719. results: HTML
  1720. - name: sourcehut
  1721. shortcut: srht
  1722. engine: xpath
  1723. paging: true
  1724. search_url: https://sr.ht/projects?page={pageno}&search={query}
  1725. results_xpath: (//div[@class="event-list"])[1]/div[@class="event"]
  1726. url_xpath: ./h4/a[2]/@href
  1727. title_xpath: ./h4/a[2]
  1728. content_xpath: ./p
  1729. first_page_num: 1
  1730. categories: [it, repos]
  1731. disabled: true
  1732. about:
  1733. website: https://sr.ht
  1734. wikidata_id: Q78514485
  1735. official_api_documentation: https://man.sr.ht/
  1736. use_official_api: false
  1737. require_api_key: false
  1738. results: HTML
  1739. # Doku engine lets you access to any Doku wiki instance:
  1740. # A public one or a privete/corporate one.
  1741. # - name: ubuntuwiki
  1742. # engine: doku
  1743. # shortcut: uw
  1744. # base_url: 'https://doc.ubuntu-fr.org'
  1745. # Be careful when enabling this engine if you are
  1746. # running a public instance. Do not expose any sensitive
  1747. # information. You can restrict access by configuring a list
  1748. # of access tokens under tokens.
  1749. # - name: git grep
  1750. # engine: command
  1751. # command: ['git', 'grep', '{{QUERY}}']
  1752. # shortcut: gg
  1753. # tokens: []
  1754. # disabled: true
  1755. # delimiter:
  1756. # chars: ':'
  1757. # keys: ['filepath', 'code']
  1758. # Be careful when enabling this engine if you are
  1759. # running a public instance. Do not expose any sensitive
  1760. # information. You can restrict access by configuring a list
  1761. # of access tokens under tokens.
  1762. # - name: locate
  1763. # engine: command
  1764. # command: ['locate', '{{QUERY}}']
  1765. # shortcut: loc
  1766. # tokens: []
  1767. # disabled: true
  1768. # delimiter:
  1769. # chars: ' '
  1770. # keys: ['line']
  1771. # Be careful when enabling this engine if you are
  1772. # running a public instance. Do not expose any sensitive
  1773. # information. You can restrict access by configuring a list
  1774. # of access tokens under tokens.
  1775. # - name: find
  1776. # engine: command
  1777. # command: ['find', '.', '-name', '{{QUERY}}']
  1778. # query_type: path
  1779. # shortcut: fnd
  1780. # tokens: []
  1781. # disabled: true
  1782. # delimiter:
  1783. # chars: ' '
  1784. # keys: ['line']
  1785. # Be careful when enabling this engine if you are
  1786. # running a public instance. Do not expose any sensitive
  1787. # information. You can restrict access by configuring a list
  1788. # of access tokens under tokens.
  1789. # - name: pattern search in files
  1790. # engine: command
  1791. # command: ['fgrep', '{{QUERY}}']
  1792. # shortcut: fgr
  1793. # tokens: []
  1794. # disabled: true
  1795. # delimiter:
  1796. # chars: ' '
  1797. # keys: ['line']
  1798. # Be careful when enabling this engine if you are
  1799. # running a public instance. Do not expose any sensitive
  1800. # information. You can restrict access by configuring a list
  1801. # of access tokens under tokens.
  1802. # - name: regex search in files
  1803. # engine: command
  1804. # command: ['grep', '{{QUERY}}']
  1805. # shortcut: gr
  1806. # tokens: []
  1807. # disabled: true
  1808. # delimiter:
  1809. # chars: ' '
  1810. # keys: ['line']
  1811. doi_resolvers:
  1812. oadoi.org: 'https://oadoi.org/'
  1813. doi.org: 'https://doi.org/'
  1814. doai.io: 'https://dissem.in/'
  1815. sci-hub.se: 'https://sci-hub.se/'
  1816. sci-hub.do: 'https://sci-hub.do/'
  1817. scihubtw.tw: 'https://scihubtw.tw/'
  1818. sci-hub.st: 'https://sci-hub.st/'
  1819. sci-hub.bar: 'https://sci-hub.bar/'
  1820. sci-hub.it.nf: 'https://sci-hub.it.nf/'
  1821. default_doi_resolver: 'oadoi.org'