atgehrhardt
@atgehrhardt
ยท
a year ago
ยท
2 years ago
Live Search
Last Updated
a year ago
Created
2 years ago
Function
pipe
v1.0.4
Name
Live Search
Downloads
22K+
Saves
54+
Description
Allows directly searching web engines. Currently Supports SearxNG, DuckDuckGo (Scraping), Google (Scraping). Not any engines that require scraping will rate limit you aggressively.

๐ŸŒ Live Search Plugin for Open WebUI

Version Author Funding

Supercharge your Open WebUI instance with real-time web search capabilities! This plugin allows your models to access up-to-date information from the internet by querying popular search engines directly from the chat interface.

โœจ Features

  • ๐Ÿ” Multiple Search Engines: Choose from Google, DuckDuckGo, and a self-hosted SearXNG instance.
  • โš™๏ธ Fully Configurable: Enable/disable engines and set the number of results to return.
  • ๐Ÿš€ Real-Time Information: Break free from the model's knowledge cut-off date.
  • ๐Ÿ›ก๏ธ Safe Querying: User input is securely encoded to prevent injection attacks.
  • ๐Ÿค– Seamless Integration: Works as a native tool within Open WebUI.

๐Ÿ› ๏ธ Available Engines

  • DuckDuckGo: A privacy-focused search engine.
  • Google: The world's most popular search engine. (Note: This method relies on web scraping and may be unstable).
  • SearXNG: A powerful, self-hostable, and privacy-respecting metasearch engine. This is the recommended engine for reliable and private results.

โš™๏ธ Configuration

After installing the plugin, navigate to Settings > Plugins in your Open WebUI instance to configure it.

SettingDescriptionDefault Value
Enable DuckDuckGoToggles the DuckDuckGo search tool on or off.True
DuckDuckGo ResultsThe default number of search results to fetch from DuckDuckGo.5
Enable SearXNGToggles the SearXNG search tool on or off.True
SearXNG ResultsThe default number of search results to fetch from SearXNG.5
SearXNG URLThe URL of your self-hosted SearXNG instance.http://searxng:8080
Enable GoogleToggles the Google search tool on or off.True
Google ResultsThe default number of search results to fetch from Google.5

โš ๏ธ Security Notice: SearXNG Configuration

The SearXNG URL setting provides powerful flexibility but must be configured with care.

  • ๐Ÿ”’ Secure a Private Instance: It is strongly recommended to point this to a SearXNG instance that you control and trust. Do not point it to an unknown public instance.
  • ๐ŸŒ Use HTTPS: The default URL uses http://. For secure communication, you should run your SearXNG instance behind a reverse proxy with TLS/SSL enabled and change this URL to https://your-searxng-domain.com.
  • ๐Ÿšจ SSRF Risk: Do not configure this URL to point to internal services or localhost. Doing so can create a Server-Side Request Forgery (SSRF) vulnerability, allowing users to make the WebUI server send requests to potentially sensitive internal endpoints.

๐Ÿš€ Usage

Using the Live Search plugin is simple. In the chat input box, select the tool you want to use from the @ menu.

  1. Click the @ symbol in the chat bar.
  2. Select the desired engine (e.g., Live Search: DuckDuckGo).
  3. Type your query and send the message.

Example: @Live Search: Google What is the current version of Open WebUI?

The model will receive the search results and use them to formulate an accurate, up-to-date answer.

๐Ÿ™ Credits


11