How utkarsh-singhal-26/todo-extension works
Main System Components
a) Web Application (packages/webapp)
b) Browser Extension (packages/extension)
Architecture Representation
A. Web Application (Left Side)
• React Frontend (indicated by App.tsx, main.tsx)
• Vite Build System
• Utils Layer (containing interfaces)
• TailwindCSS Styling Layer
B. Browser Extension (Right Side)
• Extension UI (React-based)
• Content Script
• Service Worker
• Extension Manifest
• Browser Integration Points
Component Relationships
• Communication between the webapp and extension
• Internal extension communication:
• Service Worker ↔ Content Script
• Extension UI ↔ Service Worker
• Content Script ↔ Webpage
┌─────────────────┐ ┌─────────────────┐
• Web App │ │ Browser │
• ┌─────────┐ │ │ ┌─────────┐ │
• React UI │ │ │ │Extension│ │
• ┘ │ │ │ UI │ │
• ┌─────────┐ │ │ └─────────┘ │
• Utils │ │ │ ┌─────────┐ │
• ┘ │ │ │Service │ │
• ┘ │ │Worker │ │
• ┘ │
• ┌─────────┐ │
• Content │ │
• Script │ │
• ┘ │
• ┘