← 开源

tired of postman? use Blitz! we don't eat your ram and wallet

Rust
增长势头
+624 小时新增 Star+2.9%
213
Star
16
Fork
2
贡献者
创建于 2026-10-18 · 更新于 2026-12-06 · 今日第 2070 名
主要开发者
h3ma209ahmadsoran
README

⚡ Blitz

AI-Native, Local-First API Client Built in Pure Rust

Debug REST, GraphQL, gRPC, WebSockets, SSE, MQTT, Socket.IO & MCP in one fast window —
zero accounts, Git-native sync, macOS Keychain secrets, and a 53-tool MCP server.

🌐 Website · 📦 Install · 💖 Sponsor · ⚖️ Compare · 📚 Docs


🗺️ Navigation Outline

Section / Link Where It Leads
⚡ What is Blitz? Core architecture, Rust speed, offline privacy, and protocol overview
💖 Sponsor & Support Blitz Solana (SOL / USDC) QR code & wallet address
📸 Interface Preview Screenshots of Workbench, WebSocket Socket Deck, Team Git, Environments & Runner
📦 Downloads & Installation 1-line macOS/Linux/Windows installers, Cargo, and direct release archives
🎯 Core Features & Capabilities Protocols, Boa JS scripting, GraphQL Explorer, Diagnose & Fix, and Vault
🚀 Quick Start Launch the GUI or run collections headlessly from CLI
🤖 CI/CD & AI Agent Integration (MCP) blitz run CI runner, blitz mcp setup, and full 53-tool MCP reference
🐙 Team Collaboration via Git Git-native JSON sync (main/master), inline diffs, and secret redaction
📄 License MIT open-source license details
⚖️ Full Comparison: Blitz vs Alternatives Bottom section: 21 key advantages vs Postman, Bruno, Yaak, Hoppscotch, Insomnia & Thunder Client
🌐 Interactive Comparison Page External web showcase (docs/compare.html) with filterable comparison cards
📚 Full Documentation External web docs (docs/docs.html) covering CLI, MCP, scripts & formats
🔒 Security Policy Repository security & Keychain secret-handling policy

⚡ What is Blitz?

Blitz is a lightweight, open-source API development and testing client written in pure Rust (Dioxus). It replaces heavy Electron-based tools with a native desktop application that respects your hardware and privacy:

  • 🤖 Built-in MCP server (53 tools): Cursor, Claude, Antigravity, and Windsurf can list collections, send requests, sync OpenAPI, run perf tests, and diff responses — locally, over stdio.
  • 🔒 100% Offline & Local-First: No accounts, no logins, no cloud tracking. Your collections, tokens, and environments stay on your machine.
  • 🐙 Git-Native Collaboration: No $19/user/month cloud workspace paywalls. Save collections right inside your Git repo and sync via git pull / git push.
  • 🚀 Native speed: Instant CLI/MCP startup (<20ms, ~8–10MB RSS) and a lightweight native desktop GUI (~200MB main app / ~350MB total w/ OS WebView across 9 open tabs, ~24MB binary). No bundled Chromium or multi-process Electron overhead.
  • 🌐 All Major Protocols: REST, GraphQL, WebSocket, gRPC (Protobuf), SSE, Socket.IO, and MQTT in a unified, modern interface.

💖 Sponsor & Support Blitz

Blitz is 100% open source under the MIT License — free, local-first, and no paywalled core features.

Scan to Donate (SOL / USDC) Wallet Details
Solana (SOL / USDC-SPL):
8E2zXE8Azhnc3Q1vGLeJ9ZHCScjxixStz61aZkyJ6RXX

Phantom Handle: @h3ma209
Donation Page: h3ma209.github.io/Blitz/#support
  • ⭐ Star the repo, share feedback, or open issues/PRs!

📸 Interface Preview

WebSocket Socket Deck Git-Native Team Collaboration
Environments & Local-Only Secrets Collection Runner & Sequence Builder

📦 Downloads & Installation

⚡ 1-Line Quick Install

macOS

curl -fsSL https://raw.githubusercontent.com/h3ma209/Blitz/master/install.sh | bash

Downloads latest DMG, installs to /Applications/Blitz.app, and automatically clears Gatekeeper quarantine.

Linux

