g2-relay
by carlmasters02
Cloudflare Worker that relays WebSocket traffic between a browser client and OpenAI's realtime translation API. Exists because browsers can't set WebSocket headers, so the API key…
g2-relay is an open-source project by carlmasters02 written in JavaScript, 0 stars, licence not stated. Cloudflare Worker that relays WebSocket traffic between a browser client and OpenAI's realtime translation API. Exists because browsers can't set WebSocket headers, so the API key stays server-side instead of shipping in the client bundle. Built for an Even G2 smart-glasses translation app; works with any client.
Glasses compatibility
| Model | Status | Evidence |
|---|---|---|
| Even Realities G2 | Verified | "Built for an Even G2 smart-glasses translation app; works with any client" — the context describes using the glasses |
Evidence is quoted from the listing at github.com, checked 24 Oct 2026. What these labels mean.
From the listing
Cloudflare Worker that relays WebSocket traffic between a browser client and OpenAI's realtime translation API. Exists because browsers can't set WebSocket headers, so the API key stays server-side instead of shipping in the client bundle. Built for an Even G2 smart-glasses translation app; works with any client.
Quoted, shortened, and attributed to the publisher. Full text at the source link.