How vbyazilim/basichttpdebugger works
Main Components
a. HTTP Server Component
• Main server listener (port 9002 by default)
• Request handler functionality
• Raw HTTP request capture capability
b. Request Processing Pipeline
• HTTP Request Parser
• HMAC Validation Component (optional feature)
• Payload Processing Component
c. Output Management System
• Standard Output Handler
• File Output Handler
• Raw HTTP Request Storage
d. Utility Components
• Environment Utils
• String Utils
• Validation Utils
• Writer Utils
Component Relationships
[Incoming HTTP Request] → [HTTP Server (port 9002)]
• ↓
• [Request Processor]
• ↓
• ┌──────────────┴───────────────┐
• ↓ ↓
• [HMAC Validator] [Request Parser]
• ↓ ↓
• →───────────────┘
• ↓
• [Output Manager]
• ↓
• ┌──────────────┴───────────────┐
• ↓ ↓
• [Console Output] [File Output]
Additional Elements
• Version information
• External integration points (e.g., webhook sources)
• File storage locations for raw HTTP requests
Technical Details to Highlight
• Go runtime environment
• Internal package organization
• Testing components
• Docker support
• GitHub Actions integration