mirror of
https://github.com/open-webui/computer.git
synced 2026-11-05 01:17:24 +00:00
[GH-ISSUE #98] feat: add SearXNG as a search provider #46
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/computer#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @0be30301 on GitHub (Jul 6, 2026).
Original GitHub issue: https://github.com/open-webui/computer/issues/98
Adds SearXNG as a web search provider alongside Exa, Brave, Firecrawl, Perplexity, Tavily, Chat Completions, and DuckDuckGo.
Branch: https://github.com/open-webui/computer/compare/main...0be30301💻feature/web_searxng?expand=1
Changes
Output - query capital of France:
cptr/utils/web/searxng.py— New module. Queries the SearXNG JSON API (/search?format=json) using the same pattern asduckduckgo.py(httpx,try/except,"Mozilla/5.0 (compatible; cptr/1.0)"user-agent). Surfaces four response layers:answers→ rendered as blockquote (> ...)infoboxes→ rendered as label/value attribute blocksresults→ rendered as**Title**\nURL\nSnippet(sorted by score descending)suggestions→ appended as comma-separated listNo API key.
base_urlis required (no default — SearXNG is always self-hosted).cptr/utils/web/search.py— Imported the module, addedSEARXNG_BASE_URLconfig/env var, added dispatch branch for both explicit ("searxng") and auto mode (priority 6, before DuckDuckGo).cptr/frontend/src/lib/components/Admin/Web.svelte— AddedsearxngBaseUrlstate, config load/save, dropdown option, and a URL text input with hint.cptr/frontend/src/lib/i18n/locales/en.json— Added 3 keys for the UI strings.Config
SEARXNG_BASE_URLweb.searxng_base_urlAuto-mode priority
@owui-terminator[bot] commented on GitHub (Jul 6, 2026):
🔍 Related Issues Found
I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:
🟣 #67 feat: configurable perplexity base URL for web search - litellm is perplexity search API compatible
Related because it adds another configurable web search provider and introduces a provider-specific base URL setting in the same search-provider configuration area. The new SearXNG feature similarly adds a new provider, a required base URL, and auto-mode integration.
by Classic298
🟣 #32 feat: perplexity_search aka litellm as web search provider
Related because it is an earlier web search provider addition in the same subsystem, showing the same pattern of extending the provider list and search dispatch logic. It is not SearXNG-specific, but it is directly adjacent to this feature.
by Classic298
💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead.
This comment was generated automatically. React with 👍 if helpful, 👎 if not.
@tjbck commented on GitHub (Jul 6, 2026):
Should be addressed!