返回顶部
s

searxng

Privacy-respecting metasearch using your local SearXNG instance. Search the web, images, news, and more without external API dependencies.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
80
下载量
0
收藏
概述
安装方式
版本历史

searxng

# SearXNG Search Search the web using your local SearXNG instance - a privacy-respecting metasearch engine. This version uses a zero-dependency Python backend. ## Usage Guidelines (AI 必读) 1. **优先使用标准输出**:除非用户明确要求“原始数据”或“JSON”,否则**必须**默认执行不带 `--format json` 的命令。 2. **节省 Token**:标准输出,能显著减少 Context 消耗,避免推理超时。 3. **结果数量**:默认请求 10 条结果即可,除非用户要求更多。 ## AI Constraints (AI 约束) - **Max Results**: 除非用户明确要求,默认使用 `-n 10` 以节省上下文空间。 - **Output Format**: **禁止**在普通对话中默认使用 `--format json`,必须使用标准表格输出。 ## Commands ### Web Search ```bash # Standard search (Top 10) # AI 应默认调用此命令 python3 {baseDir}/scripts/searxng.py search "query" # Custom number of results (Top20) python3 {baseDir}/scripts/searxng.py search "query" -n 20 # JSON Search (Only if requested / 仅在用户要求原始数据或json时使用) # 警告:此模式会产生大量 Token,可能导致处理超时 python3 {baseDir}/scripts/searxng.py search "query" --format json ``` ### Category Search ```bash # Specialized searches python3 {baseDir}/scripts/searxng.py search "query" --category images python3 {baseDir}/scripts/searxng.py search "query" --category news python3 {baseDir}/scripts/searxng.py search "query" --category it python3 {baseDir}/scripts/searxng.py search "query" --category science ``` ### Advanced Options ```bash # Specific language (e.g., zh-CN, en) python3 {baseDir}/scripts/searxng.py search "query" --language zh-CN # Time filtering (day, week, month, year) python3 {baseDir}/scripts/searxng.py search "query" --time-range day ``` ## Configuration **Required:** Configure the SearXNG instance URL using the configuration file **only**. Environment variables are NOT supported. **Configuration file** (`searxng.ini`): ```ini [searxng] url = http://your-searxng-instance.com:port ``` Location: `{baseDir}/scripts/searxng.ini` Note: If the configuration file does not exist or is missing required settings, the script will automatically create a default configuration file and prompt you to modify it. ## Features - 🔒 **Privacy-focused**: Uses your local instance. - 🛠️ **Zero Dependencies**: Pure Python (no `pip install` required). - 🌐 **Multi-engine**: Aggregates Google, Bing, DuckDuckGo, etc. - 📰 **Categorized**: Specific filters for IT, Science, News, and Images. - 🚀 **AI-Ready**: Clean text output specifically formatted for LLM consumption. ## API Uses your local SearXNG JSON API endpoint (no authentication required by default).

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 my-searxng-1776111861 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 my-searxng-1776111861 技能

通过命令行安装

skillhub install my-searxng-1776111861

下载 Zip 包

⬇ 下载 searxng v1.0.0

文件大小: 7.3 KB | 发布时间: 2026-4-14 10:27

v1.0.0 最新 2026-4-14 10:27
Initial release of searxng skill, enabling privacy-friendly local metasearch.

- Search the web, images, news, IT, and science using your own SearXNG instance.
- Zero external dependencies beyond Python 3; no pip install required.
- Standard output is optimized for context efficiency; avoids raw JSON unless explicitly requested.
- Configurable via a simple INI file; local instance URL required.
- Multiple trigger phrases supported in both English and Chinese.
- Advanced options include results count, category, language, and time filtering.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部