How kvan7/exiled-exchange-2 works
Main Components Identification
The project is an Electron-based desktop application with the following main components:
a) Main Process (./main/)
• Core application logic
• System tray integration
• Window management
• Game interaction
• OCR/Vision processing
b) Renderer Process (./renderer/)
• User interface
• Price checking logic
• Item parsing
• Trade integration
c) Data Parser (./dataParser/)
• Game data processing
• Multi-language support
• Item and stats processing
Key Architectural Elements
a) Core Application Layer:
• Main Process (Electron)
• IPC Communication
• Window Management
• System Tray
• Auto Updater
b) Game Integration Layer:
• Game Window Detection
• Log File Watcher
• Overlay System
• Hotkey System
• OCR/Vision Processing
c) Data Processing Layer:
• Item Parser
• Stats Parser
• Price Prediction
• Trade API Integration
• Cache System
d) User Interface Layer:
• Price Check Window
• Settings Window
• Overlay Widgets
• Search Interfaces
• Blue: Core application components
• Green: Game integration features
• Orange: Data processing systems
• Purple: User interface elements
• Gray: External services/APIs
Component Relationships:
→ Data flow direction
⟷ Two-way communication
• > External API calls
□ Process/Service
○ Data Store
◇ External Service
Key Interactions to Highlight
• IPC communication between main and renderer processes
• Game window detection and overlay positioning
• Data flow from game client to price check system
• Integration with external trade APIs
• Multi-language support system
• Cache and rate limiting mechanisms
External Services Integration
• poe.ninja API
• poeprices.info API
• pathofexile.com Trade API
• Game client interaction