HTTPeek is a terminal-based HTTP/WebSocket debugging proxy
- Proxies both HTTP and WebSocket traffic to a specified target
- Terminal UI with request list and detailed inspection
- Real-time monitoring of WebSocket messages
- View request/response headers and bodies
- Color-coded display of different HTTP methods and status codes
- Syntax highlighting for JSON, XML, and HTML responses
- Request filtering and search capabilities
- WebSocket message real-time viewer
- Graceful handling of binary data
- Performance metrics for request/response timing
httpeek -listen localhost:8080 -target https://example.com
-listen: Address to listen on (default: localhost:8080)-target: Target host to forward requests to (required)-verbose: Enable verbose logging-no-color: Disable colored output-help: Show help information
- Arrow keys / hjkl: Navigate tabs and lists
- 1/2/3/4: Switch between Requests, Headers, Body, and WebSocket tabs
- f: Toggle filter panel
- c: Clear all requests
- ?: Toggle help
- q / Ctrl+C: Quit
- f: Toggle follow mode (auto-scroll to new messages)
- b: Toggle binary message display
- Home/End: Jump to beginning/end of messages
- Ctrl+F: Search in WebSocket messages
- Tab/Shift+Tab: Navigate between filter fields
- Enter: Apply filters
- Esc: Close filter panel
# Download dependencies
go mod tidy
# Build the executable
go build -o httpeek# Install from source
go install github.com/recrsn/httpeek@latesthttpeek -listen localhost:9090 -target http://localhost:3000
httpeek -target https://api.example.com
MIT