searx / searx

Privacy-respecting metasearch engine
https://searx.github.io/searx/
GNU Affero General Public License v3.0
13.37k stars 1.71k forks source link

[FR] Hide categories like Science, Social media #2828

Open mizzunet opened 3 years ago

mizzunet commented 3 years ago

It would be great if an option in preference to hide those categories not needed to the user, for example, in my case, I'd never want Social Media, Science, It, News, Music

Screenshot_20210525-174952_1

unixfox commented 3 years ago

You can already do that in the settings.yml: https://github.com/searx/searx/blob/master/searx/settings.yml#L46 by omitting the categories that you don't want to have displayed. Is this what you want?

mizzunet commented 3 years ago

You can already do that in the settings.yml: https://github.com/searx/searx/blob/master/searx/settings.yml#L46 by omitting the categories that you don't want to have displayed. Is this what you want?

Oh cool. Well, I use a public instance, searx.bar. Would be awesome if it could be done from "preferences" I think

dylode commented 3 years ago

You can already do that in the settings.yml: https://github.com/searx/searx/blob/master/searx/settings.yml#L46 by omitting the categories that you don't want to have displayed. Is this what you want?

ui:
    static_path : "" # Custom static path - leave it blank if you didn't change
    templates_path : "" # Custom templates path - leave it blank if you didn't change
    default_theme : oscar # ui theme
    default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section
    theme_args :
        oscar_style : logicodev-dark # default style of oscar
#   results_on_new_tab: False  # Open result links in a new tab by default
    categories_order :
        - general
        - images

For me it still shows the other categories. I only want general and images.

mizzunet commented 3 years ago

These can be hidden by disabling all of it's engines on client side