# su-kaka/gcli2api

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

Repository: https://github.com/su-kaka/gcli2api
Canonical: https://ross.abutalabs.com/products/gcli2api
Language: Python
License: NOASSERTION
License Family: other
Topics: gemini, gemini-ai, gemini-api, gemini-pro, antigravity-ide, antigravity2api, claude, claude-api, claude-code
Last push: 2026-08-24T14:55:24+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 27
- inputs: {"age_days": 384, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5100, forks 1337 (observed 2026-08-28T04:09:09.748883+00:00)

## What it is
A self-hosted Python service that converts GeminiCLI and Antigravity into OpenAI-, Gemini-, and Claude-compatible API endpoints. It can be deployed via Docker, Docker Compose, or one-click installers on Linux, macOS, Windows, and Termux.

## Use cases
- expose gemini cli as an openai-compatible api
- use claude api format with gemini backend
- self-host a proxy for gemini and antigravity models
- serve openai-compatible endpoints from gemini cli credentials
- convert antigravity ide to claude api
- run a local llm api gateway with docker

## When to choose
- you already have GeminiCLI or Antigravity access and want standard OpenAI/Gemini/Claude API interfaces
- you want a self-hosted, Docker-deployable LLM API proxy
- you need to plug Gemini-backed models into tools that only speak OpenAI or Claude APIs

## When to avoid
- you need official, first-party API access with guaranteed terms of service
- you require a non-restrictive license for commercial redistribution (license is CNC-1.0, not standard open source)
- you want a managed cloud service rather than self-hosting

## Facets
- artifact type: service
- maturity: active
- function: api-framework, http-server, llm-inference, proxy
- domain: large-language-models, apis, self-hosted, artificial-intelligence
- platform: windows, self-hosted, python
- tags: api-gateway, gemini-cli, openai-compatible, claude-api, antigravity, api-conversion, llm-proxy, docker, linux, macos

## Member repositories
- su-kaka/gcli2api (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:09.748883+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:02:13.097346+00:00, confidence not recorded.
  - readme: https://github.com/su-kaka/gcli2api (fetched 2026-08-28T04:09:09.748883+00:00, sha b2558b5e31ca)
- Data as of 2026-08-30T08:39:29.467469+00:00.
