AI-first API testing desktop client built with Python + PyQt6. Features: - Multi-tab HTTP request editor with params/headers/body/auth/tests - KeyValueTable with per-row enable/disable checkboxes and 36px rows - Format JSON button, syntax highlighting, pre-request & test scripts - Collections, environments, history, import/export (Postman v2.1, cURL) - OpenAPI 3.x / Swagger 2.0 local parser (no AI tokens) - EKIKA Odoo API Framework generator — JSON-API, REST JSON, GraphQL, Custom REST JSON with all auth types (instant, no AI tokens) - Persistent AI chat sidebar (Claude-powered co-pilot) with streaming, context-aware suggestions, and one-click Apply to request editor - AI collection generator from any docs URL or pasted spec - WebSocket client, Mock server, Collection runner, Code generator - Dark/light theme engine (global QSS, object-name selectors) - SSL error detection with actionable hints - MIT License Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
35 lines
758 B
Bash
Executable File
35 lines
758 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
echo "=== Building API Client installer ==="
|
|
|
|
# Install deps
|
|
pip install -r requirements.txt
|
|
|
|
# Build with PyInstaller
|
|
pyinstaller \
|
|
--onedir \
|
|
--windowed \
|
|
--name "APIClient" \
|
|
--add-data "app:app" \
|
|
main.py
|
|
|
|
echo ""
|
|
echo "=== Build complete ==="
|
|
echo "Executable: dist/APIClient/APIClient"
|
|
echo ""
|
|
|
|
# Optional: create .deb (requires fpm: gem install fpm)
|
|
if command -v fpm &> /dev/null; then
|
|
echo "Creating .deb package..."
|
|
fpm -s dir -t deb \
|
|
-n api-client \
|
|
-v 1.0.0 \
|
|
--description "Postman-like API client" \
|
|
dist/APIClient/=/opt/api-client \
|
|
--after-install /dev/null
|
|
echo "Package: api-client_1.0.0_amd64.deb"
|
|
else
|
|
echo "Tip: install fpm (gem install fpm) to also generate a .deb package"
|
|
fi
|