
web2gem
Guardinary
Lightweight Gemini Web gateway with OpenAI-compatible and Google-compatible APIs. Deploy the single Worker bundle to Cloudflare or run it with Docker, with optional API authentication and Gemini cookie-backed features. Zero cost, cross-platform, single file.
AI 简介
web2gem 是一个兼容 OpenAI 和 Google Gemini API 的轻量级 HTTP 适配器,将标准 API 请求转发至 Gemini Web 服务。它支持完整的 Chat Completions、generateContent 及模型发现等接口,具备双运行模式(Cloudflare Workers 或 Docker),利用 Workers 的 sockets 突破 fetch 限流,并以单文件、零成本、跨平台方式部署。适用于需对接 Gemini Web 但受限于官方 API 访问权限、地域或配额的本地开发、测试及轻量生产场景,尤其适合快速搭建兼容层或替代 OpenAI/Gemini 官方后端的中间服务。
JavaScript
MIT License154
Stars
53
Forks
57
Watchers
1
Issues
Star 增长
今日0
近 7 天0
近 30 天+27
综合评分47.9
默认分支main