How aam11/meeting-airplane works
Meeting Airplane is a macOS background app that checks Calendar events and animates a meeting banner shortly before a meeting starts. Its main workflow is app startup and configuration, calendar polling and deduplication, a callback to the app delegate, title formatting, and overlay display. The README also documents launchd operation and runtime settings. Source excerpts show the key runtime calls; Calendar.app access and launchd startup are additionally documented in the README.
Main entry points: main.swift App delegate · CalendarWatcher.swift Calendar watcher · OverlayController.swift Overlay controller · Config.swift Config loader
Components 11
App lifecycle
- App delegate
Sources/main.swift
Meeting detection
- Calendar watcher
Sources/CalendarWatcher.swift
Overlay display
- Overlay controller
Sources/OverlayController.swift - Banner and plane view
Sources/OverlayController.swift - Window animation
Sources/OverlayController.swift - Plane and banner artwork
art
Runtime settings
- Config loader
Sources/Config.swift
Other components
- User
- launchd agent
- Calendar.app
- UserDefaults
Connections 14
- launchd agent → App delegate: starts app
README.md - App delegate → Config loader: loads settings
Sources/main.swift - Config loader → UserDefaults: reads preferences
Sources/Config.swift - App delegate → Calendar watcher: starts polling
Sources/main.swift - App delegate → Calendar watcher: sets callback
Sources/main.swift - Calendar watcher → Calendar.app: reads events
README.md - Calendar watcher → App delegate: fires callback
Sources/CalendarWatcher.swift - App delegate → Calendar watcher: formats title
Sources/main.swift - App delegate → Overlay controller: shows meeting
Sources/main.swift - Calendar watcher → Config loader: uses timing settings
Sources/CalendarWatcher.swift - Overlay controller → Config loader: uses animation settings
Sources/OverlayController.swift - Overlay controller → Banner and plane view: builds content
Sources/OverlayController.swift - Overlay controller → Window animation: animates window
Sources/OverlayController.swift - Banner and plane view → Plane and banner artwork: loads images
Sources/OverlayController.swift