curl -fsSL https://raw.githubusercontent.com/h3ma209/Blitz/master/install.sh | bash

Downloads latest binary and installs executable to ~/.local/bin/blitz.

Windows

PowerShell:

irm https://raw.githubusercontent.com/h3ma209/Blitz/master/install.ps1 | iex

Command Prompt (curl):

curl.exe -fsSL https://raw.githubusercontent.com/h3ma209/Blitz/master/install.ps1 -o install.ps1 && powershell -ExecutionPolicy Bypass -File install.ps1

Git Bash / WSL:

curl -fsSL https://raw.githubusercontent.com/h3ma209/Blitz/master/install.sh | bash

Installs to %LOCALAPPDATA%\Blitz\blitz.exe, adds to User PATH, and creates Start Menu shortcut.

Homebrew Tap (macOS Apple Silicon)

brew tap h3ma209/blitz
brew trust h3ma209/blitz
brew install --cask blitz
xattr -cr /Applications/Blitz.app

xattr -cr clears macOS Gatekeeper's quarantine flag because Blitz.app is not Apple-notarized yet.

Direct Downloads

Pre-built binaries for macOS, Linux, and Windows are available directly from the Releases Page.

Platform Download Package / Command
macOS (Apple Silicon) Blitz-macos-arm64.dmg Drag to Applications
macOS (Tarball) blitz-macos-arm64.tar.gz tar -xzf blitz-macos-arm64.tar.gz
Linux (x86_64) blitz-linux-x86_64.tar.gz tar -xzf blitz-linux-x86_64.tar.gz
Windows (x86_64) blitz-windows-x86_64.zip Unzip & run blitz.exe
Cargo (Any OS) Source crate cargo install --git https://github.com/h3ma209/Blitz.git

🛡️ Install trust & OS prompts

Blitz is unsigned (no Apple notarization / Windows EV cert yet). Verify downloads against SHA256SUMS on the Releases Page. For how we handle secrets, MCP, and disclosures, see SECURITY.md.

macOS Gatekeeper or “damaged app” — click to expand

Browser downloads get a quarantine flag. The install script clears it automatically; otherwise:

xattr -cr /Applications/Blitz.app

Or right-click Blitz in Applications → Open once.

Windows SmartScreen — click to expand

Use More info → Run anyway, or the PowerShell installer (unblocks automatically), or:

Unblock-File "$env:LOCALAPPDATA\Blitz\blitz.exe"
Linux permission denied — click to expand
chmod +x ~/.local/bin/blitz

🎯 Core Features & Capabilities

🔌 Multi-Protocol Support

Interact with any modern API standard in one place:

  • REST / HTTP: Query parameters, headers, GraphQL, form-data, multipart uploads.
  • WebSockets: Interactive bidirectional streaming, frame inspection, Socket Deck, and message presets.
  • gRPC: HTTP/2 unary calls with JSON (google.protobuf.Struct) and Protobuf frame decoding.
  • MQTT: Real-time publish and subscribe to IoT brokers.
  • SSE (Server-Sent Events): Live streaming event reader.
  • Socket.IO: Native engine handshake and event listener.
  • MCP (Model Context Protocol): Direct connection to AI agent tooling and context servers.

📑 Comprehensive Collection Workspace

Manage complex API suites with dedicated tabs:

  • Instant Search & Type Filtering: Real-time debounced sidebar search with zero UI lag. Type inline prefixes directly in the search bar to filter by node type:
    • folder:<query> or f:<query> (e.g. folder:auth or folder: alone to browse all folders)
    • req:<query> or r:<query> (e.g. req:login or req: alone to browse all requests)
    • col:<query> or c:<query> (e.g. col:store)
    • Alternative syntax: is:folder, is:req, type:folder, type:req
  • Overview: Collection documentation, structure preview, and real-time statistics.
  • Authorization: Inherited authentication (Bearer, Basic, API Key, OAuth2) applied across child requests.
  • Pre-request & Test Scripts: Collection-wide scripting for setup, teardown, and validation.
  • Variables: Environment and collection variable scope resolution.
  • Runner: Batch test execution with iteration controls, delays, and pass/fail diagnostics.

🧪 Postman-Compatible JavaScript Testing

