settings.yml 50 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882
  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: pub.dev
  988. engine: xpath
  989. shortcut: pd
  990. search_url: https://pub.dev/packages?q={query}&page={pageno}
  991. paging: true
  992. results_xpath: /html/body/main/div/div[@class="search-results"]/div[@class="packages"]/div
  993. url_xpath: ./div/h3/a/@href
  994. title_xpath: ./div/h3/a
  995. content_xpath: ./p[@class="packages-description"]
  996. categories: [packages, it]
  997. timeout: 3.0
  998. disabled: true
  999. first_page_num: 1
  1000. about:
  1001. website: https://pub.dev/
  1002. official_api_documentation: https://pub.dev/help/api
  1003. use_official_api: false
  1004. require_api_key: false
  1005. results: HTML
  1006. - name: pubmed
  1007. engine: pubmed
  1008. shortcut: pub
  1009. categories: science
  1010. timeout: 3.0
  1011. - name: pypi
  1012. shortcut: pypi
  1013. engine: xpath
  1014. paging: true
  1015. search_url: https://pypi.org/search?q={query}&page={pageno}
  1016. results_xpath: /html/body/main/div/div/div/form/div/ul/li/a[@class="package-snippet"]
  1017. url_xpath: ./@href
  1018. title_xpath: ./h3/span[@class="package-snippet__name"]
  1019. content_xpath: ./p
  1020. suggestion_xpath: /html/body/main/div/div/div/form/div/div[@class="callout-block"]/p/span/a[@class="link"]
  1021. first_page_num: 1
  1022. categories: [it, packages]
  1023. about:
  1024. website: https://pypi.org
  1025. wikidata_id: Q2984686
  1026. official_api_documentation: https://warehouse.readthedocs.io/api-reference/index.html
  1027. use_official_api: false
  1028. require_api_key: false
  1029. results: HTML
  1030. - name: qwant
  1031. engine: qwant
  1032. shortcut: qw
  1033. categories: [general, web]
  1034. disabled: false
  1035. additional_tests:
  1036. rosebud: *test_rosebud
  1037. - name: qwant news
  1038. engine: qwant
  1039. shortcut: qwn
  1040. categories: news
  1041. disabled: false
  1042. network: qwant
  1043. - name: qwant images
  1044. engine: qwant
  1045. shortcut: qwi
  1046. categories: [images, web]
  1047. disabled: false
  1048. network: qwant
  1049. - name: qwant videos
  1050. engine: qwant
  1051. shortcut: qwv
  1052. categories: [videos, web]
  1053. disabled: false
  1054. network: qwant
  1055. # - name: library
  1056. # engine: recoll
  1057. # shortcut: lib
  1058. # base_url: 'https://recoll.example.org/'
  1059. # search_dir: ''
  1060. # mount_prefix: /export
  1061. # dl_prefix: 'https://download.example.org'
  1062. # timeout: 30.0
  1063. # categories: files
  1064. # disabled: true
  1065. # - name: recoll library reference
  1066. # engine: recoll
  1067. # base_url: 'https://recoll.example.org/'
  1068. # search_dir: reference
  1069. # mount_prefix: /export
  1070. # dl_prefix: 'https://download.example.org'
  1071. # shortcut: libr
  1072. # timeout: 30.0
  1073. # categories: files
  1074. # disabled: true
  1075. - name: reddit
  1076. engine: reddit
  1077. shortcut: re
  1078. page_size: 25
  1079. # Required dependency: redis
  1080. # - name: myredis
  1081. # shortcut : rds
  1082. # engine: redis_server
  1083. # exact_match_only: false
  1084. # host: '127.0.0.1'
  1085. # port: 6379
  1086. # enable_http: true
  1087. # password: ''
  1088. # db: 0
  1089. # tmp suspended: bad certificate
  1090. # - name: scanr structures
  1091. # shortcut: scs
  1092. # engine: scanr_structures
  1093. # disabled: true
  1094. - name: sepiasearch
  1095. engine: sepiasearch
  1096. shortcut: sep
  1097. - name: soundcloud
  1098. engine: soundcloud
  1099. shortcut: sc
  1100. - name: stackoverflow
  1101. engine: stackexchange
  1102. shortcut: st
  1103. api_site: 'stackoverflow'
  1104. categories: [it, q&a]
  1105. - name: askubuntu
  1106. engine: stackexchange
  1107. shortcut: ubuntu
  1108. api_site: 'askubuntu'
  1109. categories: [it, q&a]
  1110. - name: superuser
  1111. engine: stackexchange
  1112. shortcut: su
  1113. api_site: 'superuser'
  1114. categories: [it, q&a]
  1115. - name: searchcode code
  1116. engine: searchcode_code
  1117. shortcut: scc
  1118. disabled: true
  1119. - name: framalibre
  1120. engine: framalibre
  1121. shortcut: frl
  1122. disabled: true
  1123. # - name: searx
  1124. # engine: searx_engine
  1125. # shortcut: se
  1126. # instance_urls :
  1127. # - http://127.0.0.1:8888/
  1128. # - ...
  1129. # disabled: true
  1130. - name: semantic scholar
  1131. engine: semantic_scholar
  1132. disabled: true
  1133. shortcut: se
  1134. categories: science
  1135. # Spotify needs API credentials
  1136. # - name: spotify
  1137. # engine: spotify
  1138. # shortcut: stf
  1139. # api_client_id: *******
  1140. # api_client_secret: *******
  1141. # - name: solr
  1142. # engine: solr
  1143. # shortcut: slr
  1144. # base_url: http://localhost:8983
  1145. # collection: collection_name
  1146. # sort: '' # sorting: asc or desc
  1147. # field_list: '' # comma separated list of field names to display on the UI
  1148. # default_fields: '' # default field to query
  1149. # query_fields: '' # query fields
  1150. # enable_http: true
  1151. # - name: springer nature
  1152. # engine: springer
  1153. # # get your API key from: https://dev.springernature.com/signup
  1154. # # working API key, for test & debug: "a69685087d07eca9f13db62f65b8f601"
  1155. # api_key: 'unset'
  1156. # shortcut: springer
  1157. # categories: science
  1158. # timeout: 6.0
  1159. - name: startpage
  1160. engine: startpage
  1161. shortcut: sp
  1162. timeout: 6.0
  1163. disabled: true
  1164. additional_tests:
  1165. rosebud: *test_rosebud
  1166. - name: tokyotoshokan
  1167. engine: tokyotoshokan
  1168. shortcut: tt
  1169. timeout: 6.0
  1170. disabled: true
  1171. - name: solidtorrents
  1172. engine: solidtorrents
  1173. shortcut: solid
  1174. timeout: 4.0
  1175. disabled: false
  1176. base_url:
  1177. - https://solidtorrents.net
  1178. - https://solidtorrents.eu
  1179. - https://solidtorrents.to
  1180. - https://bitsearch.to
  1181. # For this demo of the sqlite engine download:
  1182. # https://liste.mediathekview.de/filmliste-v2.db.bz2
  1183. # and unpack into searx/data/filmliste-v2.db
  1184. # Query to test: "!demo concert"
  1185. #
  1186. # - name: demo
  1187. # engine: sqlite
  1188. # shortcut: demo
  1189. # categories: general
  1190. # result_template: default.html
  1191. # database: searx/data/filmliste-v2.db
  1192. # query_str: >-
  1193. # SELECT title || ' (' || time(duration, 'unixepoch') || ')' AS title,
  1194. # COALESCE( NULLIF(url_video_hd,''), NULLIF(url_video_sd,''), url_video) AS url,
  1195. # description AS content
  1196. # FROM film
  1197. # WHERE title LIKE :wildcard OR description LIKE :wildcard
  1198. # ORDER BY duration DESC
  1199. # disabled: false
  1200. # Requires Tor
  1201. - name: torch
  1202. engine: xpath
  1203. paging: true
  1204. search_url:
  1205. http://xmh57jrknzkhv6y3ls3ubitzfqnkrwxhopf5aygthi7d6rplyvk3noyd.onion/cgi-bin/omega/omega?P={query}&DEFAULTOP=and
  1206. results_xpath: //table//tr
  1207. url_xpath: ./td[2]/a
  1208. title_xpath: ./td[2]/b
  1209. content_xpath: ./td[2]/small
  1210. categories: onions
  1211. enable_http: true
  1212. shortcut: tch
  1213. # torznab engine lets you query any torznab compatible indexer. Using this
  1214. # engine in combination with Jackett (https://github.com/Jackett/Jackett)
  1215. # opens the possibility to query a lot of public and private indexers directly
  1216. # from SearXNG.
  1217. # - name: torznab
  1218. # engine: torznab
  1219. # shortcut: trz
  1220. # base_url: http://localhost:9117/api/v2.0/indexers/all/results/torznab
  1221. # enable_http: true # if using localhost
  1222. # api_key: xxxxxxxxxxxxxxx
  1223. # # https://github.com/Jackett/Jackett/wiki/Jackett-Categories
  1224. # torznab_categories: # optional
  1225. # - 2000
  1226. # - 5000
  1227. # maybe in a fun category
  1228. # - name: uncyclopedia
  1229. # engine: mediawiki
  1230. # shortcut: unc
  1231. # base_url: https://uncyclopedia.wikia.com/
  1232. # number_of_results: 5
  1233. # tmp suspended - too slow, too many errors
  1234. # - name: urbandictionary
  1235. # engine : xpath
  1236. # search_url : https://www.urbandictionary.com/define.php?term={query}
  1237. # url_xpath : //*[@class="word"]/@href
  1238. # title_xpath : //*[@class="def-header"]
  1239. # content_xpath: //*[@class="meaning"]
  1240. # shortcut: ud
  1241. - name: unsplash
  1242. engine: unsplash
  1243. shortcut: us
  1244. - name: yahoo
  1245. engine: yahoo
  1246. shortcut: yh
  1247. disabled: true
  1248. - name: yahoo news
  1249. engine: yahoo_news
  1250. shortcut: yhn
  1251. - name: youtube
  1252. shortcut: yt
  1253. # You can use the engine using the official stable API, but you need an API
  1254. # key See: https://console.developers.google.com/project
  1255. #
  1256. # engine: youtube_api
  1257. # api_key: 'apikey' # required!
  1258. #
  1259. # Or you can use the html non-stable engine, activated by default
  1260. engine: youtube_noapi
  1261. - name: dailymotion
  1262. engine: dailymotion
  1263. shortcut: dm
  1264. - name: vimeo
  1265. engine: vimeo
  1266. shortcut: vm
  1267. - name: wiby
  1268. engine: json_engine
  1269. search_url: https://wiby.me/json/?q={query}
  1270. url_query: URL
  1271. title_query: Title
  1272. content_query: Snippet
  1273. categories: [general, web]
  1274. shortcut: wib
  1275. disabled: true
  1276. about:
  1277. website: https://wiby.me/
  1278. - name: alexandria
  1279. engine: json_engine
  1280. shortcut: alx
  1281. categories: general
  1282. paging: true
  1283. search_url: https://api.alexandria.org/?a=1&q={query}&p={pageno}
  1284. results_query: results
  1285. title_query: title
  1286. url_query: url
  1287. content_query: snippet
  1288. timeout: 1.5
  1289. disabled: true
  1290. about:
  1291. website: https://alexandria.org/
  1292. official_api_documentation: https://github.com/alexandria-org/alexandria-api/raw/master/README.md
  1293. use_official_api: true
  1294. require_api_key: false
  1295. results: JSON
  1296. - name: wikibooks
  1297. engine: mediawiki
  1298. shortcut: wb
  1299. categories: general
  1300. base_url: "https://{language}.wikibooks.org/"
  1301. number_of_results: 5
  1302. search_type: text
  1303. disabled: true
  1304. about:
  1305. website: https://www.wikibooks.org/
  1306. wikidata_id: Q367
  1307. - name: wikinews
  1308. engine: mediawiki
  1309. shortcut: wn
  1310. categories: news
  1311. base_url: "https://{language}.wikinews.org/"
  1312. number_of_results: 5
  1313. search_type: text
  1314. disabled: true
  1315. about:
  1316. website: https://www.wikinews.org/
  1317. wikidata_id: Q964
  1318. - name: wikiquote
  1319. engine: mediawiki
  1320. shortcut: wq
  1321. categories: general
  1322. base_url: "https://{language}.wikiquote.org/"
  1323. number_of_results: 5
  1324. search_type: text
  1325. disabled: true
  1326. additional_tests:
  1327. rosebud: *test_rosebud
  1328. about:
  1329. website: https://www.wikiquote.org/
  1330. wikidata_id: Q369
  1331. - name: wikisource
  1332. engine: mediawiki
  1333. shortcut: ws
  1334. categories: general
  1335. base_url: "https://{language}.wikisource.org/"
  1336. number_of_results: 5
  1337. search_type: text
  1338. disabled: true
  1339. about:
  1340. website: https://www.wikisource.org/
  1341. wikidata_id: Q263
  1342. - name: wiktionary
  1343. engine: mediawiki
  1344. shortcut: wt
  1345. categories: [dictionaries]
  1346. base_url: "https://{language}.wiktionary.org/"
  1347. number_of_results: 5
  1348. search_type: text
  1349. disabled: false
  1350. about:
  1351. website: https://www.wiktionary.org/
  1352. wikidata_id: Q151
  1353. - name: wikiversity
  1354. engine: mediawiki
  1355. shortcut: wv
  1356. categories: general
  1357. base_url: "https://{language}.wikiversity.org/"
  1358. number_of_results: 5
  1359. search_type: text
  1360. disabled: true
  1361. about:
  1362. website: https://www.wikiversity.org/
  1363. wikidata_id: Q370
  1364. - name: wikivoyage
  1365. engine: mediawiki
  1366. shortcut: wy
  1367. categories: general
  1368. base_url: "https://{language}.wikivoyage.org/"
  1369. number_of_results: 5
  1370. search_type: text
  1371. disabled: true
  1372. about:
  1373. website: https://www.wikivoyage.org/
  1374. wikidata_id: Q373
  1375. - name: wolframalpha
  1376. shortcut: wa
  1377. # You can use the engine using the official stable API, but you need an API
  1378. # key. See: https://products.wolframalpha.com/api/
  1379. #
  1380. # engine: wolframalpha_api
  1381. # api_key: ''
  1382. #
  1383. # Or you can use the html non-stable engine, activated by default
  1384. engine: wolframalpha_noapi
  1385. timeout: 6.0
  1386. categories: []
  1387. - name: dictzone
  1388. engine: dictzone
  1389. shortcut: dc
  1390. - name: mymemory translated
  1391. engine: translated
  1392. shortcut: tl
  1393. timeout: 5.0
  1394. disabled: false
  1395. # You can use without an API key, but you are limited to 1000 words/day
  1396. # See: https://mymemory.translated.net/doc/usagelimits.php
  1397. # api_key: ''
  1398. # Required dependency: mysql-connector-python
  1399. # - name: mysql
  1400. # engine: mysql_server
  1401. # database: mydatabase
  1402. # username: user
  1403. # password: pass
  1404. # limit: 10
  1405. # query_str: 'SELECT * from mytable WHERE fieldname=%(query)s'
  1406. # shortcut: mysql
  1407. - name: 1337x
  1408. engine: 1337x
  1409. shortcut: 1337x
  1410. disabled: true
  1411. - name: duden
  1412. engine: duden
  1413. shortcut: du
  1414. disabled: true
  1415. - name: seznam
  1416. shortcut: szn
  1417. engine: seznam
  1418. disabled: true
  1419. - name: mojeek
  1420. shortcut: mjk
  1421. engine: xpath
  1422. paging: true
  1423. categories: [general, web]
  1424. search_url: https://www.mojeek.com/search?q={query}&s={pageno}
  1425. results_xpath: //a[@class="ob"]
  1426. url_xpath: ./@href
  1427. title_xpath: ./..
  1428. content_xpath: ../../p[@class="s"]
  1429. suggestion_xpath: /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
  1430. first_page_num: 0
  1431. page_size: 10
  1432. disabled: true
  1433. about:
  1434. website: https://www.mojeek.com/
  1435. wikidata_id: Q60747299
  1436. official_api_documentation: https://www.mojeek.com/services/api.html/
  1437. use_official_api: false
  1438. require_api_key: false
  1439. results: HTML
  1440. - name: naver
  1441. shortcut: nvr
  1442. categories: [general, web]
  1443. engine: xpath
  1444. paging: true
  1445. search_url: https://search.naver.com/search.naver?where=webkr&sm=osp_hty&ie=UTF-8&query={query}&start={pageno}
  1446. url_xpath: //a[@class="link_tit"]/@href
  1447. title_xpath: //a[@class="link_tit"]
  1448. content_xpath: //a[@class="total_dsc"]/div
  1449. first_page_num: 1
  1450. page_size: 10
  1451. disabled: true
  1452. about:
  1453. website: https://www.naver.com/
  1454. wikidata_id: Q485639
  1455. official_api_documentation: https://developers.naver.com/docs/nmt/examples/
  1456. use_official_api: false
  1457. require_api_key: false
  1458. results: HTML
  1459. language: ko
  1460. - name: rubygems
  1461. shortcut: rbg
  1462. engine: xpath
  1463. paging: true
  1464. search_url: https://rubygems.org/search?page={pageno}&query={query}
  1465. results_xpath: /html/body/main/div/a[@class="gems__gem"]
  1466. url_xpath: ./@href
  1467. title_xpath: ./span/h2
  1468. content_xpath: ./span/p
  1469. suggestion_xpath: /html/body/main/div/div[@class="search__suggestions"]/p/a
  1470. first_page_num: 1
  1471. categories: [it, packages]
  1472. disabled: true
  1473. about:
  1474. website: https://rubygems.org/
  1475. wikidata_id: Q1853420
  1476. official_api_documentation: https://guides.rubygems.org/rubygems-org-api/
  1477. use_official_api: false
  1478. require_api_key: false
  1479. results: HTML
  1480. - name: peertube
  1481. engine: peertube
  1482. shortcut: ptb
  1483. paging: true
  1484. # https://instances.joinpeertube.org/instances
  1485. base_url: https://peertube.biz/
  1486. # base_url: https://tube.tardis.world/
  1487. categories: videos
  1488. disabled: true
  1489. timeout: 6.0
  1490. - name: mediathekviewweb
  1491. engine: mediathekviewweb
  1492. shortcut: mvw
  1493. disabled: true
  1494. # - name: yacy
  1495. # engine: yacy
  1496. # shortcut: ya
  1497. # base_url: http://localhost:8090
  1498. # required if you aren't using HTTPS for your local yacy instance'
  1499. # enable_http: true
  1500. # number_of_results: 5
  1501. # timeout: 3.0
  1502. - name: rumble
  1503. engine: rumble
  1504. shortcut: ru
  1505. base_url: https://rumble.com/
  1506. paging: true
  1507. categories: videos
  1508. disabled: true
  1509. - name: wordnik
  1510. engine: wordnik
  1511. shortcut: def
  1512. base_url: https://www.wordnik.com/
  1513. categories: [dictionaries]
  1514. timeout: 5.0
  1515. disabled: false
  1516. - name: woxikon.de synonyme
  1517. engine: xpath
  1518. shortcut: woxi
  1519. categories: [dictionaries]
  1520. timeout: 5.0
  1521. disabled: true
  1522. search_url: https://synonyme.woxikon.de/synonyme/{query}.php
  1523. url_xpath: //div[@class="upper-synonyms"]/a/@href
  1524. content_xpath: //div[@class="synonyms-list-group"]
  1525. title_xpath: //div[@class="upper-synonyms"]/a
  1526. about:
  1527. website: https://www.woxikon.de/
  1528. wikidata_id: # No Wikidata ID
  1529. use_official_api: false
  1530. require_api_key: false
  1531. results: HTML
  1532. language: de
  1533. - name: słownik języka polskiego
  1534. engine: sjp
  1535. shortcut: sjp
  1536. base_url: https://sjp.pwn.pl/
  1537. timeout: 5.0
  1538. disabled: true
  1539. # wikimini: online encyclopedia for children
  1540. # The fulltext and title parameter is necessary for Wikimini because
  1541. # sometimes it will not show the results and redirect instead
  1542. - name: wikimini
  1543. engine: xpath
  1544. shortcut: wkmn
  1545. search_url: https://fr.wikimini.org/w/index.php?search={query}&title=Sp%C3%A9cial%3ASearch&fulltext=Search
  1546. url_xpath: //li/div[@class="mw-search-result-heading"]/a/@href
  1547. title_xpath: //li//div[@class="mw-search-result-heading"]/a
  1548. content_xpath: //li/div[@class="searchresult"]
  1549. categories: general
  1550. disabled: true
  1551. about:
  1552. website: https://wikimini.org/
  1553. wikidata_id: Q3568032
  1554. use_official_api: false
  1555. require_api_key: false
  1556. results: HTML
  1557. language: fr
  1558. - name: brave
  1559. shortcut: brave
  1560. engine: xpath
  1561. paging: true
  1562. first_page_num: 0
  1563. search_url: https://search.brave.com/search?q={query}&offset={pageno}&spellcheck=1
  1564. url_xpath: //a[@class="result-header"]/@href
  1565. title_xpath: //span[@class="snippet-title"]
  1566. content_xpath: //p[1][@class="snippet-description"]
  1567. suggestion_xpath: //div[@class="text-gray h6"]/a
  1568. categories: [general, web]
  1569. about:
  1570. website: https://brave.com/search/
  1571. wikidata_id: Q107355971
  1572. use_official_api: false
  1573. require_api_key: false
  1574. results: HTML
  1575. - name: petalsearch
  1576. shortcut: pts
  1577. engine: xpath
  1578. paging: true
  1579. search_url: https://petalsearch.com/search?query={query}&pn={pageno}
  1580. results_xpath: //div[@class="webpage-content"]/div[@class="title-cont"]/a
  1581. url_xpath: ./@href
  1582. title_xpath: .
  1583. content_xpath: ../../div[@class="webpage-text"]
  1584. suggestion_xpath: //div[@class="related-search-items"]/a
  1585. first_page_num: 1
  1586. disabled: true
  1587. about:
  1588. website: https://petalsearch.com/
  1589. wikidata_id: Q104399280
  1590. use_official_api: false
  1591. require_api_key: false
  1592. results: HTML
  1593. - name: petalsearch images
  1594. engine: petal_images
  1595. shortcut: ptsi
  1596. disabled: true
  1597. timeout: 3.0
  1598. - name: petalsearch news
  1599. shortcut: ptsn
  1600. categories: news
  1601. engine: xpath
  1602. paging: true
  1603. search_url: https://petalsearch.com/search?channel=news&query={query}&pn={pageno}
  1604. results_xpath: //div[@class="news-container"]/div/div/div/a
  1605. url_xpath: ./@href
  1606. title_xpath: ./div
  1607. content_xpath: ../div[@class="news-text"]
  1608. thumbnail_xpath: ../../../../img/@src
  1609. first_page_num: 1
  1610. disabled: true
  1611. about:
  1612. website: https://petalsearch.com/
  1613. wikidata_id: Q104399280
  1614. use_official_api: false
  1615. require_api_key: false
  1616. results: HTML
  1617. # Doku engine lets you access to any Doku wiki instance:
  1618. # A public one or a privete/corporate one.
  1619. # - name: ubuntuwiki
  1620. # engine: doku
  1621. # shortcut: uw
  1622. # base_url: 'https://doc.ubuntu-fr.org'
  1623. # Be careful when enabling this engine if you are
  1624. # running a public instance. Do not expose any sensitive
  1625. # information. You can restrict access by configuring a list
  1626. # of access tokens under tokens.
  1627. # - name: git grep
  1628. # engine: command
  1629. # command: ['git', 'grep', '{{QUERY}}']
  1630. # shortcut: gg
  1631. # tokens: []
  1632. # disabled: true
  1633. # delimiter:
  1634. # chars: ':'
  1635. # keys: ['filepath', 'code']
  1636. # Be careful when enabling this engine if you are
  1637. # running a public instance. Do not expose any sensitive
  1638. # information. You can restrict access by configuring a list
  1639. # of access tokens under tokens.
  1640. # - name: locate
  1641. # engine: command
  1642. # command: ['locate', '{{QUERY}}']
  1643. # shortcut: loc
  1644. # tokens: []
  1645. # disabled: true
  1646. # delimiter:
  1647. # chars: ' '
  1648. # keys: ['line']
  1649. # Be careful when enabling this engine if you are
  1650. # running a public instance. Do not expose any sensitive
  1651. # information. You can restrict access by configuring a list
  1652. # of access tokens under tokens.
  1653. # - name: find
  1654. # engine: command
  1655. # command: ['find', '.', '-name', '{{QUERY}}']
  1656. # query_type: path
  1657. # shortcut: fnd
  1658. # tokens: []
  1659. # disabled: true
  1660. # delimiter:
  1661. # chars: ' '
  1662. # keys: ['line']
  1663. # Be careful when enabling this engine if you are
  1664. # running a public instance. Do not expose any sensitive
  1665. # information. You can restrict access by configuring a list
  1666. # of access tokens under tokens.
  1667. # - name: pattern search in files
  1668. # engine: command
  1669. # command: ['fgrep', '{{QUERY}}']
  1670. # shortcut: fgr
  1671. # tokens: []
  1672. # disabled: true
  1673. # delimiter:
  1674. # chars: ' '
  1675. # keys: ['line']
  1676. # Be careful when enabling this engine if you are
  1677. # running a public instance. Do not expose any sensitive
  1678. # information. You can restrict access by configuring a list
  1679. # of access tokens under tokens.
  1680. # - name: regex search in files
  1681. # engine: command
  1682. # command: ['grep', '{{QUERY}}']
  1683. # shortcut: gr
  1684. # tokens: []
  1685. # disabled: true
  1686. # delimiter:
  1687. # chars: ' '
  1688. # keys: ['line']
  1689. doi_resolvers:
  1690. oadoi.org: 'https://oadoi.org/'
  1691. doi.org: 'https://doi.org/'
  1692. doai.io: 'https://dissem.in/'
  1693. sci-hub.se: 'https://sci-hub.se/'
  1694. sci-hub.do: 'https://sci-hub.do/'
  1695. scihubtw.tw: 'https://scihubtw.tw/'
  1696. sci-hub.st: 'https://sci-hub.st/'
  1697. sci-hub.bar: 'https://sci-hub.bar/'
  1698. sci-hub.it.nf: 'https://sci-hub.it.nf/'
  1699. default_doi_resolver: 'oadoi.org'