Open Source 开源项目 1h ago Updated 1h ago 更新于 1小时前 57

MiniSearch MiniSearch

MiniSearch is a self-hosted, privacy-first search engine with an integrated AI assistant that runs entirely within a single Docker container AI inference can run locally in the browser via WebGPU/CPU (models 135M–4B parameters) or connect to any OpenAI-compatible API backend Search results are aggregated by a bundled SearXNG metasearch instance, reranked locally by a cross-encoder model, and cached in the browser All data—search history, cached results, and conversations—stays in the user's brow MiniSearch是自托管AI搜索引擎,AI推理可在浏览器内完成,无需API密钥或第三方服务 采用SearXNG聚合多搜索引擎结果,本地交叉编码器重排序,单Docker容器部署 隐私优先设计:无追踪、无遥测、无账户,搜索历史和聊天数据仅存储在浏览器IndexedDB 支持多种AI后端:浏览器内WebGPU/CPU推理(135M-4B参数模型)、Ollama、LM Studio、vLLM、llama.cpp及AI Horde 提供可验证的搜索结果,支持引用溯源、对话记忆、推理过程展示和语音朗读

68
Hot 热度
62
Quality 质量
58
Impact 影响力

Analysis 深度分析

TL;DR

  • MiniSearch is a self-hosted, privacy-first search engine with an integrated AI assistant that runs entirely within a single Docker container
  • AI inference can run locally in the browser via WebGPU/CPU (models 135M–4B parameters) or connect to any OpenAI-compatible API backend
  • Search results are aggregated by a bundled SearXNG metasearch instance, reranked locally by a cross-encoder model, and cached in the browser
  • All data—search history, cached results, and conversations—stays in the user's browser with zero tracking, telemetry, or third-party exposure
  • The system supports configurable retention, activity analytics, browser default-engine integration, Raycast triggering, and Hugging Face Spaces deployment

Why It Matters

MiniSearch addresses a growing demand for private, self-hosted AI search tools that eliminate reliance on third-party APIs and cloud providers, giving users full control over their data and inference pipeline. Its dual-mode architecture—browser-local inference plus optional remote API fallback—demonstrates a practical pattern for balancing privacy, performance, and accessibility in AI-powered search applications.

Technical Details

  • Architecture: Single Docker container housing an app server, bundled SearXNG metasearch instance, and an ONNX Runtime cross-encoder reranker; the browser runs a separate UI layer with IndexedDB for local storage
  • Inference options: Models from 135M to 4B parameters run in-browser via WebGPU (with CPU fallback); alternatively, users can connect Ollama, LM Studio, vLLM, llama.cpp servers, hosted providers, or the AI Horde via OpenAI-compatible API
  • Search pipeline: Queries hit the server, SearXNG aggregates text and image results from multiple engines, the cross-encoder reranks results locally, and responses are cached in the browser
  • AI response flow: The assistant reads top reranked results and generates cited answers with conversation memory; model reasoning can be revealed on demand and responses can be read aloud
  • Deployment & security: Published as a Docker image with SBOM attestations and provenance; supports digest-pinned builds, access key protection, and Hugging Face Spaces duplication; Apache 2.0 licensed

Industry Insight

  • The browser-based WebGPU inference model lowers the barrier to private AI adoption by eliminating the need for dedicated GPU servers, making self-hosted AI search viable for individual researchers and small teams
  • The separation of search aggregation (server-side) from inference (browser or remote API) represents a modular architecture that can be adapted for other privacy-sensitive AI applications beyond search
  • As regulatory pressure around data privacy increases, tools like MiniSearch that guarantee zero telemetry and local-only storage will become increasingly attractive to enterprise and compliance-conscious users

TL;DR

  • MiniSearch是自托管AI搜索引擎,AI推理可在浏览器内完成,无需API密钥或第三方服务
  • 采用SearXNG聚合多搜索引擎结果,本地交叉编码器重排序,单Docker容器部署
  • 隐私优先设计:无追踪、无遥测、无账户,搜索历史和聊天数据仅存储在浏览器IndexedDB
  • 支持多种AI后端:浏览器内WebGPU/CPU推理(135M-4B参数模型)、Ollama、LM Studio、vLLM、llama.cpp及AI Horde
  • 提供可验证的搜索结果,支持引用溯源、对话记忆、推理过程展示和语音朗读

为什么值得看

MiniSearch展示了本地AI推理与隐私搜索结合的工程实践,为AI从业者提供了无需依赖云端API的完整搜索解决方案参考。其架构设计对构建自托管AI应用、保护用户数据隐私具有直接借鉴价值。

技术解析

  • 架构设计:浏览器端包含UI、本地AI模型(WebGPU/CPU)和IndexedDB存储;Docker容器内运行应用服务器、SearXNG元搜索和ONNX Runtime重排序器,支持可选的远程OpenAI兼容API
  • 搜索流程:查询经应用服务器转发至SearXNG聚合多引擎结果,通过交叉编码器本地重排序后缓存,AI助手读取结果生成带引用的答案
  • 模型支持:内置135M至4B参数的精选模型,优先使用WebGPU推理,降级至CPU;同时支持连接外部推理后端
  • 部署方式:单容器Docker部署(端口7860),支持Docker Compose、源码构建和Hugging Face Spaces托管,镜像携带SBOM和来源证明

行业启示

  • 本地AI推理正从概念验证走向实用化,MiniSearch证明浏览器端模型推理可满足日常搜索场景,降低对云端API的依赖和成本
  • 隐私保护成为AI产品的差异化竞争力,"无追踪、无遥测"设计契合日益严格的数据合规要求,适合企业和个人敏感场景
  • 自托管AI搜索的完整架构(搜索聚合+重排序+本地推理)为开发者提供了可复用的参考模式,加速类似产品的开发迭代

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Open Source 开源 LLM 大模型 RAG 检索增强生成 Embedding Model 嵌入模型