How tattle-made/uli works
Main Components
a) Browser Extension Components:
• Plugin Frontend (React-based UI)
• Content Scripts (for Twitter integration)
• Background Service
• Local Storage
b) Backend Services:
• API Server (Express.js)
• Authentication Service
• Database Layer (SQL with Sequelize)
• S3 Storage Service
• ML Classification Service
c) External Services:
• Browser APIs (Chrome/Firefox)
• Twitter Platform
• Email Service
[Client Layer]
• Browser Extension UI
• Content Scripts
• Background Scripts
[Communication Layer]
• Browser APIs
• REST APIs
[Server Layer]
• API Server
• Authentication
• ML Services
[Data Layer]
• SQL Database
• S3 Storage
Key Relationships to Highlight
• Content Script ↔ Twitter DOM interaction
• Background Service ↔ API Server communication
• User Authentication flow
• Data flow for slur detection and replacement
• Archive storage workflow
• ML classification process
Component Details
Frontend Components:
• Options UI
• Tweet Controls
• Slur Detection Interface
• Archive Management
• User Preferences
Backend Services:
• User Management
• Post Processing
• Feedback System
• Slur Detection
• Archive Management
• ML Classification
Database Models:
• Users
• Preferences
• Posts
• Feedback
• Slurs
• Categories
Implementation Notes
• Use standardized UML notation
• API endpoints
• Database relationships
• Asynchronous processes
• Security boundaries
• Language/region specific handling
Technical Stack Indicators
• React/Grommet UI
• Express.js Backend
• Sequelize ORM
• AWS S3
• Docker containers
• Browser APIs
Remember to highlight the privacy-focused architecture and the multi-language support aspects, as these are core to the project's mission of protecting marginalized users.