How wustho/baca works
Component Relationships
User Input → UI Layer → Core App Layer ↔ E-book Processing Layer
• ↕
• Utilities Layer
Detailed Component Breakdown
UI Layer:
• Windows management
• Content rendering
• Event handling
• Text justification system
• ANSI image display
Core Layer:
• Configuration management
• Reading position tracking
• Database interactions
• Search functionality
E-book Processing:
• Format-specific handlers (EPUB, MOBI, AZW)
• KindleUnpack integration
• Content extraction
• Image processing
Utilities:
• File system operations
• HTML parsing
• URL handling
• Temporary directory management
• Resource management
External Integrations
Connections to:
• System image viewers
• File system
• User configuration directory
• Terminal capabilities