Cloudflare proxy for serverless deployment, DuckDuckGo/Libgen access
Top 27.8% on sourcepulse
This project provides a serverless proxy solution leveraging Cloudflare Workers, designed for users needing to bypass geo-restrictions, accelerate access to services like GitHub, and utilize AI chat functionalities (including GPT-4o/Claude 3) through services like DuckDuckGo. It offers a flexible way to deploy a personal proxy accessible from various platforms.
How It Works
The core of the project is a Cloudflare Worker script that acts as a reverse proxy. It intercepts requests, forwards them to the target URL, and returns the response. Key improvements over the original include removing the /proxy/
path prefix for cleaner URLs, automatically prepending http://
if missing, and handling 3XX redirects. It also modifies headers to replace proxy-specific information with target site details, converts relative paths to absolute paths for better resource loading, and scopes cookies to prevent data leakage and large cookie errors. Additionally, it injects XMLHttpRequest
and fetch
for form submission and adds a document monitor for dynamic link handling.
Quick Start & Requirements
cdn.example.com
instead of proxy.example.com
) is recommended to reduce detection risk.Highlighted Details
Maintenance & Community
The project is actively maintained, with contributions acknowledged from users who have reported bugs and suggested improvements. It is based on gaboolic's cloudflare-reverse-proxy.
Licensing & Compatibility
Licensed under MIT License with additional conditions:
Limitations & Caveats
This project is intended for learning the principles of online proxies and should not be used for illegal activities. Logging into websites via this proxy is strongly discouraged due to potential security risks, despite efforts to scope cookies.
2 weeks ago
1 day