How sharpmars/inkschedule-3 works
Main Components
a) Frontend Layer:
• React-based UI components (src directory)
• Entry components for different game modes
• Styling system (UnoCSS)
b) Backend Layer:
• Tauri Rust backend (src-tauri directory)
• System tray integration
• API communication handler
c) External Services:
• splatoon3.ink API integration
┌─────────────────────────────────────────────────┐
• Frontend (UI) │
• ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
• Entries │ │ Navbar │ │ App │ │
• Components │ │ Component │ │ Component │ │
• ┘ └─────────────┘ └─────────────┘ │
• ┬─────────────────────────┘
┌───────────────────────▼─────────────────────────┐
• Tauri Backend (Rust) │
• ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
• System │ │ API │ │ State │ │
• Tray │ │ Client │ │ Manager │ │
• ┘ └─────────────┘ └─────────────┘ │
• ┬─────────────────────────┘
┌───────────────────────▼─────────────────────────┐
• External Services │
• ┌─────────────────────────────────────────────┐ │
• splatoon3.ink API │ │
• ┘ │
• ┘
Component Details
Frontend Layer:
• Different entry components (AnarchyEntry, BigRunEntry, etc.)
• Relationship between EntryList and individual entries
• Styling system (UnoCSS) and configuration files
Tauri Backend Layer:
• System tray integration
• API communication handling
• State management for schedule data
External Services Layer:
• Splatoon3.ink API endpoint
• Relevant API authentication or rate limiting
Additional Elements
• Version information
• Build/deployment flow
• Development vs production environments
Technical Stack Indicators
• React/TypeScript for frontend
• Rust for backend
• Tauri for desktop integration
• Vite for build system
• UnoCSS for styling
Remember to maintain a balance between showing enough detail to understand the system's architecture while keeping it clean and readable. The focus should be on the interaction between the three main layers and how they work together to deliver the schedule information to the user's taskbar.