Write familiar assertions and workflows locally without remote runtime limits:

  • blitz.test() and blitz.expect() assertion suites.
  • blitz.sendRequest() for chained requests and token pre-fetching.
  • Built-in CryptoJS library (SHA256, HmacSHA256, MD5, Base64, Hex).
  • Dynamic variables ({{$guid}}, {{$timestamp}}, {{var}}).

🔐 Secure Credential Storage

Protect sensitive environment secrets and tokens:

  • Native macOS Keychain integration (Security.framework), with an in-memory session fallback on Linux and Windows.
  • Secrets stay encrypted locally and are automatically stripped before committing to Git remotes.

🔄 Seamless Migration & Local Mocks

  • Postman: Import and export Postman v2.1 collections with full script fidelity.
  • OpenAPI: Import and export OpenAPI 3.0 specifications.
  • cURL & HAR: Paste raw terminal cURL commands or drop browser HAR files directly into the workbench.
  • Local Mock Server: Instant zero-config HTTP mocks on 127.0.0.1 served from your saved examples.

Quick Start

Prerequisites

Build and Run from Source

# Clone repository
git clone https://github.com/h3ma209/Blitz.git
cd Blitz

# Run debug build
cargo run

# Or run optimized release build
cargo run --release

Install as Native Desktop App

make install
Operating System Default Install Destination Uninstall
macOS ~/Applications/Blitz.app make uninstall
Linux ~/.local/share/blitz/ + ~/.local/bin/blitz make uninstall
Windows %LOCALAPPDATA%\Blitz\ powershell -File scripts/install.ps1 -Uninstall

CI/CD Automation & AI Agent Integration

Headless CLI Runner

Run test collections headless in your CI/CD pipelines without cloud subscriptions or proprietary API keys:

# Execute collection headless (returns exit code 0 on pass, 1 on failure)
blitz run collection.json --env staging.json

🤖 AI Agent Integration via MCP (Cursor, Claude, Antigravity, Windsurf, VS Code, Zed)

Blitz includes a built-in Model Context Protocol (MCP) server (blitz mcp), allowing AI coding assistants and autonomous agents to list collections, inspect request schemas, execute endpoints, and run API test suites directly through Blitz.

Automatic IDE & Agent Setup:

Blitz can automatically scan your machine for installed IDEs and AI coding agents, and configure the MCP server for you:

# Scan and interactively select which IDEs/agents to configure:
blitz mcp setup

# Or configure all detected IDEs automatically without prompting:
blitz mcp setup --all

# Or target a specific IDE:
blitz mcp setup --target cursor
blitz mcp setup --target claude_desktop
blitz mcp setup --target vscode
blitz mcp setup --target zed

# Scan only (preview detected tools without modifying configs):
blitz mcp setup --scan

Supported IDEs and coding agents detected out of the box:

  • Cursor (~/.cursor/mcp.json)
  • Claude Desktop (claude_desktop_config.json)
  • Antigravity / Gemini CLI (~/.gemini/antigravity/mcp_config.json)
  • Windsurf (~/.codeium/windsurf/mcp_config.json)
  • VS Code (~/Library/Application Support/Code/User/mcp.json)
  • Cline extension for VS Code (cline_mcp_settings.json)
  • Roo Code extension for VS Code (cline_mcp_settings.json)
  • Zed (settings.json context_servers)
  • Claude Code CLI (~/.claude.json)

Manual Configuration:

If you prefer manual setup, add Blitz to your IDE's mcpServers configuration:

{
  "mcpServers": {
    "blitz": {
      "command": "/Applications/Blitz.app/Contents/MacOS/Blitz",
      "args": ["mcp"]
    }
  }
}

Exposed MCP Tools (53 Built-In):

Full parameter & schema reference: h3ma209.github.io/Blitz/docs.html#mcp-overview

