SearXNG search results on the self-hosted Yorili Search instance

I self-hosted SearXNG on YunoHost — here is why I am slowly quitting Google

I used to open a new tab, type a question and let one company decide what I saw. Now that tab points at my own server. I installed SearXNG through YunoHost, gave it the engines and categories I actually use, and I am slowly moving my daily searches away from the big names and onto my own instance.

My instance lives at search.yorili.com and calls itself Yorili Search. It is a metasearch engine: it does not crawl the web itself, it asks other search services and merges the answers. The difference is that the request goes through my server, on my terms, with the engines I chose.

SearXNG search results on the self-hosted Yorili Search instance
My own results page: many engines, one place, no personal search profile.

Why I wanted my own search engine

A mainstream search engine is a deal: you get fast answers, it gets a detailed record of what you wondered about, clicked and bought. I got tired of that trade. SearXNG flips it around. The community describes it as a free internet metasearch engine that aggregates results from more than 70 search services without tracking or profiling users. You run the front door; the upstream engines never see one consistent profile of you.

I did not want a new index of the web. I wanted a new front door to the existing ones — one I control.

Installing SearXNG in YunoHost

The YunoHost app store has SearXNG as a maintained app, so the hard parts — the Python environment, systemd service, reverse proxy, TLS certificate and SSO — are handled for you. I installed it on its own subdomain with an empty path.

If you prefer the command line, yunohost app install searxng gets you the same app, and yunohost app info searxng tells you the domain, path and version afterwards. YunoHost registers it as a service, so it can be restarted with yunohost service restart searxng.

The interesting files are split in two places. App-level settings are under /etc/yunohost/apps/searxng/settings.yml, while the actual SearXNG configuration is /var/www/searxng/settings.yml. I also pointed the UI at a custom template directory, /var/www/searxng/templates-custom, so the look and the OpenSearch metadata can be adjusted without touching the upstream source.

Tweaking the configuration

SearXNG has no admin dashboard, so this is a text file and a service restart. My file starts with use_default_settings: true, which means all the built-in engines are available and I only override the ones I care about. The important parts look like this — with the secret key deliberately left out:

general:
  instance_name: "Yorili Search"

search:
  default_lang: "auto"
  safe_search: 2
  autocomplete: 'google'
  formats: [html, json]

server:
  base_url: https://search.yorili.com/Code language: JavaScript (javascript)

Two things are worth calling out. safe_search: 2 keeps results filtered, and formats: [html, json] exposes a JSON API so scripts and coding agents can query my instance the same way a browser does. The secret_key lives in the same file and should never be pasted into a screenshot, a repo or a tutorial.

I kept autocomplete pointed at Google for suggestion quality. That is one request that still leaves the house, so if your goal is strict separation, turn it off or point it elsewhere. The rest of the search results come from whichever engines you enable.

Aggregating the powerful engines

Here is the part I enjoyed. The running instance exposes 258 engines across 34 categories. In general search alone there are 53 engines; IT has 49, images 36, videos 31, web 18, news 14, science 11, music 10 and repositories 10. The big names are all available to enable: Google, Bing, DuckDuckGo, Brave, Yandex, Yahoo and Qwant, plus specialised sources such as GitHub, arXiv, YouTube, IMDb and WolframAlpha.

My overrides give the ones I reach for most a short shortcut and, for the image engines, a higher weight so they show up sooner in the merged results:

  - name: google
    engine: google
    shortcut: gg
    disabled: false

  - name: duckduckgo
    engine: duckduckgo
    shortcut: ddg

  - name: yandex
    engine: yandex
    shortcut: yd
    disabled: false

  - name: google images
    engine: google_images
    shortcut: goi
    weight: 3

  - name: yandex images
    engine: yandex
    categories: images
    shortcut: ydi
    weight: 3Code language: JavaScript (javascript)

Shortcuts mean a single query can be sent to one engine when I want a second opinion, instead of opening another site. Weights are the quiet lever: an engine with a higher weight contributes more strongly to the combined ranking. That is how I got the image results closer to the sources I trust without giving up the breadth of the aggregate.

The point is not to find the one perfect engine. It is to stop depending on one company’s ranking for every kind of question.

The category tabs are what turned this from an experiment into a daily driver. Alongside general and web search, my instance offers images, videos, news, music, science and scientific publications, files, books, packages, apps, repositories, software wikis, IT, social media, stock images, icons, maps, weather, currency, dictionaries, define, translate, lyrics, movies, radio, blogs, Q&A, wikimedia and shopping.

  • General and web: Google, Bing, DuckDuckGo, Brave, Yandex, Yahoo, Qwant and others merged into one list.
  • Images and video: Google, Bing, DuckDuckGo, Yandex and Qwant variants, plus Flickr, Openverse, YouTube and more.
  • Technical work: GitHub, Arch Linux Wiki, NixOS Wiki, Docker Hub, F-Droid, package indexes and repository search.
  • Research: arXiv, Crossref, Europe PMC, WolframAlpha and other science sources.
  • Everyday extras: weather, maps, dictionaries, currency, books, lyrics, movies, radio and shopping.

Plugins add small conveniences on top: tracker URL removal, a hash plugin, Self Information, an Ahmia blacklist, calculator, unit converter, infinite scroll, DOI rewriting, time-zone support and a Tor check. The tracker URL remover alone makes results noticeably cleaner.

Making it my default

A search engine is only useful if you actually use it. The custom templates include an OpenSearch description, so the instance can be added as a browser’s default search engine in Firefox or Chromium. After that, the address bar goes straight to my server. The JSON endpoint gives me the other half: I can query my own search from a terminal or an agent instead of hard-coding somebody else’s API.

The instance is marked private rather than public, so it is mine to use rather than an open endpoint for strangers. That also means I am responsible for keeping it updated — the YunoHost app versions and service status make that part easy to check.

Slowly moving away

I did not quit the big engines overnight. I started with the boring searches: package names, documentation, quick facts. Then images and video. Then news. Each time I found the aggregated result good enough that opening another site felt like unnecessary work. What is left is a small set of queries where I still want a specific engine’s ranking, and those are now a deliberate choice rather than a default.

The benefit is not a magical answer. It is that the default no longer belongs to somebody else.

There are honest downsides. Some upstream engines dislike servers and occasionally return errors. An aggregate can be slower than a single direct query. And “private instance” does not mean the upstream engines learn nothing — it means they no longer get one continuous, personally identifiable history from you. If you point autocomplete at another provider for suggestions, remember that request too.

Verdict

Self-hosting search used to sound like a weekend project with a lot of moving parts. On YunoHost it is an app install, a settings file and a restart. What you get is a search engine that reflects your priorities: 258 engines, dozens of categories, shortcuts, weights, plugins, an API and no profile being built about you in the process. I am not finished with the big engines, but I no longer need them by default — and that is the point.

Resources

Written in November 2026 against SearXNG app version 2026.11.21~ynh1. Engine lists, shortcuts and category names change as the project and upstream services change — check your own instance’s /config endpoint for the current view.

Similar Posts