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 bangs send one search to one engine

Search
~/tips/tip-searxng-bang-syntax

!wp paris

Uses a ! prefix in SearXNG to search one engine or category directly.

I run SearXNG on my server as my search engine, and the syntax I’d learn first is the bang. Put a word with ! in front of your query and SearXNG searches only that engine or category.

!wp paris
!map paris
!images Wau Holland

Those are the examples from the SearXNG docs. !wp searches Wikipedia only, !map and !images switch to a category. You can chain them, like !map !ddg !wp paris, and abbreviations of engine names work too. To pick a language, use a colon: :fr !wp Wau Holland searches the French Wikipedia. That’s the one I’d change to :nl when I want Dutch results.

There’s also a double bang. !!wfr Wau Holland is an external bang: SearXNG sends you straight to that site’s own search.

With !!, your search goes directly to the external site, and the docs say plainly that SearXNG can’t protect your privacy then. A single ! still runs through your own instance; a double one doesn’t. The same goes for !! with a space and no bang, which jumps straight to the first result, a page the docs say can’t be checked for trustworthiness.

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 !!wfr Wau Holland zipgrep db_host backup.zip pdfgrep -rin "warranty" ~/Documents "fatal error" repo:github-linguist/linguist is:open involves:@me All Search tips (11) All topics

Link