Proxyfor is both an executable binary that can be run, and a library that can be used in Rust programs.
Installing the command-line executable
Assuming you have Rust/Cargo installed , run this command in a terminal:
cargo install proxyfor
It will make the proxyfor command available in your PATH if you've allowed the PATH to be modified when installing Rust . cargo uninstall proxyfor uninstalls.
Adding proxyfor library as a dependency
Run this command in a terminal, in your project's directory:
cargo add proxyfor
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
proxyfor = "0.5.0"
The proxyfor library will be automatically available globally.
Read the proxyfor library documentation .
Back to the crate overview .
Readme
Proxyfor
A powerful and flexible proxy CLI for capturing and inspecting HTTP(S) and WS(S) traffic.
Key Features
Forward & Reverse Proxy: Supports both forward proxy (client explicitly uses the proxy) and reverse proxy (proxy sits in front of the server).
Multi-Protocol Support: Handles HTTP, HTTPS, WebSocket (WS), and secure WebSocket (WSS) protocols.
Flexible Filtering: Filter traffic based on method, URI, and content-type for targeted analysis.
Multiple Interfaces: Includes a user-friendly Terminal User Interface (TUI) and a web-based interface (WebUI) for inspecting captured data.
CA Certificate Management: Simplifies the process of installing the necessary CA certificates to decrypt HTTPS traffic.
Export Options: Export captured traffic in various formats, including Markdown, cURL commands, and HAR files.
Non-Blocking Streaming: Captures request/response data in a non-blocking, streaming fashion for efficient handling of large volumes of traffic.
Cross-Platform & Standalone: Delivered as a single, self-contained executable for Windows, macOS, and Linux, simplifying setup and distribution.
Screenshots
Terminal User Interface (TUI)