How lencx/noi works
Main Components Structure
a) Core Application Layer
• Main browser engine (Electron-based)
• Cache management system for the "Noi Cache Mode"
• Cookie isolation system
b) Extension System
• Five main extensions as separate modules:
• noi-ask
• noi-ask-custom
• noi-export-chatgpt
• noi-reset
• thinking-claude
c) Configuration Management
• Configs system showing:
• Mode management
• Proxy settings
• User configurations
d) Internationalization Layer
• Localization system supporting 15+ languages
• To the respective language resource files
Data Flow and Interactions
• User interface → Browser core
• Extension system → Core features
• Configuration system → Application settings
• I18n system → UI components
External Integration Points
Connections to:
• AI services (ChatGPT, Claude, etc.)
• GitHub for updates
• Custom sync URLs for modes
• External websites
Technical Details
Annotations for:
• Electron framework base
• Local storage mechanisms
• Extension API limitations
• Cookie isolation boundaries
• Cache management system
Component Details
For each major component, include:
Core Browser:
• URL handling
• Cache management
• Cookie isolation
• Theme system
Extensions Framework:
• API limitations
• Local storage
• Extension management
Configuration System:
• Mode sync
• Proxy settings
• User preferences
I18n System:
• Language detection
• Resource loading
• Translation management