{"repo":"loffloff/gemini-live-react","free":true,"listed":false,"github":"https://github.com/loffloff/gemini-live-react","clone":"git clone https://github.com/loffloff/gemini-live-react.git","description":"React hook for Google Gemini Live API - real-time voice streaming, session recording, workflow automation, and smart element detection","language":"TypeScript","stars":26,"topics":["ai","audio","automation","gemini","google","react","real-time","streaming","typescript","voice"],"license":"MIT","category":"workflow-automation","readme_excerpt":"gemini-live-react Real-time bidirectional voice streaming with Google Gemini Live API for React. Table of Contents - Why This Exists - Quick Start - Features - API - Guides - Screen Sharing - Tool Calling - Voice Activity Detection - Session Recording - Workflow Builder - Smart Element Detection - Examples - Troubleshooting Why This Exists Building real-time voice with Gemini Live is harder than it looks: - Audio format juggling : Gemini wants 16kHz PCM input, sends 24kHz output, but browsers use 44.1kHz/48kHz - Endianness matters : Gemini sends little-endian PCM16. Use Int16Array directly and you'll get garbage on some devices - Buffer management : Play audio too early = choppy. Buffer too much = laggy - Playback chaining : New audio chunks arrive while playing. Chain them wrong = gaps and clicks I spent some hours figuring this out. Hope it saves you some time! Quick Start 1. Install 2. Deploy the proxy Copy packages/proxy-deno/index.ts to your Supabase project: 3. Use the hook See It In Production deflectionrate.com - AI-powered customer support deflection built with this library. Features - Voice in/out - Full duplex audio streaming - Screen sharing - Gemini can see what you share - Tool calling - Let AI execute functions and get results back - Voice Activity Detection - Only send audio when speaking (saves bandwidth) - Transcription - Real-time speech-to-text for both sides - Streaming transcripts - Show partial transcripts as users speak - Welcome messages - Auto-trigge","default_branch":null,"files":null,"tree":[],"storefront":"/r/loffloff","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/loffloff/gemini-live-react/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."}