Discover and explore top open-source AI tools and projects—updated daily.
tech-shrimpCloudflare Worker proxy for Gemini multimodal API
Top 100.0% on SourcePulse
This project offers a Cloudflare Worker script designed to proxy Google's Gemini 2.0 multimodal API. It specifically targets users in mainland China, aiming to provide access to the free, native multimodal capabilities of Gemini, which may face accessibility challenges in the region. The solution allows users to deploy a simple proxy to circumvent potential network restrictions.
How It Works
The core of the project is a worker.js script that runs on Cloudflare's edge network. By deploying this script as a Cloudflare Worker and associating it with a custom domain, users can route their Gemini API requests through Cloudflare. This approach leverages Cloudflare's infrastructure to act as an intermediary, potentially improving connection stability and accessibility for users in mainland China accessing Google's AI services.
Quick Start & Requirements
worker.js file into the Worker's code editor.Highlighted Details
Maintenance & Community
The project is maintained by "技术爬爬虾" (Ji Shu Pa Pa Xia), described as a tech blogger focused on practical software DIY. No other community channels or contribution information are provided.
Licensing & Compatibility
The project's README does not specify a software license. Users should be aware of potential usage restrictions. Compatibility is dependent on the Cloudflare Workers environment and the Gemini API.
Limitations & Caveats
The effectiveness of this proxy relies heavily on the stability of both Cloudflare's network and Google's Gemini API. Access from mainland China may still be subject to intermittent network issues or government-level blocking. The absence of a defined license introduces ambiguity regarding commercial use or redistribution.
10 months ago
Inactive