How piyushgarg-dev/leetcode-whisper-chrome-extension works
Specific Components
Frontend (UI Layer):
• UI Components (from src/components/ui)
• Modal Components (from src/modals)
• Component
• Theme Provider
Service Layer:
• Modal Service
• Chrome Storage Service
• IndexDB Service
Data Management:
• Chrome Storage
• IndexedDB
• Interface Definitions
AI Integration:
• OpenAI 3.5 Turbo
• OpenAI 4.0
• Gemini AI 1.5 Pro
Connection Flows
• Content Script ↔ Web Page
• Background Script ↔ Chrome APIs
• UI Components ↔ Modal Service
• Modal Service ↔ AI Services
• Storage Services ↔ Chrome Storage/IndexedDB
Component Details
For each major component, include:
• Component name
• Key responsibilities
• Primary dependencies
• Data flow direction
Technical Stack Indicators
A tech stack section showing:
• React + TypeScript
• Vite
• Tailwind CSS
• Chrome Extension APIs
• IndexedDB
• External AI APIs
[Chrome Extension Interface Layer]
• ↕
[React Components & UI Layer]
• ↕
[Service Layer & Modal System]
• ↕
[Storage Layer]
• ↕
[External AI Services]