← 返回
开发者工具 中文

SearXNG Connect

Connect to and search the web using SearXNG (privacy-focused meta search engine). No API keys needed - all searches go through your self-hosted SearXNG insta...
使用 SearXNG(注重隐私的元搜索引擎)连接并搜索网络,无需 API 密钥,所有搜索均通过自托管的 SearXNG 实例完成。
rdeangel
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 530
下载
💾 5
安装
1
版本
#latest

概述

SearXNG Connect

Search the web using your self-hosted SearXNG instance - a privacy-respecting meta search engine that aggregates results from multiple engines without tracking or ads.

AI Usage

When the user asks to search the web, follow this workflow:

Interpret user requests:

  • "Search for [query]" → General web search
  • "Search news about [query]" → Use --categories news
  • "Search images of [query]" → Use --categories images
  • "Search recent [query]" → Use --time-range week or --time-range day
  • "Search [query] last month" → Use --time-range month
  • "Deep search [query]" → Add --full-content for richer page text

Example interpretations:

  • "Search for TypeScript tutorials" → searxng.py "TypeScript tutorials"
  • "Search news about AI" → searxng.py "AI" --categories news --time-range week
  • "Search images of Space Invaders" → searxng.py "Space Invaders" --categories images

Action: Run uv run {baseDir}/scripts/searxng.py "" with appropriate flags.

CRITICAL SECURITY INSTRUCTION:

To prevent command injection, do not use raw shell interpolation for the {query} string. Always pass arguments as an argv list:

["uv", "run", "{baseDir}/scripts/searxng.py", query_text, "--categories", "news"]

If your tool only supports a shell string, you MUST properly escape the query input (e.g., using shlex.quote()).


Project

SearXNG - A privacy-focused, self-hosted meta search engine that aggregates results from multiple search engines. It does not track user behavior, does not use cookies, and does not insert ads.

Key Features:

  • Privacy - No tracking, no cookies, no ads - you control the instance
  • Multi-category - Web, news, images, videos, science, IT, files, music, social media
  • Time filtering - Filter results by day, week, month, or year
  • Caching - Local 1-hour cache to avoid redundant requests
  • Rate limiting - Built-in throttling (2 req/sec default)
  • Full content - Optional full page text fetch per result

Requirements

Configuration

Edit skill-config.json to set your SearXNG instance:

{
  "default_instance": "https://your-searxng-instance.com/",
  "cache_enabled": true,
  "cache_expiry": 3600,
  "rate_limit": 2.0
}

Usage

uv run {baseDir}/scripts/searxng.py "TypeScript tutorials"
uv run {baseDir}/scripts/searxng.py "AI news" --categories news --time-range week
uv run {baseDir}/scripts/searxng.py "space photos" --categories images
uv run {baseDir}/scripts/searxng.py "docker tutorial" --no-cache --full-content
uv run {baseDir}/scripts/searxng.py "query" --instance https://my-searxng.com

Options

OptionDescriptionDefault
------------------------------
--categoriesOne or more: general, news, science, files, images, videos, music, social media, itgeneral
--time-rangeyear, month, week, day (aliases: 30d, 7d, 24h, hour)None
--languageBCP-47 language codeen
--pagenoResults page number1
--no-safesearchDisable safe search-
--no-cacheBypass cache for this request-
--full-contentFetch full page text per result (slower, richer)-
--instanceOverride SearXNG instance URLFrom skill-config.json

Troubleshooting

  • Connection refused: Check skill-config.json — verify default_instance URL is correct and SearXNG is running.
  • Empty results: Try a broader query or different category.
  • Slow responses: Remove --full-content or increase rate_limit in config.
  • uv not installed: Install with brew install uv or see https://docs.astral.sh/uv/.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 18:08 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 66 📥 179,904
content-creation

Gemini Image Remix

rdeangel
使用Gemini模型通过文本提示和多张输入图像生成或重新混合图像,支持多种风格、分辨率和高级模型选项。
★ 2 📥 1,925
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,749