How plyght/voxa works
Main Components
a. Client-Side Components (Primary Layer):
• Inside this container, create the following sub-components:
• UI Layer (SwiftUI)
• ContentView
• DiscordWindowContent
• WebView Component
• Application Core
• DiscordApp (Main App Entry)
• Window Management
• SecondaryWindowController
• Asset Management
• System Resources
b. External Integration Layer:
• Discord API Services
• WebView Bridge
• Native macOS System Integration
Component Relationships
• DiscordApp → ContentView (initialization flow)
• ContentView → DiscordWindowContent (UI hierarchy)
• DiscordWindowContent → WebView (content rendering)
• WebView → Discord API Services (external communication)
• SecondaryWindowController → Window Management (window handling)
Technical Stack Indicators
• SwiftUI as the primary UI framework
• macOS native APIs
• WebKit integration
• Discord API integration