使用 Deno 免费代理 Google Gemini,国内直连,不限地区/网络环境,打开即用。
免费使用 Gemini 地表最强大的 100万 Token 上下文模型。
兼容的 OpenAI 格式,可对接 AI 编程,接入ChatBox、Cherry Studio、Cursor、Cline 等 AI 客户端。
由于 Deno 封锁问题,推荐使用本地部署到国外的服务器(例如:新加坡)
# 1. 克隆项目(如果还没有)
git clone https://github.com/trueai-org/gemini.git
cd gemini
# 2. 给部署脚本执行权限
chmod +x deploy.sh
# 3. 运行部署
./deploy.sh
Bilibili 视频教程:https://www.bilibili.com/video/BV1DDA3eEEYn/
Star)src/deno_index.ts 其他字段留空Windows 安装 Deno:
irm https://deno.land/install.ps1 | iex
Mac/Linux 安装 Deno:
curl -fsSL https://deno.land/install.sh | sh
启动项目:
cd gemini
deno run --allow-net --allow-read src/deno_index.ts