✓ Verified 💻 Development ✓ Enhanced Data

Private Web Search Searchxng

Self-hosted private web search using SearXNG.

Rating
4.4 (136 reviews)
Downloads
35,534 downloads
Version
1.0.0

Overview

Self-hosted private web search using SearXNG.

Complete Documentation

View Source →

Private Web Search (SearXNG)

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

Quick Setup

bash
# 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

Basic Search

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

Using the Helper Script

bash
./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

bash
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

Installation

Terminal bash

openclaw install private-web-search-searchxng
    
Copied!

💻Code Examples

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

curl--sl-httplocalhost8080searchqtestformatjson--jq-results0.txt
## Usage

### Basic Search

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

scriptssearchsh-openclaw-ai-5.txt
### Environment Variables

| Variable | Default | Description |
|----------|---------|-------------|
| SEARXNG_PORT | 8080 | Container port |
| SEARXNG_HOST | localhost | Server host |
| BASE_URL | http://localhost:8080 | Public URL |

## Available Engines

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

## Management
example.sh
# 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]'
example.sh
docker start searxng   # Start
docker stop searxng    # Stop
docker logs searxng    # View logs
docker rm searxng -f   # Remove

Tags

#web_and-frontend-development #web

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author adelpro
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install private-web-search-searchxng