Coding

private-web-search-searchxng

Try it

Self-hosted private web search using SearXNG. Use when privacy is important, external search APIs are blocked or paid, or you need search without tracking.

What it does

Self-hosted private web search using SearXNG. Use when privacy is important, external search APIs are blocked or paid, or you need search without tracking.

The skill document

Private Web Search (SearXNG)

Privacy-respecting, self-hosted metasearch engine for AI agents.

Quick Setup

# 1. Start container
docker run -d --name searxng -p 8080:8080 -e BASE_URL=http://localhost:8080/ searxng/searxng

# 2. Enable JSON API
docker exec searxng sed -i 's/  formats:/  formats:\n    - json/' /etc/searxng/settings.yml
docker restart searxng

# 3. Verify
curl -sL "http://localhost:8080/search?q=test&format=json" | jq '.results[0]'

Usage

curl -sL "http://localhost:8080/search?q=YOUR_QUERY&format=json" | jq '.results[:10]'

Using the Helper Script

./scripts/search.sh "openclaw ai" 5

Environment Variables

VariableDefaultDescription
SEARXNG_PORT8080Container port
SEARXNG_HOSTlocalhostServer host
BASE_URLhttp://localhost:8080Public URL

Available Engines

Google, Bing, DuckDuckGo, Brave, Startpage, Wikipedia, and more.

Management

docker start searxng   # Start
docker stop searxng    # Stop
docker logs searxng    # View logs
docker rm searxng -f   # Remove

Troubleshooting

IssueSolution
No resultsCheck docker logs searxng
403 ForbiddenEnable JSON format (step 2)
Connection refusedRun docker start searxng

Related skills

Quota-aware multi-provider web search for OpenClaw. Supports 12 search providers with automatic failover, task-level deep search (@dual/@deep), real quota ch...

36 installs1 stars

Multi-engine web search (SearXNG) + browsing/scraping (Camofox, CloakBrowser). Use whenever you need to do web research.

Search the live web through Moonshot's builtin $web_search tool and return a concise answer. Prefer this skill for OpenClaw live web search instead of callin...

22 installs

Smart web search with auto region detection, query intent rewriting, and dual-tier content fetching. Works in both China and international networks.

9 installs