Skip to main content
ClaudeWave

将 GeminiCLI 和 Antigravity 转换为 OpenAI 、GEMINI 和 Claude API 接口

Tools4.9k stars1.3k forksPythonNOASSERTIONUpdated 22d ago
Editor's note

gcli2api is a Python-based proxy server that converts Google's GeminiCLI tool and the Antigravity IDE into fully compatible API endpoints for OpenAI, Gemini, and Claude formats. It exposes standard REST endpoints including `/v1/chat/completions`, `/v1/models`, `/v1/messages` (Claude-compatible), and Gemini native generate/stream endpoints, allowing any client that speaks those API formats to route requests through GeminiCLI or Antigravity credentials without code changes. The server handles automatic format detection and conversion between message structures, supports multimodal input, and includes a web management console with WebSocket real-time log streaming, bulk credential upload via ZIP files, and JWT-authenticated panel access. A notable operational feature is the multi-credential rotation system, which load-balances across multiple Google OAuth credential files, tracks per-credential error codes like 429 and 403, and automatically disables failing credentials. Deployment options cover Docker, Docker Compose, Linux, macOS, Windows, and Termux. Developers building with Claude Code or any OpenAI-compatible client who want to leverage GeminiCLI's free or quota-based access at scale are the primary audience.

ClaudeWave Trust Score
95/100
Verified
Passed
  • License: NOASSERTION
  • Actively maintained (<30d)
  • Healthy fork ratio
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 6/11/2026
Get started
Method: Clone
Terminal
git clone https://github.com/su-kaka/gcli2api
1. Clone the repository.
2. Follow the README for installation and usage instructions.
Use cases

Tools overview

README preview not available. Visit the repo on GitHub for full documentation.
antigravity-ideantigravity2apiclaudeclaude-apiclaude-codegeminigemini-aigemini-apigemini-pro

What people ask about gcli2api

What is su-kaka/gcli2api?

+

su-kaka/gcli2api is tools for the Claude AI ecosystem. 将 GeminiCLI 和 Antigravity 转换为 OpenAI 、GEMINI 和 Claude API 接口 It has 4.9k GitHub stars and was last updated 22d ago.

How do I install gcli2api?

+

You can install gcli2api by cloning the repository (https://github.com/su-kaka/gcli2api) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is su-kaka/gcli2api safe to use?

+

Our security agent has analyzed su-kaka/gcli2api and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains su-kaka/gcli2api?

+

su-kaka/gcli2api is maintained by su-kaka. The last recorded GitHub activity is from 22d ago, with 11 open issues.

Are there alternatives to gcli2api?

+

Yes. On ClaudeWave you can browse similar tools at /categories/tools, sorted by popularity or recent activity.

Deploy gcli2api to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: su-kaka/gcli2api
[![Featured on ClaudeWave](https://claudewave.com/api/badge/su-kaka-gcli2api)](https://claudewave.com/repo/su-kaka-gcli2api)
<a href="https://claudewave.com/repo/su-kaka-gcli2api"><img src="https://claudewave.com/api/badge/su-kaka-gcli2api" alt="Featured on ClaudeWave: su-kaka/gcli2api" width="320" height="64" /></a>

More Tools