Category Capabilities Key Tools
Collections & Requests List, inspect, create/edit, rename, move, duplicate, sort, lint blitz_list_collections, blitz_get_request, blitz_upsert_request, blitz_lint_collection
Execution & Testing Run saved/ad-hoc HTTP, run suites, suggest assertions, VU load tests blitz_send_request, blitz_execute_http, blitz_run_collection, blitz_suggest_assertions, blitz_perf_test
Environments & Diffs Manage envs/vars, switch active env, diff responses & env drift blitz_list_environments, blitz_set_env_var, blitz_diff_responses, blitz_diff_environments
Realtime & Protocols WebSocket sessions, gRPC unary, SSE, MQTT, GraphQL WS, Socket.IO, MCP blitz_websocket_send, blitz_grpc_unary, blitz_sse_listen, blitz_mqtt_publish, blitz_mcp_call
Import, Export & Sync Non-destructive OpenAPI 3.0 sync, Postman v2.1, cURL, HAR 1.2 blitz_sync_openapi, blitz_import_collection, blitz_import_curl, blitz_import_har, blitz_export_collection
Mocks, Docs & Codegen Localhost 127.0.0.1 mock server, static HTML/Swagger docs, 7-lang snippets blitz_start_mock, blitz_stop_mock, blitz_generate_docs, blitz_generate_code
History & Cookies Query/clear execution history, inspect/clear global cookie jar blitz_list_history, blitz_clear_history, blitz_manage_cookies
Click to view all 53 MCP tool names
  • Collections & Requests: blitz_list_collections, blitz_get_collection, blitz_create_collection, blitz_update_collection, blitz_delete_collection, blitz_create_folder, blitz_update_folder, blitz_delete_folder, blitz_get_request, blitz_upsert_request, blitz_delete_request, blitz_rename_item, blitz_move_item, blitz_duplicate_item, blitz_sort_collection, blitz_set_collection_var, blitz_lint_collection
  • Execution, Testing & Diffs: blitz_send_request, blitz_execute_http, blitz_run_collection, blitz_suggest_assertions, blitz_perf_test, blitz_diff_responses
  • Environments: blitz_list_environments, blitz_create_environment, blitz_delete_environment, blitz_set_env_var, blitz_set_active_environment, blitz_diff_environments
  • Realtime & Protocols: blitz_websocket_send, blitz_websocket_connect, blitz_websocket_session_send, blitz_websocket_read, blitz_websocket_close, blitz_grpc_unary, blitz_sse_listen, blitz_mqtt_publish, blitz_mqtt_subscribe, blitz_graphql_ws_subscribe, blitz_socketio_emit, blitz_mcp_call
  • Import, Export & Sync: blitz_sync_openapi, blitz_import_collection, blitz_export_collection, blitz_import_curl, blitz_import_har
  • Mocks, Docs & Codegen: blitz_start_mock, blitz_stop_mock, blitz_generate_docs, blitz_generate_code
  • History & Cookies: blitz_list_history, blitz_clear_history, blitz_manage_cookies

Exposed MCP Resources:

blitz://collections · blitz://environments · blitz://active-env · blitz://history


Team Collaboration via Git

Sync team workspaces directly through Git without cloud intermediaries:

  1. Link Git Remote: In the top toolbar, select Cloud ▾ → Cloud Sync Settings… (or open Settings → Cloud Sync).
  2. Work Locally: Add endpoints, edit environments, and write tests.
  3. Sync: Click Sync — Blitz pulls changes, handles merges, and pushes through standard Git (SSH or gh CLI).
  4. Leak Prevention: Passwords, tokens, and local secret variables are kept local and excluded from commits.


License

Distributed under the MIT License. Not affiliated with or endorsed by Postman Inc.


⚖️ Blitz vs Alternatives

Interactive web version: h3ma209.github.io/Blitz/compare.html

