Skip to content
Projects

pranrichh/gemini-canvas-proxy

View on GitHub

pranrichh/gemini-canvas-proxy has 38 GitHub stars and 10 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-18 01:58 UTC. Last push 2026-11-14.

How these counts are measured

What you can do

  • Chat completions with tool calling, multimodal input, and image generation
  • Compatible with Hermes Agent, OpenClaw, Opencode, OMP, the OpenAI SDK, curl
  • Bearer auth, loopback-only by default
  • Private MessageChannel bridge — no WebSocket, immune to Chrome's Local Network Access restrictions

Measured star growth

in 24h
0
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

Free unlimited Gemini API for any OpenAI-compatible app.

AI

README.md

Original

Gemini Canvas Proxy

typing animation

Turns a free Gemini Canvas session into a local OpenAI-compatible endpoint at http://127.0.0.1:8765/v1. Point any OpenAI client at it, use the generated token as the API key.

Quick start

git clone https://github.com/pranrichh/gemini-canvas-proxy.git
cd gemini-canvas-proxy
./setup.sh              # Windows: .\setup.ps1
  1. Load the extension: chrome://extensions → Developer mode → Load unpacked → extension/. Paste the Extension ID when the setup script asks.
  2. Open gemini.google.com → Canvas → "Create an HTML web app" → paste canvas-proxy.html into the code view → Preview.
  3. Test:
PROXY_TOKEN="$(cat native_host/.proxy_token)"
curl http://127.0.0.1:8765/v1/chat/completions \
  -H "Authorization: Bearer $PROXY_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"model":"gemini-3-flash-preview","messages":[{"role":"user","content":"Hello"}]}'

Docker: docker compose up -d --build, then noVNC at http://127.0.0.1:6080.

Features

  • Chat completions with tool calling, multimodal input, and image generation
  • Compatible with Hermes Agent, OpenClaw, Opencode, OMP, the OpenAI SDK, curl
  • Bearer auth, loopback-only by default
  • Private MessageChannel bridge — no WebSocket, immune to Chrome's Local Network Access restrictions

Docs

Architecture · API · Configuration · Deployment · Security · Troubleshooting · Integrations

License

MIT — using Canvas credentials outside Canvas may violate Google's Terms of Service.