feat: add SearXNG as primary web search backend#69
Open
Nullislander0 wants to merge 1 commit intoKuberwastaken:mainfrom
Open
feat: add SearXNG as primary web search backend#69Nullislander0 wants to merge 1 commit intoKuberwastaken:mainfrom
Nullislander0 wants to merge 1 commit intoKuberwastaken:mainfrom
Conversation
Adds a three-tier search fallback strategy: 1. SearXNG (self-hosted meta-search) - tried first via SEARXNG_URL env var 2. Brave Search API - tried if SearXNG unavailable 3. DuckDuckGo Instant Answers - last resort SearXNG aggregates results from multiple engines (Google, Bing, DDG, Brave, etc.) and returns engine attribution and relevance scores. Also bumps max results from 10 to 20. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SEARXNG_URLenv var (defaults tohttp://localhost:8888)This keeps the existing search behavior fully intact for users without SearXNG — the only change for them is the higher max results cap.
Test plan
cargo build -p claurst-toolscompiles cleanSEARXNG_URL=http://localhost:8888)BRAVE_SEARCH_API_KEYset (second tier)🤖 Generated with Claude Code