Serverless AI proxy for edge access
Top 96.9% on sourcepulse
This project provides a serverless Cloudflare Worker to proxy requests to AI APIs, enabling access to advanced models from the edge. It's designed for users who want to securely manage API keys, bypass regional restrictions, and leverage Cloudflare's global network for potentially lower latency and high scalability, all while benefiting from a generous free tier.
How It Works
The worker acts as an intermediary, securely routing requests to AI services like Gemini and Imagen. It utilizes Cloudflare's environment variables to store API keys, preventing exposure in client-side code. The project includes a customizable HTML interface for user interaction and handles Cross-Origin Resource Sharing (CORS) and streaming responses, making it a versatile solution for accessing AI capabilities.
Quick Start & Requirements
GEMINI_API_KEY
).Highlighted Details
Maintenance & Community
The project is maintained by qyjoy. Contributions are welcomed via pull requests to the discover
branch. Contact is available via email at dev@qyjoy.vip.
Licensing & Compatibility
Licensed under GNU General Public License v3.0 or later. This license permits redistribution and modification but requires derived works to also be open-sourced under the same terms. Commercial use and linking with closed-source applications may be restricted due to the GPL's copyleft provisions.
Limitations & Caveats
The project is an API forwarder, not a general network proxy, and does not support accessing arbitrary websites or providing VPN-like services. While compliant with Cloudflare's policies, the GPLv3 license may impose restrictions on integration with proprietary software.
1 week ago
Inactive