How greendiary/clim8 works
Clim8 is a Windows tray-resident weather client. On interactive launch, the app obtains device coordinates, persists location and preferences, and opens a forecast card; the card fetches current, hourly, and daily conditions from Google Weather and renders them. The tray menu and settings panel provide alternate controls for opening the card, refreshing location or weather, changing units, and managing startup. The graph includes documented capabilities whose implementation was not sampled; relationships are shown only where excerpts or the README support them.
Main entry points: App.xaml.cs App lifecycle · MainWindow.xaml.cs Forecast card · WeatherService.cs Weather API client · DpiCompat.cs DPI compatibility
Components 16
App orchestration
- App lifecycle
App.xaml.cs - DPI compatibility
DpiCompat.cs
Weather experience
- Forecast card
MainWindow.xaml.cs - Weather API client
WeatherService.cs - Forecast models
Models.cs - Weather formatting
WeatherPresentation.cs - Weather artwork
WeatherIconImage.cs
Settings and location
- Settings store
SettingsStore.cs - Device location
DeviceLocationService.cs - Settings panel
SettingsWindow.xaml.cs - Startup registration
StartupRegistration.cs
Tray controls
- Tray icon factory
TrayIconFactory.cs - Tray action menu
TrayMenuWindow.xaml.cs
Other components
- Windows user
- Windows location
- Google Weather API
Connections 18
- Windows user → App lifecycle: launches
README.md - App lifecycle → Settings store: loads and saves
README.md - App lifecycle → Device location: requests position
App.xaml.cs - Device location → Windows location: reads coordinates
DeviceLocationService.cs - App lifecycle → Forecast card: opens card
App.xaml.cs - Forecast card → Weather API client: requests forecast
MainWindow.xaml.cs - Weather API client → Google Weather API: fetches conditions
WeatherService.cs - Weather API client → Forecast models: builds snapshot
- Forecast card → Weather formatting: formats forecast
MainWindow.xaml.cs - Forecast card → Weather artwork: renders icons
MainWindow.xaml.cs - App lifecycle → Settings panel: opens settings
App.xaml.cs - App lifecycle → Startup registration: sets startup
App.xaml.cs - App lifecycle → Tray icon factory: creates icon
App.xaml.cs - App lifecycle → Tray action menu: opens menu
App.xaml.cs - Windows user → Tray icon factory: uses controls
README.md - Settings panel → DPI compatibility: positions window
SettingsWindow.xaml.cs - Tray action menu → DPI compatibility: positions menu
TrayMenuWindow.xaml.cs - Forecast card → DPI compatibility: positions card
MainWindow.xaml.cs