settings.yml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. server:
  2. port : 8888
  3. secret_key : "ultrasecretkey" # change this!
  4. debug : False # Debug mode, only for development
  5. request_timeout : 2.0 # seconds
  6. base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
  7. themes_path : "" # Custom ui themes path
  8. default_theme : default # ui theme
  9. https_rewrite : True # Force rewrite result urls. See searx/https_rewrite.py
  10. useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator
  11. engines:
  12. - name : wikipedia
  13. engine : mediawiki
  14. shortcut : wp
  15. base_url : 'https://{language}.wikipedia.org/'
  16. number_of_results : 1
  17. - name : bing
  18. engine : bing
  19. locale : en-US
  20. shortcut : bi
  21. - name : bing images
  22. engine : bing_images
  23. locale : en-US
  24. shortcut : bii
  25. - name : bing news
  26. engine : bing_news
  27. locale : en-US
  28. shortcut : bin
  29. - name : currency
  30. engine : currency_convert
  31. categories : general
  32. shortcut : cc
  33. - name : deviantart
  34. engine : deviantart
  35. shortcut : da
  36. timeout: 3.0
  37. - name : ddg definitions
  38. engine : duckduckgo_definitions
  39. shortcut : ddd
  40. - name : digg
  41. engine : digg
  42. shortcut : dg
  43. - name : wikidata
  44. engine : wikidata
  45. shortcut : wd
  46. - name : duckduckgo
  47. engine : duckduckgo
  48. shortcut : ddg
  49. # api-key required: http://www.faroo.com/hp/api/api.html#key
  50. # - name : faroo
  51. # engine : faroo
  52. # shortcut : fa
  53. # api_key : 'apikey' # required!
  54. # down - website is under criminal investigation by the UK
  55. # - name : filecrop
  56. # engine : filecrop
  57. # categories : files
  58. # shortcut : fc
  59. - name : 500px
  60. engine : 500px
  61. shortcut : px
  62. - name : flickr
  63. categories : images
  64. shortcut : fl
  65. # You can use the engine using the official stable API, but you need an API key
  66. # See : https://www.flickr.com/services/apps/create/
  67. # engine : flickr
  68. # api_key: 'apikey' # required!
  69. # Or you can use the html non-stable engine, activated by default
  70. engine : flickr-noapi
  71. - name : general-file
  72. engine : generalfile
  73. shortcut : gf
  74. - name : github
  75. engine : github
  76. shortcut : gh
  77. - name : google
  78. engine : google
  79. shortcut : go
  80. - name : google images
  81. engine : google_images
  82. shortcut : goi
  83. - name : google news
  84. engine : google_news
  85. shortcut : gon
  86. - name : openstreetmap
  87. engine : openstreetmap
  88. shortcut : osm
  89. - name : photon
  90. engine : photon
  91. shortcut : ph
  92. # - name : piratebay
  93. # engine : piratebay
  94. # shortcut : tpb
  95. - name : kickass
  96. engine : kickass
  97. shortcut : ka
  98. - name : soundcloud
  99. engine : soundcloud
  100. shortcut : sc
  101. - name : stackoverflow
  102. engine : stackoverflow
  103. shortcut : st
  104. - name : searchcode doc
  105. engine : searchcode_doc
  106. shortcut : scd
  107. - name : searchcode code
  108. engine : searchcode_code
  109. shortcut : scc
  110. - name : subtitleseeker
  111. engine : subtitleseeker
  112. shortcut : ss
  113. # The language is an option. You can put any language written in english
  114. # Examples : English, French, German, Hungarian, Chinese...
  115. # language : English
  116. - name : startpage
  117. engine : startpage
  118. shortcut : sp
  119. # +30% page load time
  120. # - name : ixquick
  121. # engine : startpage
  122. # base_url : 'https://www.ixquick.com/'
  123. # search_url : 'https://www.ixquick.com/do/search'
  124. - name : twitter
  125. engine : twitter
  126. shortcut : tw
  127. # maybe in a fun category
  128. # - name : uncyclopedia
  129. # engine : mediawiki
  130. # shortcut : unc
  131. # base_url : https://uncyclopedia.wikia.com/
  132. # number_of_results : 5
  133. # tmp suspended - too slow, too many errors
  134. # - name : urbandictionary
  135. # engine : xpath
  136. # search_url : http://www.urbandictionary.com/define.php?term={query}
  137. # url_xpath : //div[@class="word"]//a/@href
  138. # title_xpath : //div[@class="word"]//a
  139. # content_xpath : //div[@class="definition"]
  140. # shortcut : ud
  141. - name : yahoo
  142. engine : yahoo
  143. shortcut : yh
  144. - name : yahoo news
  145. engine : yahoo_news
  146. shortcut : yhn
  147. - name : youtube
  148. engine : youtube
  149. shortcut : yt
  150. - name : dailymotion
  151. engine : dailymotion
  152. shortcut : dm
  153. - name : vimeo
  154. engine : vimeo
  155. locale : en-US
  156. shortcut : vm
  157. # - name : yacy
  158. # engine : yacy
  159. # shortcut : ya
  160. # base_url : 'http://localhost:8090'
  161. # number_of_results : 5
  162. # timeout: 3.0
  163. locales:
  164. en : English
  165. de : Deutsch
  166. hu : Magyar
  167. fr : Français
  168. es : Español
  169. it : Italiano
  170. nl : Nederlands
  171. ja : 日本語 (Japanese)