How bonbon-exchange/bonbon-browser works
Main Architectural Components
a) Frontend (Renderer Process)
• React-based UI components hierarchy
• Redux store architecture
• Two main UI parts: Main App and TitleBar
b) Backend (Main Process)
• Electron main process components
• System services and utilities
• Database and storage mechanisms
c) IPC Communication Layer
• Bidirectional communication between main and renderer processes
Key Components
Frontend Layer:
• App Container
• TitleBar (Window Controls)
• Board Management
• Browser Components
• Tabs System
• Navigation Controls
• URL Bar
• Features
• Bookmarks
• History
• Downloads
• Extensions
Backend Layer:
• Main Process
• Window Management
• File System Operations
• Database Operations
• Extension Management
• Download Management
• Analytics System
Specific Implementation Details
• Blue rectangles: Core browser components
• Green rectangles: Feature modules
• Yellow diamonds: Services
• Red hexagons: Storage systems
Component Relationships
Key interactions:
• IPC communication between main and renderer processes
• Redux store data flow
• Extension system integration
• File system interactions
• Database operations
Technical Stack Indicators
Technology badges for:
• Electron
• React
• Redux
• TypeScript
• WebKit/Chromium
• SQLite (for storage)
Special Features
Unique features with special callouts:
• Board system architecture
• Minimap implementation
• Window snapping mechanism
• Extension system
• Multi-language support
Data Flow
• User interaction flow
• Data persistence paths
• IPC message routes
• Extension communication
Notes Section
Technical notes about:
• Security boundaries
• Process isolation
• Performance considerations
• Extension sandbox
Remember to emphasize the unique features of BonBon Browser, such as the board system, minimap, and window snapping, as these are key differentiators from traditional browsers.