Discover and explore top open-source AI tools and projects—updated daily.
XyzenSunCloudflare Worker proxy for private AI APIs and general routing
Top 97.7% on SourcePulse
Summary
SpectreProxy addresses privacy leaks and proxy detection issues inherent in Cloudflare Workers' fetch API. By leveraging native TCP Socket APIs, it offers users enhanced privacy, bypasses geo-restrictions, and masks its origin, making it ideal for developers and power users requiring robust and discreet network access, particularly for AI services.
How It Works
The project bypasses Cloudflare Workers' fetch API limitations by utilizing the native connect() TCP Socket API. This low-level approach grants complete control over request bytes, fundamentally preventing the automatic injection of privacy-exposing headers like cf-connecting-ip and cf-worker. This direct socket manipulation ensures a cleaner, more private connection compared to standard fetch requests.
Quick Start & Requirements
Requires a Cloudflare account with Workers enabled. Deployment involves copying either the aigateway.js (AI-optimized) or single.js (general-purpose) script into a new Cloudflare Worker, followed by configuring essential environment variables like AUTH_TOKEN for security.
Highlighted Details
fetch API's default headers.AIGateway with automatic SOCKS5/direct connection selection and fallback, plus single.js with multiple proxy strategy options.single.js natively handles HTTP/S, WebSocket (WSS), and DNS-2 months ago
Inactive
veekaybee