docs: add project logo to README and adjust table formatting.

This commit is contained in:
Nikketryhard
2026-02-18 02:28:04 -06:00
parent c7231e5590
commit f9fa9c6f22
2 changed files with 19 additions and 15 deletions

View File

@@ -1,5 +1,9 @@
# ZeroGravity
<p align="center">
<img src="assets/logo.png" alt="ZeroGravity" width="200" />
</p>
OpenAI-compatible proxy that intercepts and relays requests to Google's Antigravity language server, impersonating the real Electron webview.
```mermaid
@@ -31,19 +35,19 @@ zg start
## 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
@@ -55,8 +59,8 @@ The proxy needs an OAuth token:
## `zg` Commands
| Command | Description |
| --------------------- | ------------------------------ |
| Command | Description |
| --------------- | ------------------------------ |
| `zg start` | Start the proxy daemon |
| `zg stop` | Stop the proxy daemon |
| `zg restart` | Rebuild + restart |