docs: improve README presentation by centering text and updating mermaid diagram colors.

This commit is contained in:
Nikketryhard
2026-02-18 02:29:46 -06:00
parent f9fa9c6f22
commit 9ae6fa6eaf

View File

@@ -1,13 +1,17 @@
# ZeroGravity <h1 align="center">ZeroGravity</h1>
<p align="center"> <p align="center">
<img src="assets/logo.png" alt="ZeroGravity" width="200" /> <img src="assets/logo.png" alt="ZeroGravity" width="200" />
</p> </p>
<p align="center">
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.
</p>
---
```mermaid ```mermaid
%%{init: {'theme': 'dark', 'themeVariables': {'primaryColor': '#1a1a2e', 'primaryTextColor': '#e0e0e0', 'primaryBorderColor': '#7c3aed', 'lineColor': '#7c3aed', 'secondaryColor': '#16213e', 'tertiaryColor': '#0f3460', 'edgeLabelBackground': '#1a1a2e', 'nodeTextColor': '#e0e0e0'}}}%% %%{init: {'theme': 'dark', 'themeVariables': {'primaryColor': '#2a2a2a', 'primaryTextColor': '#d0d0d0', 'primaryBorderColor': '#888', 'lineColor': '#888', 'secondaryColor': '#333', 'tertiaryColor': '#3a3a3a', 'edgeLabelBackground': '#2a2a2a', 'nodeTextColor': '#d0d0d0'}}}%%
graph LR graph LR
Client["Client"] -->|"OpenAI / Gemini API"| Proxy["Proxy :8741"] Client["Client"] -->|"OpenAI / Gemini API"| Proxy["Proxy :8741"]
Proxy -->|"gRPC (dummy prompt)"| LS["Standalone LS"] Proxy -->|"gRPC (dummy prompt)"| LS["Standalone LS"]
@@ -17,10 +21,10 @@ graph LR
MITM -->|"Usage, errors,<br/>function calls"| Proxy MITM -->|"Usage, errors,<br/>function calls"| Proxy
LS -.->|"iptables redirect<br/>(UID-scoped)"| MITM LS -.->|"iptables redirect<br/>(UID-scoped)"| MITM
style Proxy fill:#7c3aed,color:#fff style Proxy fill:#4a4a4a,color:#e0e0e0,stroke:#888
style MITM fill:#e94560,color:#fff style MITM fill:#3a3a3a,color:#e0e0e0,stroke:#888
style LS fill:#2563eb,color:#fff style LS fill:#505050,color:#e0e0e0,stroke:#888
style Google fill:#059669,color:#fff style Google fill:#444,color:#e0e0e0,stroke:#888
``` ```
## Quick Start ## Quick Start