Whistle intercepts and edits HTTP, HTTPS, HTTP/2, WebSocket, and TCP traffic through configurable rules. A desktop client or CLI provides capture, proxy control, and built-in remote debugging tools.
Overview
Whistle is a network debugging proxy built on Node.js for developers who need to inspect and alter live traffic. It supports capturing and modifying HTTP, HTTPS, HTTP/2, WebSocket, and TCP conversations, and can run as a full HTTP, HTTPS, SOCKS, or reverse proxy depending on how you configure it.
Operation is rule-driven: you define rules that change requests or responses without recompiling clients. A single management interface gathers packet capture, rule editing, plugin management, and tools such as Weinre for remote DOM inspection, a console log viewer, and Composer for replaying or editing requests.
Desktop users on macOS, Windows, or Linux can install a Whistle client to reduce manual setup. On headless Linux servers you install globally with npm or Homebrew, start the service with w2 start, install a root certificate via w2 ca for HTTPS decryption, and point applications at the proxy with w2 proxy or browser or system proxy settings. Chrome extension ZeroOmega and tools like Proxifier are suggested when an app cannot set a proxy directly.
The tool accepts plugins to extend rules and UI behavior and can also be required as a standard npm module inside other projects. Docker and other container platforms are listed among supported deployment environments alongside conventional desktop systems.
Key features
- HTTP, HTTPS, HTTP/2, and WebSocket capture
- Rule-based request and response modification
- HTTP, HTTPS, SOCKS, and reverse proxy modes
- Weinre, Console, and Composer debugging tools
- Unified UI for rules, plugins, and captures
- Plugin extensions and npm module integration
- w2 CLI for start, proxy, and certificate setup
- TCP traffic interception support
Use cases
- Debugging web and mobile HTTP traffic locally
- Rewriting API requests and responses with rules
- Running a headless capture proxy on Linux servers
- Remote DOM inspection via built-in Weinre
- Embedding proxy capabilities in Node projects