Feature ⚡ Blitz Postman Bruno Yaak Hoppscotch Insomnia Thunder Client
AI Agents, MCP & Smart Diagnostics
Built-in MCP Server ✅ 53 MCP tools ⚠️ Cloud AI only ❌ None ❌ None ⚠️ Beta AI ❌ None ❌ None
1-Command IDE MCP Auto-Setup ✅ 7 IDEs (Cursor, Claude, VS Code…) ❌ None ❌ None ❌ None ❌ None ❌ None ❌ None
Offline 4xx/5xx Diagnose & Fix ✅ Built-in 1-click repair ⚠️ Cloud AI ❌ None ❌ None ❌ None ❌ None ❌ None
Compare Responses & Env Keys (spot API regressions & missing vars across envs) ✅ Line-by-line response & env key diff ❌ Manual ❌ None ❌ None ❌ None ❌ None ❌ None
Auto-Generate Test Assertions ✅ Built-in free (blitz_suggest_assertions) ⚠️ Paid AI (Postbot) ❌ None ❌ None ⚠️ Cloud AI ❌ None ❌ None
Command Palette (Cmd+K): NL + / Path Search ✅ Offline NL + slash-path ❌ Basic search ❌ Basic search ⚠️ Fuzzy search ❌ Basic search ❌ Basic search ❌ Basic search
Speed & Privacy
Pure Rust · Zero Electron Bloat ✅ <20 ms CLI · ~10 MB RSS ❌ Electron (800 MB–1.5 GB) ⚠️ Electron (150–300 MB) ✅ Tauri (~120 MB) ⚠️ Web / Tauri (150–400 MB) ❌ Electron (300–600 MB) ⚠️ VS Code RAM
Zero Account / 100% Offline ✅ Never required ❌ Mandatory cloud ✅ Offline ✅ Offline ⚠️ Cloud-first ⚠️ Cloud-pushed (Scratch Pad local) ✅ Local
Isolated Multi-Window Sessions (separate cookies, auth tokens & env values) ✅ GUI + --session ❌ Shared session ❌ Shared state ⚠️ Multi-workspace ❌ Shared browser ❌ Shared state ❌ Tied to IDE
Git, Secrets & Migration
Free Git-Native Team Sync ✅ JSON · any Git repo (secrets redacted) ❌ $19+/user/mo ✅ .bru files ⚠️ Paid/Git ❌ Paid/self-host ❌ Paid tier ❌ Paid tier
Secret Vault + Git Leak Guard ✅ macOS Keychain + Vault + auto-redact ❌ Cloud/local ❌ Plaintext .env ⚠️ SQLite ❌ Browser/cloud ⚠️ Local/cloud ❌ IDE settings
Lossless Migration (Postman v2.1, HAR, cURL, Bruno, Yaak) ✅ Full scripts, auth & vars ✅ Native ⚠️ Partial / import ⚠️ Partial / import ✅ Yes ✅ Yes ⚠️ Partial
Non-Destructive OpenAPI 3.0 Sync ✅ Live mtime watch + keeps tests & auth ⚠️ Manual / Cloud ❌ Import only ❌ Import only ⚠️ Re-import ⚠️ Manual sync ❌ Import only
Collection Health Linter (Unresolved Vars & Weak Auth) ✅ Built-in free (blitz_lint_collection) ⚠️ Enterprise tier ❌ None ❌ None ❌ None ⚠️ Spec lint only ❌ None
Protocols, Mocks & Testing
8 Protocols Free (REST, GQL, gRPC, WS, SSE, MQTT, Socket.IO, MCP) ✅ All 8 included ✅ Most ⚠️ No MQTT/SIO/MCP ⚠️ No MQTT/SIO ⚠️ No gRPC/SIO ⚠️ No MQTT/SIO ❌ REST/GQL only
Localhost Mock Server (127.0.0.1) + Header Scenarios ✅ Free & local ❌ Cloud-only ❌ None ❌ None ❌ None ⚠️ Paid/cloud ❌ None
Built-in Load Testing (VUs) + Headless CI (blitz run) ✅ GUI + CLI + MCP (free) ⚠️ Paid / Newman ⚠️ CLI only (no load) ❌ None ⚠️ CLI only (no load) ⚠️ CLI only (no load) ❌ Paid CLI
Unlimited Collection Runner + CSV/JSON Data-Driven Tests ✅ Unlimited GUI + CLI + JUnit ⚠️ 25 runs/mo (Free) ⚠️ Golden paywall ❌ None ⚠️ CLI only ⚠️ Limited ⚠️ Paid tier
Capture Proxy + Cookie Jar + pm.visualizer ✅ All 3 built-in offline ✅ Yes ❌ No proxy/vis ❌ No proxy/vis ⚠️ Ext proxy ❌ No proxy/vis ❌ No proxy/vis
Docs & Pricing
1-Click Static HTML / Swagger UI Docs Export ✅ Offline static export ❌ Cloud-only ❌ None ❌ None ❌ Cloud-only ❌ None ❌ None
100% MIT Open Source · Zero Feature Paywalls ✅ Full MIT · everything free ❌ Proprietary / seats ⚠️ Golden paywall ❌ Fair-Core / paid ⚠️ MIT + cloud tiers ⚠️ Apache + paid ❌ Closed / paid
排名相邻

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载