From 38f797c0f22be552b28d359938c4f55f700e8be2 Mon Sep 17 00:00:00 2001
From: Nikketryhard
- OpenAI-compatible proxy that intercepts and relays requests to Google's Antigravity language server, impersonating the real Electron webview. -
- -
-
+
@@ -18,6 +14,10 @@
+ OpenAI-compatible proxy that intercepts and relays requests to Google's Antigravity language server, impersonating the real Electron webview. +
+ --- ```mermaid @@ -113,19 +113,19 @@ schtasks /run /tn "ZeroGravity Proxy" ## Endpoints -| Method | Path | Description | -| ---------- | --------------------------------- | -------------------------------------- | -| `POST` | `/v1/responses` | Responses API (sync + streaming) | -| `POST` | `/v1/chat/completions` | Chat Completions API (OpenAI compat) | -| `POST` | `/v1beta/models/{model}:{action}` | Official Gemini v1beta routes | -| `GET/POST` | `/v1/search` | Web Search via Google grounding ⚠️ WIP | -| `GET` | `/v1/models` | List available models | -| `GET` | `/v1/sessions` | List active sessions | -| `DELETE` | `/v1/sessions/{id}` | Delete a session | -| `POST` | `/v1/token` | Set OAuth token at runtime | -| `GET` | `/v1/usage` | MITM-intercepted token usage | -| `GET` | `/v1/quota` | LS quota and rate limits | -| `GET` | `/health` | Health check | +| Method | Path | Description | +| ---------- | --------------------------------- | ------------------------------------- | +| `POST` | `/v1/responses` | Responses API (sync + streaming) | +| `POST` | `/v1/chat/completions` | Chat Completions API (OpenAI compat) | +| `POST` | `/v1beta/models/{model}:{action}` | Official Gemini v1beta routes | +| `GET/POST` | `/v1/search` | Web Search via Google grounding (WIP) | +| `GET` | `/v1/models` | List available models | +| `GET` | `/v1/sessions` | List active sessions | +| `DELETE` | `/v1/sessions/{id}` | Delete a session | +| `POST` | `/v1/token` | Set OAuth token at runtime | +| `GET` | `/v1/usage` | MITM-intercepted token usage | +| `GET` | `/v1/quota` | LS quota and rate limits | +| `GET` | `/health` | Health check | ## Authentication