Add SearXNG as configurable search provider#1534
Add SearXNG as configurable search provider#1534jaycollett wants to merge 1 commit intolinuxserver:2.xfrom
Conversation
- Add SearXNG entry to searchproviders.yaml - Add searx_url setting for user-configurable instance URL - Modify Search::providerDetails() to inject user's SearXNG URL - Add English translations for new setting and provider SearXNG is a self-hosted metasearch engine, so unlike other providers the URL cannot be hardcoded. This implementation allows users to configure their instance URL in settings, which is then dynamically injected when performing searches.
|
Closing this PR in favor of implementing SearXNG as a proper search provider app in the Heimdall-Apps repo, following the standard SearchInterface pattern. |
|
Reopening this PR after investigating the alternative approach of implementing SearXNG as a SearchInterface app in Heimdall-Apps. Why the Heimdall-Apps approach doesn't work: The Why this PR's approach is appropriate: Since SearXNG requires a user-configurable URL (unlike fixed providers like Google/Bing), adding it to
A separate fix for the |
Summary
This PR adds SearXNG as a search provider option with user-configurable instance URL support.
SearXNG is a privacy-respecting, self-hosted metasearch engine. Unlike Google/Bing/DuckDuckGo which have fixed URLs, SearXNG instances are self-hosted with user-specific URLs. This implementation:
Changes
storage/app/searchproviders.yamldatabase/seeders/SettingsSeeder.phpsearx_urlsetting (ID 15), add to provider optionsapp/Search.phpproviderDetails()to inject user's configured URLlang/en/app.phpUser Workflow
https://your-searx-instance.comhttps://your-searx-instance.com/search?q=queryTesting