List view
- Write README.md with setup and usage instructions - Add example cURL command using a virtual key - Document configuration options and key format
No due date- Add structured logging (e.g., zap or zerolog) - Add basic Prometheus metrics: request count, duration, key usage - Optionally add OpenTelemetry hooks for tracing
No due date- Validate expiration and allowed scope for each key - Reject unauthorized or malformed requests with proper status codes
No due date- Add reverse proxy middleware using httputil.ReverseProxy - Match incoming requests with a ?key= param or header - Look up virtual key, inject OpenAI API key into outbound request - Strip virtual key before forwarding
No due date- Define VirtualKey struct with scope, expiration, and target info - Create in-memory key store (map + mutex) with CRUD operations - Add CLI or simple HTTP endpoint to issue and revoke keys
No due date- Initialize Go module and project structure - Add go-chi/chi router and middleware setup - Define basic /healthz and /version endpoints - Set up configuration management (e.g., viper or env-based)
No due date