{"repo":"KashifKhn/gemini-proxy","free":true,"listed":false,"github":"https://github.com/KashifKhn/gemini-proxy","clone":"git clone https://github.com/KashifKhn/gemini-proxy.git","description":"Self-hosted OpenAI-compatible API proxy for Google Gemini — authenticated via OAuth 2.0 + PKCE, no paid API key required. Built with Bun + Hono + TypeScript.","language":"TypeScript","stars":41,"topics":["ai-proxy","bun","gemini","google-gemini","hono","llm","oauth2","openai-compatible","pkce","proxy"],"license":"MIT","category":"networking-infra","readme_excerpt":"gemini-proxy A self-hosted, OpenAI-compatible HTTP proxy for Google Gemini AI — authenticated via OAuth 2.0 + PKCE using the same credentials as the official Gemini CLI. No paid API key required. No gcloud CLI. No external tooling to install. Point any OpenAI SDK or tool at http://localhost:3000 and it will transparently route requests through Google's Cloud Code Assist endpoint using your personal Google account. --- Warning — read before using This project uses internal Google API endpoints and OAuth credentials that are publicly embedded in the official Gemini CLI. By using this software you acknowledge: - Terms of Service risk — This approach may violate the ToS of Google and other AI model providers - Account risk — Google may suspend or restrict your account - No guarantees — Internal APIs may change or break without notice - Assumption of risk — You assume all legal, financial, and technical risks associated with using this software Intended use: Personal and internal development only. Respect internal quotas and data-handling policies. Not for production services or circumventing intended rate limits. --- Features - OpenAI wire-compatible — drop-in replacement for any tool that speaks OpenAI's API - OAuth 2.0 + PKCE — browser-based login, no API key purchase needed - Auto token refresh — silently refreshes expired access tokens with in-flight deduplication - SSE streaming — stream: true with proper data: chunks and [DONE] terminator - Tool calls — function calling in ","default_branch":null,"files":null,"tree":[],"storefront":"/r/KashifKhn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KashifKhn/gemini-proxy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}