RustNetLens is a local desktop network debugging tool built with Rust, Tauri 2, and React.
- Local HTTP proxy on
127.0.0.1:<port> - HTTPS CONNECT tunneling
- Optional local-only HTTPS MITM for authorized debugging
- Session capture, filtering, persistence, and export
- Rule-based header rewrite, mock responses, delay, and Rhai scripts
- Request collections
- gRPC metadata and trailer capture
- WebSocket frame capture
- Replay for captured HTTP sessions
- Tokio async runtime
- Hyper and hyper-rustls proxying
- SQLite persistence via
rusqlite - Tauri 2 desktop shell
- Event-driven capture pipeline
- Rhai-based script rules
- Local Root CA generation for HTTPS MITM
See docs/architecture.md.
cd apps/desktop
npm install
npm run devcargo run -p rustnetlens-app- Start the app.
- Click
Start Proxy. - Set your browser or curl proxy to
http://127.0.0.1:8899. - Send HTTP traffic through the proxy.
- Inspect captured sessions in the table and detail panel.
- Create collections from captured sessions if you want to save request sets.
- Generate the local Root CA before enabling HTTPS decrypt.
- Enable HTTPS decrypt only on devices you control.
- HTTPS decrypt is disabled by default.
- The app can generate a local Root CA under the user app data directory.
- Install that CA only on machines you own or control.
- Sensitive headers are redacted by default.
- CONNECT tunneling still works when decrypt is off.
curl -x http://127.0.0.1:8899 http://example.com
curl -x http://127.0.0.1:8899 -X POST http://example.com/post -d "hello=world"
curl -x http://127.0.0.1:8899 https://example.com
curl -x http://127.0.0.1:8899 http://example.com/api/userSee docs/rule-engine.md.
cargo test
cd apps/desktop
npm run build- This tool is for local, authorized debugging only.
- HTTPS decryption is optional, local-only, and disabled by default.
- Sensitive headers are redacted by default.
- Exported content is intended to stay redacted unless you explicitly choose otherwise.
- More polished gRPC presentation
- Compression-aware previews
- Smarter rule authoring UI
- Better collection management and bulk replay