How galateapolymorph/fanslib works
Main Architectural Components
a) Electron Application Layer
• Main Process
• Renderer Process
• IPC Communication Layer
b) Feature Modules
• Library Management
• Content Scheduling
• Post Management
• Channel Management
• Settings Management
c) Data Layer
• Local Database
• File System Integration
Component Relationships
[Electron Main Process] ←→ [IPC Bridge] ←→ [Renderer Process (React UI)]
• ↕ ↕
[System Integration] [Feature Modules]
(File System, Media) ↕
• ↕ [Data Layer]
[Local Media Library] ←→ [Local Database]
Specific Implementation Details
• The separation between main and renderer processes
• How the IPC registry manages communication
• The relationship between media files and the database
• How features interact with both the UI and data layer
Data Flow Indicators
Key flows:
• Media file scanning and indexing
• Post scheduling and management
• Content organization (categories, tags, shoots)
• Settings persistence
• Thumbnail generation and caching
Technical Stack Indicators
Technologies:
• Electron
• React
• TypeScript
• Local File System
• Custom Protocols (media-protocol, thumbnail-protocol)