🔀Proxy / Network
ToolProxy / Networkv2.0.0PythonMIT
Proxipy
Production-ready high-performance CORS proxy server
Read the full case studyKey Facts & Overview
Proxipy is a production-ready, high-performance CORS proxy server built with FastAPI. It bypasses same-origin policy and mixed content issues, with intelligent streaming, advanced load balancing, comprehensive security middleware, rate limiting, and health monitoring.
- ›Streams large files and binary content instead of buffering everything in memory.
- ›Configurable via YAML with hot reload and environment variables.
- ›Session stickiness via cookie or IP-based affinity.
- ›Built-in health endpoint, metrics endpoint, and structured logging.
Core Architectural Features
CORS proxy for AJAX requests
HTTP/2 with TLS
Intelligent streaming for large files
Load balancing: round-robin, weighted, least connections, latency-based
Health checks and circuit breaker
Rate limiting with Redis or memory fallback
Security headers: CSP, HSTS, XSS protection
Private IP protection and blocked hosts
Multi-protocol support: HTTP, HTTPS, WebSocket, TCP, UDP
HAProxy-style stats and metrics
Installation
git clone https://github.com/ayoubzulfiqar/proxipy.git
cd proxipy
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python -m app.main
# Or Docker Compose
docker-compose up -dUsage
curl "http://localhost:6969/proxy?url=https://api.example.com/data"
# POST with body
curl -X POST http://localhost:6969/proxy -H "Content-Type: application/json" -d '{"url":"https://api.example.com/data","method":"POST","body":"{}"}'API Reference
GET /proxy?url=<target>Proxy GET requests with load balancing.
POST /proxyProxy requests with custom body and headers.
GET /healthHealth check with load balancer status.
GET /statsHAProxy-style load balancer statistics.
GET /metricsPerformance metrics and request stats.