settings_plugins.rst 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. .. _settings plugins:
  2. ============
  3. ``plugins:``
  4. ============
  5. .. attention::
  6. The ``enabled_plugins:`` section in SearXNG's settings no longer exists.
  7. There is no longer a distinction between built-in and external plugin, all
  8. plugins are registered via the settings in the ``plugins:`` section.
  9. .. sidebar:: Further reading ..
  10. - :ref:`plugins admin`
  11. - :ref:`dev plugin`
  12. In SearXNG, plugins can be registered in the :py:obj:`PluginStore
  13. <searx.plugins.PluginStorage>` via a fully qualified class name.
  14. A configuration (:py:obj:`PluginCfg <searx.plugins.PluginCfg>`) can be
  15. transferred to the plugin, e.g. to activate it by default / *opt-in* or
  16. *opt-out* from user's point of view.
  17. Please note that some plugins, such as the :ref:`hostnames plugin` plugin,
  18. require further configuration before they can be made available for selection.
  19. built-in plugins
  20. ================
  21. The built-in plugins are all located in the namespace `searx.plugins`.
  22. .. code:: yaml
  23. plugins:
  24. searx.plugins.calculator.SXNGPlugin:
  25. active: true
  26. searx.plugins.hash_plugin.SXNGPlugin:
  27. active: true
  28. searx.plugins.self_info.SXNGPlugin:
  29. active: true
  30. searx.plugins.tracker_url_remover.SXNGPlugin:
  31. active: true
  32. searx.plugins.unit_converter.SXNGPlugin:
  33. active: true
  34. searx.plugins.ahmia_filter.SXNGPlugin:
  35. active: true
  36. searx.plugins.hostnames.SXNGPlugin:
  37. active: true
  38. searx.plugins.oa_doi_rewrite.SXNGPlugin:
  39. active: false
  40. searx.plugins.tor_check.SXNGPlugin:
  41. active: false
  42. .. _settings external_plugins:
  43. external plugins
  44. ================
  45. .. _Only show green hosted results:
  46. https://github.com/return42/tgwf-searx-plugins/
  47. SearXNG supports *external plugins* / there is no need to install one, SearXNG
  48. runs out of the box.
  49. - `Only show green hosted results`_
  50. - ..