settings.yml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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 : wikidata
  41. engine : wikidata
  42. shortcut : wd
  43. - name : duckduckgo
  44. engine : duckduckgo
  45. shortcut : ddg
  46. # api-key required: http://www.faroo.com/hp/api/api.html#key
  47. # - name : faroo
  48. # engine : faroo
  49. # shortcut : fa
  50. # api_key : 'apikey' # required!
  51. # down - website is under criminal investigation by the UK
  52. # - name : filecrop
  53. # engine : filecrop
  54. # categories : files
  55. # shortcut : fc
  56. - name : 500px
  57. engine : 500px
  58. shortcut : px
  59. - name : flickr
  60. categories : images
  61. shortcut : fl
  62. # You can use the engine using the official stable API, but you need an API key
  63. # See : https://www.flickr.com/services/apps/create/
  64. # engine : flickr
  65. # api_key: 'apikey' # required!
  66. # Or you can use the html non-stable engine, activated by default
  67. engine : flickr-noapi
  68. - name : general-file
  69. engine : generalfile
  70. shortcut : gf
  71. - name : github
  72. engine : github
  73. shortcut : gh
  74. - name : google
  75. engine : google
  76. shortcut : go
  77. - name : google images
  78. engine : google_images
  79. shortcut : goi
  80. - name : google news
  81. engine : google_news
  82. shortcut : gon
  83. - name : openstreetmap
  84. engine : openstreetmap
  85. shortcut : osm
  86. - name : photon
  87. engine : photon
  88. shortcut : ph
  89. # - name : piratebay
  90. # engine : piratebay
  91. # shortcut : tpb
  92. - name : kickass
  93. engine : kickass
  94. shortcut : ka
  95. - name : soundcloud
  96. engine : soundcloud
  97. shortcut : sc
  98. - name : stackoverflow
  99. engine : stackoverflow
  100. shortcut : st
  101. - name : searchcode doc
  102. engine : searchcode_doc
  103. shortcut : scd
  104. - name : searchcode code
  105. engine : searchcode_code
  106. shortcut : scc
  107. - name : startpage
  108. engine : startpage
  109. shortcut : sp
  110. # +30% page load time
  111. # - name : ixquick
  112. # engine : startpage
  113. # base_url : 'https://www.ixquick.com/'
  114. # search_url : 'https://www.ixquick.com/do/search'
  115. - name : twitter
  116. engine : twitter
  117. shortcut : tw
  118. # maybe in a fun category
  119. # - name : uncyclopedia
  120. # engine : mediawiki
  121. # shortcut : unc
  122. # base_url : https://uncyclopedia.wikia.com/
  123. # number_of_results : 5
  124. # tmp suspended - too slow, too many errors
  125. # - name : urbandictionary
  126. # engine : xpath
  127. # search_url : http://www.urbandictionary.com/define.php?term={query}
  128. # url_xpath : //div[@class="word"]//a/@href
  129. # title_xpath : //div[@class="word"]//a
  130. # content_xpath : //div[@class="definition"]
  131. # shortcut : ud
  132. - name : yahoo
  133. engine : yahoo
  134. shortcut : yh
  135. - name : yahoo news
  136. engine : yahoo_news
  137. shortcut : yhn
  138. - name : youtube
  139. engine : youtube
  140. shortcut : yt
  141. - name : dailymotion
  142. engine : dailymotion
  143. shortcut : dm
  144. - name : vimeo
  145. engine : vimeo
  146. locale : en-US
  147. shortcut : vm
  148. # - name : yacy
  149. # engine : yacy
  150. # shortcut : ya
  151. # base_url : 'http://localhost:8090'
  152. # number_of_results : 5
  153. # timeout: 3.0
  154. locales:
  155. en : English
  156. de : Deutsch
  157. hu : Magyar
  158. fr : Français
  159. es : Español
  160. it : Italiano
  161. nl : Nederlands
  162. ja : 日本語 (Japanese)