settings.yml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. general:
  2. debug : False # Debug mode, only for development
  3. instance_name : "searx" # displayed name
  4. search:
  5. safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict
  6. autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "wikipedia" - leave blank to turn it off by default
  7. server:
  8. port : 8888
  9. bind_address : "127.0.0.1" # address to listen on
  10. secret_key : "ultrasecretkey" # change this!
  11. base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
  12. image_proxy : False # Proxying image results through searx
  13. ui:
  14. themes_path : "" # Custom ui themes path - leave it blank if you didn't change
  15. default_theme : oscar # ui theme
  16. default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
  17. outgoing: # communication with search engines
  18. request_timeout : 2.0 # seconds
  19. useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator
  20. # uncomment below section if you want to use a proxy
  21. # see http://docs.python-requests.org/en/latest/user/advanced/#proxies
  22. # SOCKS proxies are not supported : see https://github.com/kennethreitz/requests/pull/478
  23. # proxies :
  24. # http : http://127.0.0.1:8080
  25. # https: http://127.0.0.1:8080
  26. # uncomment below section only if you have more than one network interface
  27. # which can be the source of outgoing search requests
  28. # source_ips:
  29. # - 1.1.1.1
  30. # - 1.1.1.2
  31. engines:
  32. - name : arch linux wiki
  33. engine : archlinux
  34. shortcut : al
  35. - name : wikipedia
  36. engine : mediawiki
  37. shortcut : wp
  38. base_url : 'https://{language}.wikipedia.org/'
  39. number_of_results : 1
  40. - name : bing
  41. engine : bing
  42. shortcut : bi
  43. - name : bing images
  44. engine : bing_images
  45. shortcut : bii
  46. - name : bing news
  47. engine : bing_news
  48. shortcut : bin
  49. - name : btdigg
  50. engine : btdigg
  51. shortcut : bt
  52. - name : currency
  53. engine : currency_convert
  54. categories : general
  55. shortcut : cc
  56. - name : deezer
  57. engine : deezer
  58. shortcut : dz
  59. - name : deviantart
  60. engine : deviantart
  61. shortcut : da
  62. timeout: 3.0
  63. - name : ddg definitions
  64. engine : duckduckgo_definitions
  65. shortcut : ddd
  66. - name : digg
  67. engine : digg
  68. shortcut : dg
  69. - name : erowid
  70. engine : xpath
  71. search_url : https://www.erowid.org/search.php?q={query}
  72. url_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/@href
  73. title_xpath : //dl[@class="results-list"]/dt[@class="result-title"]/a/text()
  74. content_xpath : //dl[@class="results-list"]/dd[@class="result-details"]
  75. categories : general
  76. shortcut : ew
  77. disabled : True
  78. - name : wikidata
  79. engine : wikidata
  80. shortcut : wd
  81. - name : duckduckgo
  82. engine : duckduckgo
  83. shortcut : ddg
  84. # api-key required: http://www.faroo.com/hp/api/api.html#key
  85. # - name : faroo
  86. # engine : faroo
  87. # shortcut : fa
  88. # api_key : 'apikey' # required!
  89. - name : 500px
  90. engine : www500px
  91. shortcut : px
  92. - name : 1x
  93. engine : www1x
  94. shortcut : 1x
  95. disabled : True
  96. - name : fdroid
  97. engine : fdroid
  98. shortcut : fd
  99. disabled : True
  100. - name : flickr
  101. categories : images
  102. shortcut : fl
  103. # You can use the engine using the official stable API, but you need an API key
  104. # See : https://www.flickr.com/services/apps/create/
  105. # engine : flickr
  106. # api_key: 'apikey' # required!
  107. # Or you can use the html non-stable engine, activated by default
  108. engine : flickr_noapi
  109. - name : frinkiac
  110. engine : frinkiac
  111. shortcut : frk
  112. disabled : True
  113. - name : gigablast
  114. engine : gigablast
  115. shortcut : gb
  116. disabled: True
  117. - name : github
  118. engine : github
  119. shortcut : gh
  120. - name : google
  121. engine : google
  122. shortcut : go
  123. - name : google images
  124. engine : google_images
  125. shortcut : goi
  126. - name : google news
  127. engine : google_news
  128. shortcut : gon
  129. - name : google play apps
  130. engine : xpath
  131. search_url : https://play.google.com/store/search?q={query}&c=apps
  132. url_xpath : //a[@class="title"]/@href
  133. title_xpath : //a[@class="title"]
  134. content_xpath : //a[@class="subtitle"]
  135. categories : files
  136. shortcut : gpa
  137. disabled : True
  138. - name : google play movies
  139. engine : xpath
  140. search_url : https://play.google.com/store/search?q={query}&c=movies
  141. url_xpath : //a[@class="title"]/@href
  142. title_xpath : //a[@class="title"]
  143. content_xpath : //a[@class="subtitle"]
  144. categories : videos
  145. shortcut : gpm
  146. disabled : True
  147. - name : google play music
  148. engine : xpath
  149. search_url : https://play.google.com/store/search?q={query}&c=music
  150. url_xpath : //a[@class="title"]/@href
  151. title_xpath : //a[@class="title"]
  152. content_xpath : //a[@class="subtitle"]
  153. categories : music
  154. shortcut : gps
  155. disabled : True
  156. - name : mixcloud
  157. engine : mixcloud
  158. shortcut : mc
  159. - name : nyaa
  160. engine : nyaa
  161. shortcut : nt
  162. - name : openstreetmap
  163. engine : openstreetmap
  164. shortcut : osm
  165. - name : photon
  166. engine : photon
  167. shortcut : ph
  168. - name : piratebay
  169. engine : piratebay
  170. shortcut : tpb
  171. disabled : True
  172. - name : qwant
  173. engine : qwant
  174. shortcut : qw
  175. categories : general
  176. disabled : True
  177. - name : qwant images
  178. engine : qwant
  179. shortcut : qwi
  180. categories : images
  181. - name : qwant news
  182. engine : qwant
  183. shortcut : qwn
  184. categories : news
  185. - name : qwant social
  186. engine : qwant
  187. shortcut : qws
  188. categories : social media
  189. - name : reddit
  190. engine : reddit
  191. shortcut : re
  192. page_size : 25
  193. timeout : 10.0
  194. disabled : True
  195. - name : kickass
  196. engine : kickass
  197. shortcut : ka
  198. - name : soundcloud
  199. engine : soundcloud
  200. shortcut : sc
  201. - name : stackoverflow
  202. engine : stackoverflow
  203. shortcut : st
  204. - name : searchcode doc
  205. engine : searchcode_doc
  206. shortcut : scd
  207. - name : searchcode code
  208. engine : searchcode_code
  209. shortcut : scc
  210. disabled : True
  211. - name : spotify
  212. engine : spotify
  213. shortcut : stf
  214. - name : subtitleseeker
  215. engine : subtitleseeker
  216. shortcut : ss
  217. # The language is an option. You can put any language written in english
  218. # Examples : English, French, German, Hungarian, Chinese...
  219. # language : English
  220. - name : startpage
  221. engine : startpage
  222. shortcut : sp
  223. timeout : 6.0
  224. disabled : True
  225. - name : ixquick
  226. engine : startpage
  227. base_url : 'https://www.ixquick.com/'
  228. search_url : 'https://www.ixquick.com/do/search'
  229. shortcut : iq
  230. timeout : 6.0
  231. disabled : True
  232. - name : swisscows
  233. engine : swisscows
  234. shortcut : sw
  235. disabled : True
  236. - name : tokyotoshokan
  237. engine : tokyotoshokan
  238. shortcut : tt
  239. timeout : 6.0
  240. disabled : True
  241. - name : torrentz
  242. engine : torrentz
  243. timeout : 5.0
  244. shortcut : to
  245. - name : twitter
  246. engine : twitter
  247. shortcut : tw
  248. # maybe in a fun category
  249. # - name : uncyclopedia
  250. # engine : mediawiki
  251. # shortcut : unc
  252. # base_url : https://uncyclopedia.wikia.com/
  253. # number_of_results : 5
  254. # tmp suspended - too slow, too many errors
  255. # - name : urbandictionary
  256. # engine : xpath
  257. # search_url : http://www.urbandictionary.com/define.php?term={query}
  258. # url_xpath : //div[@class="word"]//a/@href
  259. # title_xpath : //div[@class="word"]//a
  260. # content_xpath : //div[@class="definition"]
  261. # shortcut : ud
  262. - name : yahoo
  263. engine : yahoo
  264. shortcut : yh
  265. - name : yandex
  266. engine : yandex
  267. shortcut : yn
  268. disabled : True
  269. - name : yahoo news
  270. engine : yahoo_news
  271. shortcut : yhn
  272. - name : youtube
  273. shortcut : yt
  274. # You can use the engine using the official stable API, but you need an API key
  275. # See : https://console.developers.google.com/project
  276. # engine : youtube_api
  277. # api_key: 'apikey' # required!
  278. # Or you can use the html non-stable engine, activated by default
  279. engine : youtube_noapi
  280. - name : dailymotion
  281. engine : dailymotion
  282. shortcut : dm
  283. - name : vimeo
  284. engine : vimeo
  285. shortcut : vm
  286. - name : wolframalpha
  287. shortcut : wa
  288. # You can use the engine using the official stable API, but you need an API key
  289. # See : http://products.wolframalpha.com/api/
  290. # engine : wolframalpha_api
  291. # api_key: '' # required!
  292. engine : wolframalpha_noapi
  293. timeout: 6.0
  294. categories : science
  295. #The blekko technology and team have joined IBM Watson! -> https://blekko.com/
  296. # - name : blekko images
  297. # engine : blekko_images
  298. # locale : en-US
  299. # shortcut : bli
  300. # - name : yacy
  301. # engine : yacy
  302. # shortcut : ya
  303. # base_url : 'http://localhost:8090'
  304. # number_of_results : 5
  305. # timeout : 3.0
  306. locales:
  307. en : English
  308. bg : Български (Bulgarian)
  309. de : Deutsch (German)
  310. el_GR : Ελληνικά (Greek_Greece)
  311. eo : Esperanto (Esperanto)
  312. es : Español (Spanish)
  313. fr : Français (French)
  314. he : עברית (Hebrew)
  315. hu : Magyar (Hungarian)
  316. it : Italiano (Italian)
  317. ja : 日本語 (Japanese)
  318. nl : Nederlands (Dutch)
  319. pt : Português (Portuguese)
  320. pt_BR : Português (Portuguese_Brazil)
  321. ro : Română (Romanian)
  322. ru : Русский (Russian)
  323. tr : Türkçe (Turkish)
  324. zh : 中文 (Chinese)