settings.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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. engines:
  11. - name : wikipedia
  12. engine : mediawiki
  13. shortcut : wp
  14. base_url : 'https://{language}.wikipedia.org/'
  15. number_of_results : 1
  16. - name : bing
  17. engine : bing
  18. locale : en-US
  19. shortcut : bi
  20. - name : bing images
  21. engine : bing_images
  22. locale : en-US
  23. shortcut : bii
  24. - name : bing news
  25. engine : bing_news
  26. locale : en-US
  27. shortcut : bin
  28. - name : currency
  29. engine : currency_convert
  30. categories : general
  31. shortcut : cc
  32. - name : deviantart
  33. engine : deviantart
  34. shortcut : da
  35. timeout: 3.0
  36. - name : ddg definitions
  37. engine : duckduckgo_definitions
  38. shortcut : ddd
  39. - name : wikidata
  40. engine : wikidata
  41. shortcut : wd
  42. - name : duckduckgo
  43. engine : duckduckgo
  44. shortcut : ddg
  45. # api-key required: http://www.faroo.com/hp/api/api.html#key
  46. # - name : faroo
  47. # engine : faroo
  48. # shortcut : fa
  49. # api_key : 'apikey' # required!
  50. # down - website is under criminal investigation by the UK
  51. # - name : filecrop
  52. # engine : filecrop
  53. # categories : files
  54. # shortcut : fc
  55. - name : flickr
  56. engine : flickr
  57. categories : images
  58. shortcut : fl
  59. timeout: 3.0
  60. - name : general-file
  61. engine : generalfile
  62. shortcut : gf
  63. - name : github
  64. engine : github
  65. shortcut : gh
  66. - name : google
  67. engine : google
  68. shortcut : go
  69. - name : google images
  70. engine : google_images
  71. shortcut : goi
  72. - name : google news
  73. engine : google_news
  74. shortcut : gon
  75. - name : openstreetmap
  76. engine : openstreetmap
  77. shortcut : osm
  78. - name : piratebay
  79. engine : piratebay
  80. shortcut : tpb
  81. - name : soundcloud
  82. engine : soundcloud
  83. shortcut : sc
  84. - name : stackoverflow
  85. engine : stackoverflow
  86. shortcut : st
  87. - name : startpage
  88. engine : startpage
  89. shortcut : sp
  90. # +30% page load time
  91. # - name : ixquick
  92. # engine : startpage
  93. # base_url : 'https://www.ixquick.com/'
  94. # search_url : 'https://www.ixquick.com/do/search'
  95. - name : twitter
  96. engine : twitter
  97. shortcut : tw
  98. # maybe in a fun category
  99. # - name : uncyclopedia
  100. # engine : mediawiki
  101. # shortcut : unc
  102. # base_url : https://uncyclopedia.wikia.com/
  103. # number_of_results : 5
  104. # tmp suspended - too slow, too many errors
  105. # - name : urbandictionary
  106. # engine : xpath
  107. # search_url : http://www.urbandictionary.com/define.php?term={query}
  108. # url_xpath : //div[@class="word"]//a/@href
  109. # title_xpath : //div[@class="word"]//a
  110. # content_xpath : //div[@class="definition"]
  111. # shortcut : ud
  112. - name : yahoo
  113. engine : yahoo
  114. shortcut : yh
  115. - name : yahoo news
  116. engine : yahoo_news
  117. shortcut : yhn
  118. - name : youtube
  119. engine : youtube
  120. shortcut : yt
  121. - name : dailymotion
  122. engine : dailymotion
  123. shortcut : dm
  124. - name : vimeo
  125. engine : vimeo
  126. locale : en-US
  127. shortcut : vm
  128. # - name : yacy
  129. # engine : yacy
  130. # shortcut : ya
  131. # base_url : 'http://localhost:8090'
  132. # number_of_results : 5
  133. # timeout: 3.0
  134. locales:
  135. en : English
  136. de : Deutsch
  137. hu : Magyar
  138. fr : Français
  139. es : Español
  140. it : Italiano
  141. nl : Nederlands
  142. ja : 日本語 (Japanese)