settings.yml 49 KB

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