How leedonggyu1848/http_proxy works
HTTP Inspector is a local desktop HTTP proxy for capturing and examining requests and responses. A user starts the proxy, sends traffic through it, and inspects recorded exchanges in the request list and detail panes; HTTPS decryption is an optional capture mode. The main internal stages are interception and exchange recording, body persistence, and asynchronous analysis for search, URL maps, and endpoint schemas. The UI also supports replay, HLS downloads, and export. Relationship evidence is limited to the supplied README and sampled excerpts/index references; optional or undocumented wiring is omitted.
Main entry points: controller.rs Desktop app · record.rs HTTP exchanges · pipeline.rs Analysis pipeline · protocol.rs CLI protocol
Components 22
Capture and records
- Interception proxy
crates/http-inspector-core/src/interception/capture_context.rs - HTTP exchanges
crates/http-inspector-exchange/src/exchange/record.rs - Body store
crates/http-inspector-core/src/recording/body_store.rs - Session journal
crates/http-inspector-core/src/recording/journal.rs - HTTPS handling
crates/http-inspector-core/src/https.rs
Analysis
- Analysis pipeline
crates/http-inspector-analysis/src/pipeline.rs - Request search
crates/http-inspector-analysis/src/search/document.rs - Request filters
crates/http-inspector-analysis/src/filter/request_query.rs - URL map
crates/http-inspector-analysis/src/url_map/mod.rs - Endpoint schemas
crates/http-inspector-analysis/src/endpoint_schema/mod.rs
Desktop inspection
- Desktop app
src/ui/app/controller.rs - Request list
src/ui/requests/request_table.rs - Exchange details
src/ui/detail/detail_view.rs - Map views
src/ui/map/mod.rs - Replay and HLS
src/ui/dialogs/replay_panel.rs - Body presentation
crates/http-inspector-content/src/format/mod.rs
Command-line access
- CLI protocol
crates/http-inspector-cli/src/protocol.rs - CLI daemon
crates/http-inspector-cli/src/daemon/session.rs
Export and formats
- HAR and cURL
crates/http-inspector-interop/src/har/mod.rs - Map export
crates/http-inspector-interop/src/map_export.rs
Other components
- User
- HTTP client
Connections 24
- User → Desktop app: operates
README.md - HTTP client → Interception proxy: sends traffic
README.md - Desktop app → Interception proxy: starts and stops
src/ui/app/controller.rs - Interception proxy → HTTP exchanges: captures exchanges
crates/http-inspector-core/src/interception/capture_context.rs - HTTP exchanges → Body store: stores body bytes
- HTTP exchanges → Session journal: records session
- HTTP client → HTTPS handling: optional decryption
README.md - HTTP exchanges → Analysis pipeline: feeds analysis
crates/http-inspector-analysis/src/pipeline.rs - Analysis pipeline → URL map: observes URLs
crates/http-inspector-analysis/src/pipeline.rs - Analysis pipeline → Endpoint schemas: dispatches settled records
crates/http-inspector-analysis/src/pipeline.rs - HTTP exchanges → Request search: indexes for search
crates/http-inspector-analysis/src/search/document.rs - Request list → Request filters: filters records
- Request list → Request search: searches records
- Desktop app → Request list: presents records
- Desktop app → Exchange details: opens details
- Desktop app → Map views: handles map actions
src/ui/app/controller.rs - Map views → URL map: renders map
src/ui/map/mod.rs - Exchange details → Body presentation: formats body previews
- Desktop app → Replay and HLS: starts replay and HLS
src/ui/app/controller.rs - User → CLI protocol: runs commands
README.md - CLI protocol → CLI daemon: controls session
crates/http-inspector-cli/src/daemon/session.rs - CLI protocol → HTTP exchanges: queries captured records
- Desktop app → HAR and cURL: exports HAR
src/ui/app/controller.rs - URL map → Map export: exports map