searxng-local
星标13
分支33
更新时间2026年2月24日 11:53
Web search via a locally-deployed SearXNG meta-search engine
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
文件资源管理器
2 个文件SKILL.md
readonly菜单
Web search via a locally-deployed SearXNG meta-search engine
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | searxng-local |
| description | Web search via a locally-deployed SearXNG meta-search engine |
| version | 1.0.0 |
| metadata | {"openclaw":{"requires":{"env":["SEARXNG_URL"]},"primaryEnv":"SEARXNG_URL"}} |
You have access to a SearXNG meta-search engine for web searches. SearXNG is already running as a separate Railway service — no installation, Docker setup, or configuration is needed.
Read the SEARXNG_URL environment variable to get the base URL, then make HTTP requests to the JSON API:
GET ${SEARXNG_URL}/search?q=YOUR_QUERY&format=json
curl "${SEARXNG_URL}/search?q=railway+deployment+best+practices&format=json"
# Search only IT-related results
curl "${SEARXNG_URL}/search?q=docker+compose+volumes&format=json&categories=it"
# Search for images
curl "${SEARXNG_URL}/search?q=architecture+diagram&format=json&categories=images"
curl "${SEARXNG_URL}/search?q=kubernetes+tutorial&format=json&language=en"
The JSON response contains a results array. Each result has:
title — Page titleurl — Direct link to the pagecontent — Text snippet / descriptionengine — Which search engine provided this resultcategory — Result category (general, it, images, etc.){
"query": "railway deployment",
"results": [
{
"title": "Railway Documentation",
"url": "https://docs.railway.com",
"content": "Railway is an infrastructure platform...",
"engine": "google",
"category": "general"
}
]
}
localhost or 127.0.0.1 — SearXNG runs on a separate Railway service accessible via private networking.$SEARXNG_URL from the environment to get the correct address.format=json query parameter is required — without it, SearXNG returns HTML.| Symptom | Cause | Fix |
|---|---|---|
| Connection refused | SearXNG service not running | Check Railway dashboard — the SearXNG service may need a redeploy |
| Empty results | Query too specific | Try broader search terms or remove category filter |
SEARXNG_URL is empty | Environment variable not set | Check Railway service variables — SEARXNG_URL should reference the SearXNG service |