search-api-webui 0.2.0__py3-none-any.whl → 0.2.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- search_api_webui/app.py +37 -0
- search_api_webui/providers/generic.py +45 -13
- search_api_webui/providers.yaml +17 -0
- search_api_webui/static/AppIcon.ico +0 -0
- search_api_webui/static/assets/{index-CgRy5JvN.css → index-BWsitD55.css} +1 -1
- search_api_webui/static/assets/index-CEkM4WD5.js +14 -0
- search_api_webui/static/index.html +2 -2
- {search_api_webui-0.2.0.dist-info → search_api_webui-0.2.1.dist-info}/METADATA +46 -19
- search_api_webui-0.2.1.dist-info/RECORD +19 -0
- search_api_webui/static/assets/index-NR55tr9D.js +0 -14
- search_api_webui-0.2.0.dist-info/RECORD +0 -18
- {search_api_webui-0.2.0.dist-info → search_api_webui-0.2.1.dist-info}/WHEEL +0 -0
- {search_api_webui-0.2.0.dist-info → search_api_webui-0.2.1.dist-info}/entry_points.txt +0 -0
- {search_api_webui-0.2.0.dist-info → search_api_webui-0.2.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
|
7
7
|
<title>Search API WebUI</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-CEkM4WD5.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BWsitD55.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div id="root"></div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: search-api-webui
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: A Search API WebUI for testing and comparing Querit, You, and other search providers.
|
|
5
5
|
Project-URL: Homepage, https://github.com/querit-ai/search-api-webui
|
|
6
6
|
Project-URL: Repository, https://github.com/querit-ai/search-api-webui.git
|
|
@@ -28,20 +28,21 @@ Description-Content-Type: text/markdown
|
|
|
28
28
|
|
|
29
29
|
# Search API WebUI
|
|
30
30
|
|
|
31
|
-
A lightweight, cross-platform WebUI and native Mac App for testing, comparing, and visualizing Search APIs (Querit, You, Tavily, Exa, Baidu, Brave, Parallel etc.).
|
|
31
|
+
A lightweight, cross-platform WebUI and native Mac App for testing, comparing, and visualizing Search APIs (Querit, You, Tavily, Exa, Baidu, Brave, Parallel, Serper etc.).
|
|
32
32
|
|
|
33
33
|

|
|
34
34
|
|
|
35
35
|
## Features
|
|
36
36
|
|
|
37
37
|
* **Search**: Support for multiple search providers including:
|
|
38
|
-
- [Querit.
|
|
38
|
+
- [Querit.ai](https://www.querit.ai/en/docs/reference/post)
|
|
39
39
|
- [You.com](https://docs.you.com/api-reference/search/v1-search)
|
|
40
40
|
- [Tavily.com](https://docs.tavily.com/documentation/api-reference/introduction)
|
|
41
41
|
- [Exa.ai](https://docs.exa.ai/reference/search)
|
|
42
42
|
- [Parallel.ai](https://docs.parallel.ai/api-reference/search-beta/search)
|
|
43
43
|
- [Baidu.com](https://cloud.baidu.com/doc/WENXINWORKSHOP/s/4lilb2lpf)
|
|
44
44
|
- [Brave.com](https://api-dashboard.search.brave.com/documentation)
|
|
45
|
+
- [Serper.dev](https://serper.dev) - Google Search API
|
|
45
46
|
- And generic Search APIs via configuration
|
|
46
47
|
* **API Arena**: Compare two search providers side-by-side to benchmark latency, payload size, and result relevance.
|
|
47
48
|
* **Performance Metrics**: Real-time display of request latency and payload size.
|
|
@@ -66,6 +67,21 @@ For macOS users, you can download the DMG installer from the GitHub Releases pag
|
|
|
66
67
|
- Look for the message about `SearchAPIWebUI` being blocked
|
|
67
68
|
- Click **Open Anyway** to allow the application to run
|
|
68
69
|
|
|
70
|
+
### Windows Installation
|
|
71
|
+
|
|
72
|
+
For Windows users, you can download the installer from the GitHub Releases page:
|
|
73
|
+
|
|
74
|
+
1. Visit the [Releases page](https://github.com/querit-ai/search-api-webui/releases)
|
|
75
|
+
2. Download the appropriate Setup file for your Windows system:
|
|
76
|
+
- **64-bit Windows** (most common): `SearchAPIWebUI-<version>-Windows-x64-Setup.exe`
|
|
77
|
+
- **32-bit Windows** (legacy): `SearchAPIWebUI-<version>-Windows-x86-Setup.exe`
|
|
78
|
+
3. Run the Setup executable and follow the installation wizard
|
|
79
|
+
4. Launch `SearchAPIWebUI` from the Start Menu or Desktop shortcut
|
|
80
|
+
|
|
81
|
+
**Note**:
|
|
82
|
+
- The installer requires .NET Framework 4.5 or later (usually pre-installed on Windows 8+)
|
|
83
|
+
- Windows Defender SmartScreen may show a warning for unsigned applications. Click "More info" → "Run anyway" to proceed
|
|
84
|
+
|
|
69
85
|
### Prerequisites
|
|
70
86
|
|
|
71
87
|
Python 3.7+
|
|
@@ -109,7 +125,9 @@ make dev
|
|
|
109
125
|
```
|
|
110
126
|
|
|
111
127
|
This will:
|
|
112
|
-
-
|
|
128
|
+
- Set up Python virtual environment and install dependencies
|
|
129
|
+
- Install frontend dependencies (node_modules)
|
|
130
|
+
- Start Flask backend on http://localhost:8889 with hot reload
|
|
113
131
|
- Start Vite frontend dev server on http://localhost:5173
|
|
114
132
|
- Automatically open your browser
|
|
115
133
|
- Enable hot module replacement for instant updates
|
|
@@ -123,7 +141,11 @@ make # or 'make all'
|
|
|
123
141
|
**Build macOS DMG** (macOS only)
|
|
124
142
|
|
|
125
143
|
```bash
|
|
126
|
-
make dmg # Builds for your current architecture
|
|
144
|
+
make dmg # Builds DMG for your current architecture (incl. .app build)
|
|
145
|
+
make build-app # Build only the .app bundle (without DMG)
|
|
146
|
+
# Override architecture if needed:
|
|
147
|
+
make ARCH=arm64 dmg # Force Apple Silicon build
|
|
148
|
+
make ARCH=x86_64 dmg # Force Intel build (requires x86_64 Python)
|
|
127
149
|
```
|
|
128
150
|
|
|
129
151
|
### Manual Setup
|
|
@@ -157,9 +179,8 @@ python -m search_api_webui.app
|
|
|
157
179
|
make # Build Python wheel package (default)
|
|
158
180
|
make dev # Start development servers with hot reload
|
|
159
181
|
make dmg # Build macOS DMG for current architecture
|
|
160
|
-
make backend # Start backend server only
|
|
161
|
-
make frontend # Start frontend dev server only
|
|
162
182
|
make clean # Clean build artifacts
|
|
183
|
+
make clean-all # Clean everything including virtual environment
|
|
163
184
|
make help # Show all available commands
|
|
164
185
|
```
|
|
165
186
|
|
|
@@ -175,18 +196,24 @@ Edit providers.yaml in the root directory to add custom API endpoints. The syste
|
|
|
175
196
|
|
|
176
197
|
```
|
|
177
198
|
my_custom_search:
|
|
178
|
-
url:
|
|
179
|
-
method:
|
|
180
|
-
headers:
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
199
|
+
url: "https://api.example.com/search"
|
|
200
|
+
method: "POST"
|
|
201
|
+
headers:
|
|
202
|
+
"Accept": "application/json"
|
|
203
|
+
"Authorization": "Bearer {api_key}"
|
|
204
|
+
"Content-Type": "application/json"
|
|
205
|
+
payload:
|
|
206
|
+
query: "{query}"
|
|
207
|
+
count: "{limit}"
|
|
208
|
+
response_mapping:
|
|
209
|
+
root_path: "results.result"
|
|
210
|
+
server_latency_path: "took"
|
|
211
|
+
fields:
|
|
212
|
+
url: "url"
|
|
213
|
+
title: "title"
|
|
214
|
+
site_name: "site_name"
|
|
215
|
+
site_icon: "site_icon"
|
|
216
|
+
page_age: "page_age"
|
|
190
217
|
```
|
|
191
218
|
|
|
192
219
|
## License
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
search_api_webui/__init__.py,sha256=8lqDjWnBOwF_NhSK9_JZDg19zxwal21cOaN-hqBZNLE,1101
|
|
2
|
+
search_api_webui/app.py,sha256=k23YqnBtnNoqsLtZNLZNx0a4pOsccY1MLze6LkQl7Mc,11997
|
|
3
|
+
search_api_webui/providers.yaml,sha256=pVl1O2t8Owfs50mDPde2e-pwXQl7DShgOzg4otw7MQ8,3450
|
|
4
|
+
search_api_webui/ruff.toml,sha256=4XrS5KAylffZi6_DL8i0rvDVxZtfDgFLmltmTc8XXF8,608
|
|
5
|
+
search_api_webui/providers/__init__.py,sha256=bvCGjIyFzEFpj4gwMMhjcVz5FINkHg06HTfcI8Wt1BA,2185
|
|
6
|
+
search_api_webui/providers/base.py,sha256=1pOirPROqSpWrOJucQADv8xG65eVCplSs1OsDdVq1c0,5167
|
|
7
|
+
search_api_webui/providers/generic.py,sha256=x7jD48XYl5MmqPmkwX-5fQfWMsSjQSZ9e8QRT6_wRZQ,12583
|
|
8
|
+
search_api_webui/providers/querit.py,sha256=XC6CdRqxvsixqMmDh94CGD-982x_Tn5OIp-xp-F9fFY,4330
|
|
9
|
+
search_api_webui/static/AppIcon.icns,sha256=oQLr-jHi7RkzJoz0JIAQFyW9A4YMPsOdLh7sEtYbOT8,470797
|
|
10
|
+
search_api_webui/static/AppIcon.ico,sha256=xnHL8bRN41mJi_yredfLol8R4V30ijXwTha3AmMznpI,59929
|
|
11
|
+
search_api_webui/static/favicon.ico,sha256=U_7TbOXM0jf963y9j0jogM0rBpKNr72HVVOofnBNAVQ,15086
|
|
12
|
+
search_api_webui/static/index.html,sha256=0OcROEPuBextjAUFCIjLGx2qKXSoFFrNiI3_a7WRKnw,465
|
|
13
|
+
search_api_webui/static/assets/index-BWsitD55.css,sha256=4Cd91W8ogAPJdpt1aFPxXazB7RcPPeMlartV7fMc2E4,20841
|
|
14
|
+
search_api_webui/static/assets/index-CEkM4WD5.js,sha256=f7z6F8WgD13rkXqyc-ponh04onwVXr5TqdJaa7EJinw,217999
|
|
15
|
+
search_api_webui-0.2.1.dist-info/METADATA,sha256=ZRY9Aj9s4WYB-eaBfVLkzy5NoqjKDm3HZRhTBmbmz88,6870
|
|
16
|
+
search_api_webui-0.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
17
|
+
search_api_webui-0.2.1.dist-info/entry_points.txt,sha256=ogYy3eeonZ_oQlrEZC-4JBWfYdB7kkkdqXUUmX0xgMs,63
|
|
18
|
+
search_api_webui-0.2.1.dist-info/licenses/LICENSE,sha256=B7n2gauZcaVVVdE-zvx3mABAgGzgzVKu7x1a94ZeuPU,1074
|
|
19
|
+
search_api_webui-0.2.1.dist-info/RECORD,,
|