This repo is just about playing with Apple shortcuts. I've created a couple to update & open a so-called "daily dashboard" every morning. Here's its high-level diagram 🧜
sequenceDiagram
box white shorcut 1
participant Shortcut1 as Update Dashboard Shortcut
participant CalendarApp as Calendar App
participant RemindersApp as Reminders App
participant WeatherApp as Weather App
end
participant GitHubActions as GitHub Actions
box grey python script
participant PythonScript as Python Script
participant RSSFeeds as RSS Feeds
participant CurrencyAPIs as Currency APIs
participant NotionAPI as Notion API
end
box white shorcut 2
participant Shortcut2 as Open Dashboard Shortcut
actor Dave
end
Shortcut1 ->> CalendarApp:
activate CalendarApp
CalendarApp -->> Shortcut1: Upcoming birthdays and meetings
deactivate CalendarApp
Shortcut1 ->> RemindersApp:
activate RemindersApp
RemindersApp -->> Shortcut1: Regular uncompleted tasks
deactivate RemindersApp
Shortcut1 ->> WeatherApp:
activate WeatherApp
WeatherApp -->> Shortcut1: Weather forcast
deactivate WeatherApp
Shortcut1 ->> GitHubActions: Trigger workflow
activate GitHubActions
GitHubActions ->> PythonScript:
activate PythonScript
PythonScript ->> RSSFeeds:
activate RSSFeeds
RSSFeeds -->> PythonScript: Some latest news
deactivate RSSFeeds
PythonScript ->> CurrencyAPIs:
activate CurrencyAPIs
CurrencyAPIs -->> PythonScript: Actual exchange rates
deactivate CurrencyAPIs
PythonScript ->> NotionAPI: Update budget, todos, habits, weather, birthdays, meetings, headlines panels
deactivate PythonScript
PythonScript --x GitHubActions:
deactivate GitHubActions
Shortcut2->>Dave: Open dashboard at wakeup