Skip to main content

A Search API WebUI for testing and comparing Querit, You, and other search providers.

Project description

Search API WebUI

Python WebUI with native Mac/Windows Apps for testing, comparing, and visualizing Search APIs (Querit, You, Tavily, Exa, Baidu, Brave, Parallel etc.).

Screenshot

Features

  • Search: Support for multiple search api providers including:
  • SearchAPIWebUI Arena: Compare two search providers side-by-side to benchmark latency, response size, and result relevance.
  • Performance Metrics: Real-time display of request latency and response size.
  • Visual Rendering: Renders standard search results (Title, URL, SiteName, SiteIcon, PageAge, Snippet) in a clean card layout.
  • Configurable: Easy-to-edit providers.yaml to add or modify search providers.
  • Secure: API Keys are stored locally in your $HOME folder.

Installation

macOS Installation

For macOS users, you can download the DMG installer from the GitHub Releases page:

  1. Visit the Releases page
  2. Download the appropriate DMG file for your Mac architecture:
    • Apple Silicon (M1/M2/M3): SearchAPIWebUI-<version>-macOS-arm64.dmg
    • Intel Macs: SearchAPIWebUI-<version>-macOS-x86_64.dmg
  3. Open the DMG file and drag SearchAPIWebUI to your Applications folder
  4. Launch SearchAPIWebUI from Applications

Note: Since the application is not code-signed, macOS may block it on first launch. To allow it to run:

  • Go to System Settings > Privacy & Security
  • Look for the message about SearchAPIWebUI being blocked
  • Click Open Anyway to allow the application to run

Windows Installation

For Windows users, you can download the installer from the GitHub Releases page:

  1. Visit the Releases page
  2. Download the appropriate Setup file for your Windows system:
    • 64-bit Windows (most common): SearchAPIWebUI-<version>-Windows-x64-Setup.exe
    • 32-bit Windows (legacy): SearchAPIWebUI-<version>-Windows-x86-Setup.exe
  3. Run the Setup executable and follow the installation wizard
  4. Launch SearchAPIWebUI from the Start Menu or Desktop shortcut

Note:

  • The installer requires .NET Framework 4.5 or later (usually pre-installed on Windows 8+)
  • Windows Defender SmartScreen may show a warning for unsigned applications. Click "More info" → "Run anyway" to proceed

Install via Pip

Use this method if you just want to run the tool without modifying the code.

pip install search-api-webui

Run the Server

search-api-webui

Development

Use this method if you want to contribute to the code or build from source.

Prerequisites

  • Python 3.8+
  • Node.js & npm (for building the frontend)

Quick Start with Makefile

Clone the repository

git clone https://github.com/querit-ai/search-api-webui.git
cd search-api-webui

Development Mode (with hot reload)

make dev

This will:

  • Set up Python virtual environment and install dependencies
  • Install frontend dependencies (node_modules)
  • Start Flask backend on http://localhost:8889 with hot reload
  • Start Vite frontend dev server on http://localhost:5173
  • Automatically open your browser
  • Enable hot module replacement for instant updates

Build Python Wheel

make              # or 'make all'

Build macOS DMG (macOS only)

make dmg          # Builds DMG for your current architecture (incl. .app build)
make build-app    # Build only the .app bundle (without DMG)
# Override architecture if needed:
make ARCH=arm64 dmg   # Force Apple Silicon build
make ARCH=x86_64 dmg  # Force Intel build (requires x86_64 Python)

Manual Setup

If you prefer not to use Makefile:

Build Frontend

cd frontend
npm install
npm run build
cd ..

Install search-api-webui (Editable Mode)

pip install -e .

Run the Server

python -m search_api_webui.app

Available Make Commands

make              # Build Python wheel package (default)
make dev          # Start development servers with hot reload
make dmg          # Build macOS DMG for current architecture
make clean        # Clean build artifacts
make clean-all    # Clean everything including virtual environment
make help         # Show all available commands

Configuration

Add API Keys

Open the WebUI settings page (click the gear icon). Enter your API Key for the selected provider (e.g., Querit). Keys are saved locally in $HOME/.search-api-webui/config.json.

Add New Providers

Edit providers.yaml in the root directory to add custom API endpoints. The system uses JMESPath to map JSON responses to the UI.

my_custom_search:
  url: "https://api.example.com/search"
  method: "POST"
  headers:
    "Accept": "application/json"
    "Authorization": "Bearer {api_key}"
    "Content-Type": "application/json"
  payload:
    query: "{query}"
    count: "{limit}"
  response_mapping:
    root_path: "results.result"
    server_latency_path: "took"
    fields:
      url: "url"
      title: "title"
      site_name: "site_name"
      site_icon: "site_icon"
      page_age: "page_age"

License

MIT License. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

search_api_webui-0.2.5-py3-none-any.whl (593.6 kB view details)

Uploaded Python 3

File details

Details for the file search_api_webui-0.2.5-py3-none-any.whl.

File metadata

File hashes

Hashes for search_api_webui-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 587be36123bb2926f4fcb8a4448eb63dfb256a697d3545fae82779e709f7b278
MD5 9aabb3e8490d653dda16a7a528ef7bb1
BLAKE2b-256 016554b3ad35b6e39ddd3a9b36a6e209d6326144ff17c15efa2919c0a6a0b7a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for search_api_webui-0.2.5-py3-none-any.whl:

Publisher: build-release.yml on querit-ai/search-api-webui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page