Skip to main content

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

Project description

Search API WebUI

A lightweight, local WebUI for testing and visualizing Search APIs (Querit, You, etc.).

(images)

Features

  • Search: Support for Querit.ai, You.com, and generic Search APIs via configuration.
  • Performance Metrics: Real-time display of request latency and payload size.
  • Visual Rendering: Renders standard search results (Title, Snippet, URL) 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

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

Prerequisites

Python 3.7+

Install via Pip

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.7+
  • Node.js & npm (for building the frontend)

Setup Steps

Clone the repository

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

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

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: “GET”
headers:
Authorization: “Bearer {api_key}”
params:
q: “{query}”
response_mapping:
root_path: “data.items”
fields:
title: “title”
url: “link”
snippet: “snippet”

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 Distribution

search_api_webui-0.1.7.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

search_api_webui-0.1.7-py3-none-any.whl (92.4 kB view details)

Uploaded Python 3

File details

Details for the file search_api_webui-0.1.7.tar.gz.

File metadata

  • Download URL: search_api_webui-0.1.7.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for search_api_webui-0.1.7.tar.gz
Algorithm Hash digest
SHA256 47d7eabe1297317cdc3a1cd0ea6be720fea287cf5f7e113b7efb29b96b57d3ff
MD5 267346ee3831a54150b77aa95659ae95
BLAKE2b-256 0d118f36ff7111f694317f48c62275d191ecdf5c9dfb2349028ba8af14938f3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for search_api_webui-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 664aa00dbb671d1c84e2f46147f7b1e03871e3849cc2af4a44d1c6ed324ee6ab
MD5 89cec9ef467b5178451ec104dee34b87
BLAKE2b-256 4fcdc8e9b82d63f8f0301efed99043348a843c6ad42bb5fe77bdffa2ea96411e

See more details on using hashes here.

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