docs: add project logo to README and adjust table formatting.
This commit is contained in:
34
README.md
34
README.md
@@ -1,5 +1,9 @@
|
|||||||
# ZeroGravity
|
# 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.
|
OpenAI-compatible proxy that intercepts and relays requests to Google's Antigravity language server, impersonating the real Electron webview.
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
@@ -31,19 +35,19 @@ zg start
|
|||||||
|
|
||||||
## Endpoints
|
## Endpoints
|
||||||
|
|
||||||
| Method | Path | Description |
|
| Method | Path | Description |
|
||||||
| ---------- | --------------------------------- | ------------------------------------ |
|
| ---------- | --------------------------------- | -------------------------------------- |
|
||||||
| `POST` | `/v1/responses` | Responses API (sync + streaming) |
|
| `POST` | `/v1/responses` | Responses API (sync + streaming) |
|
||||||
| `POST` | `/v1/chat/completions` | Chat Completions API (OpenAI compat) |
|
| `POST` | `/v1/chat/completions` | Chat Completions API (OpenAI compat) |
|
||||||
| `POST` | `/v1beta/models/{model}:{action}` | Official Gemini v1beta routes |
|
| `POST` | `/v1beta/models/{model}:{action}` | Official Gemini v1beta routes |
|
||||||
| `GET/POST` | `/v1/search` | Web Search via Google grounding ⚠️ WIP |
|
| `GET/POST` | `/v1/search` | Web Search via Google grounding ⚠️ WIP |
|
||||||
| `GET` | `/v1/models` | List available models |
|
| `GET` | `/v1/models` | List available models |
|
||||||
| `GET` | `/v1/sessions` | List active sessions |
|
| `GET` | `/v1/sessions` | List active sessions |
|
||||||
| `DELETE` | `/v1/sessions/{id}` | Delete a session |
|
| `DELETE` | `/v1/sessions/{id}` | Delete a session |
|
||||||
| `POST` | `/v1/token` | Set OAuth token at runtime |
|
| `POST` | `/v1/token` | Set OAuth token at runtime |
|
||||||
| `GET` | `/v1/usage` | MITM-intercepted token usage |
|
| `GET` | `/v1/usage` | MITM-intercepted token usage |
|
||||||
| `GET` | `/v1/quota` | LS quota and rate limits |
|
| `GET` | `/v1/quota` | LS quota and rate limits |
|
||||||
| `GET` | `/health` | Health check |
|
| `GET` | `/health` | Health check |
|
||||||
|
|
||||||
## Authentication
|
## Authentication
|
||||||
|
|
||||||
@@ -55,8 +59,8 @@ The proxy needs an OAuth token:
|
|||||||
|
|
||||||
## `zg` Commands
|
## `zg` Commands
|
||||||
|
|
||||||
| Command | Description |
|
| Command | Description |
|
||||||
| --------------------- | ------------------------------ |
|
| --------------- | ------------------------------ |
|
||||||
| `zg start` | Start the proxy daemon |
|
| `zg start` | Start the proxy daemon |
|
||||||
| `zg stop` | Stop the proxy daemon |
|
| `zg stop` | Stop the proxy daemon |
|
||||||
| `zg restart` | Rebuild + restart |
|
| `zg restart` | Rebuild + restart |
|
||||||
|
|||||||
BIN
assets/logo.png
Normal file
BIN
assets/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 MiB |
Reference in New Issue
Block a user