An open API service indexing awesome lists of open source software.

https://github.com/daverbk/shortcuts

Playing around with apple shortcuts 📱
https://github.com/daverbk/shortcuts

dashboard notion shortcuts

Last synced: about 1 year ago
JSON representation

Playing around with apple shortcuts 📱

Awesome Lists containing this project

README

          

# Shortcuts

[![CI](https://github.com/daverbk/shortcuts/actions/workflows/dashboard_update.yml/badge.svg)](https://github.com/daverbk/shortcuts/actions/workflows/dashboard_update.yml)
[![CI](https://github.com/daverbk/shortcuts/actions/workflows/test.yml/badge.svg)](https://github.com/daverbk/shortcuts/actions/workflows/test.yml)
[![Coverage Status](https://coveralls.io/repos/github/daverbk/shortcuts/badge.svg?branch=main)](https://coveralls.io/github/daverbk/shortcuts?branch=main)

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 🧜‍

```mermaid
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
```