How bradhillier/morning-meeting-generator works
The repository generates a daily Word safety-meeting document for Sealegs Kayaking Adventures, using employee/configuration data, TimeTree bookings, tide readings, and hourly weather. The documented workflow is launched from the Python CLI or the SwiftUI app, gathers those inputs, derives safety warnings, then writes a dated document. Edges below follow the sampled call sites and README; external API details and some configuration behavior are documented, while the desktop settings screen is not shown saving its values.
Main entry points: mmg.py Meeting generator · SafetyTopics.py Safety warnings · ContentView.swift Generate controls · main.py CLI entry
Components 17
Launch interfaces
- Desktop app
frontend/Morning Meeting Generator/Morning_Meeting_GeneratorApp.swift - Generate controls
frontend/Morning Meeting Generator/ContentView.swift - CLI entry
src/main.py
Daily information
- Configuration
src/config.py - Employee roster
src/config.py - Hourly weather
src/Weather.py - Tide readings
src/Tide.py - Daily bookings
src/Booking.py
Safety analysis
- Safety warnings
src/SafetyTopics.py
Meeting document
- Meeting generator
src/mmg.py - Word document
src/mmg.py
Other components
- Meeting staff
- CLI operator
- WeatherAPI
- Government tide data
- TimeTree API
- Output folder
Connections 18
- Meeting staff → Generate controls: requests generation
frontend/Morning Meeting Generator/ContentView.swift - Desktop app → Generate controls: shows
frontend/Morning Meeting Generator/Morning_Meeting_GeneratorApp.swift - Generate controls → CLI entry: imports Python
frontend/Morning Meeting Generator/ContentView.swift - CLI operator → CLI entry: runs
README.md - CLI entry → Meeting generator: invokes
src/main.py - Meeting generator → Configuration: loads
src/mmg.py - Configuration → Employee roster: provides
src/config.py - Meeting generator → Hourly weather: fetches
src/mmg.py - Hourly weather → WeatherAPI: requests forecast
README.md - Meeting generator → Tide readings: fetches
src/mmg.py - Tide readings → Government tide data: scrapes readings
README.md - Meeting generator → Daily bookings: fetches
src/mmg.py - Daily bookings → TimeTree API: requests events
README.md - Meeting generator → Safety warnings: constructs
src/mmg.py - Safety warnings → Hourly weather: checks forecast
src/SafetyTopics.py - Safety warnings → Tide readings: checks levels
src/SafetyTopics.py - Meeting generator → Word document: composes sections
src/mmg.py - Word document → Output folder: writes DOCX
src/mmg.py