A Chrome Extension for real-time prediction market analysis.
Polywhisper listens to podcasts, videos, or any active tab, transcribes the audio in real-time, and uses Grok (xAI) to identify trending topics. It then instantly surfaces relevant Polymarket betting markets, allowing you to discover and track markets as they're being discussed.
- Live Transcription: High-speed, low-latency speech-to-text powered by Deepgram Nova-3.
- AI Analyst (Grok): Continuously analyzes the conversation context to extract "betting signals" and market-moving topics.
- Real-Time Markets: Fetches live odds, volume, and price history (sparklines) from Polymarket.
- Dual Audio Capture: Captures both the tab audio (the pod) and your microphone (optional) for a verified "Mic Check" experience.
- Premium UI: Clean, modern interface with real-time status indicators—Start Listening, Stop Listening, and Live status updates.
- Smart Permissions: Auto-detects permission issues and guides you through the setup seamlessly.
Built with the best modern web and AI technologies:
- Plasmo: The framework for browser extensions.
- React: Reactive UI components.
- Tailwind CSS: Precision styling.
- Deepgram SDK: Real-time audio streaming and transcription.
- Vercel AI SDK & xAI: Grok-beta integration for intelligent topic extraction.
- Polymarket API: Live market data and Gamma Markets API.
- Node.js (v18+)
- npm or pnpm
- API Keys for Deepgram and xAI
-
Clone the repository
git clone https://github.com/afifi-yusuf/all-in-polymarket.git cd all-in-polymarket -
Install dependencies
npm install # or pnpm install -
Configure Environment Create a
.envfile in the root directory:PLASMO_PUBLIC_XAI_KEY=your_xai_key_here PLASMO_PUBLIC_DEEPGRAM_KEY=your_deepgram_key_here
-
Run Development Server
npm run dev
- This will create a
build/chrome-mv3-devfolder. - Go to
chrome://extensions/in Chrome. - Enable Developer mode.
- Click Load unpacked and select the
build/chrome-mv3-devfolder.
- This will create a
-
Build for Production
npm run build
- Use the
build/chrome-mv3-prodfolder to submit to the Chrome Web Store or distribute manually.
- Use the
This extension requires the following permissions to function:
tabCapture: To listen to the podcast audio from the active tab.offscreen: To process audio in the background without freezing the UI.sidePanel: To display the intelligence interface alongside the content.microphone: (Optional) To verify user presence and enable full conversational context.
MIT
