brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: SearXNG !! jumps straight to the first result or an external search

Search
~/tips/tip-searxng-external-bangs-redirect

!!wfr Wau Holland

Redirects to an external search page, or to the first result like a Feeling Lucky button.

Everyone who uses SearXNG learns the ! prefix to pick an engine. A double !! does something different, and it’s easy to miss.

!!wfr Wau Holland
!! Wau Holland

The first form is an external bang. SearXNG supports the external bangs from DuckDuckGo, so !!wfr goes directly to a Wikipedia search in French. The second form has !! as a separate word inside the query. According to the docs, you are then redirected to the first result. They compare it to the Feeling Lucky feature of DuckDuckGo.

The caveat is the one the docs themselves give. The search is performed directly on the external site, so SearXNG cannot protect your privacy there. With the redirect, the result you land on can’t be verified for trustworthiness either, and the docs say to use it at your own risk. If privacy is why you run SearXNG, keep these for searches where it doesn’t matter.

The syntax page also covers the : prefix for a language, for example :fr !wp Wau Holland.

For comparison, the single ! stays inside SearXNG. The docs show !wp paris for Wikipedia, !map paris for a category and !images Wau Holland for image search. These can be chained, so !map !ddg !wp paris searches the map category, DuckDuckGo and Wikipedia together.

The syntax page doesn’t document site: or other search operators, so I wouldn’t assume SearXNG handles them itself.

Further reading: SearXNG docs: search syntax

Going deeper: Run degoog on Unraid as your own search page, compared with SearXNG and 4get

More Search tips zipgrep db_host backup.zip pdfgrep -rin "warranty" ~/Documents "fatal error" repo:github-linguist/linguist is:open involves:@me The <search> element replaces role="search" on a form All Search tips (11) All topics

Link