Skip to content

GerMichael/ScriptableNextBirthdays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Scriptable Next Birthdays

A small script displaying the next birthdays inside a iOS/iPadOS (stable) or macOS (beta) widget using the Scriptable app!

Next Birthday Widget

πŸ›  Setup

  1. Download the Scriptable app from the AppStore for iPhones and iPads. For mac you have to install the latest build of the beta version from the official website (https://scriptable.app/mac-beta/).
  2. Create a new script inside the app and paste the code from ScriptableNextBirthdays.js
  3. ⚠️ Run it one time inside the app. You may have to provide access to the contacts. Reason for this step: To execute the script as widget, a precomputed and cached list of all birthdays has to be used due to memory limitations. Note: If you update the contacts, you have to sync the cache by executing the script in the app again!
  4. Add a new widget of the size you prefer to the homescreen and select Scriptable as source.
  5. Select the script you've created just some seconds ago in the config-panel!
  6. (Optional: Adjust the settings in the script, see the documentation below)

Enjoy the widget! 🎁

πŸ“– Documentation

Settings

If you run the script inside the app, an alert will be presented to customize the script

next birthday script settings

You have following options:

  1. Choose one of predefined colors as background color
  2. Set a custom color in RGB hexadecimal, for example #F30330
  3. Adjust the widget title to your personal needs
  4. (just view the result)

🚨 FAQ

Contact synchronisation doesn't work

Since the Contact API used by this script provides very rich information about your contactts, the memory limitations were exceeded quite fast. To bypass this issue, a chache file gets created/updated on every execution in the app, since the app is not affected by this. To reflect your contact changes also in the widget, just re-execute the script in the app.

Script cannot be executed because of iCloud error

## πŸ”’ Privacy

Contact information and any other data were only processed locally and stored on your device or your iCloud storage (depending on your device setup)…

About

A "little" script for the app Scriptable, which displays your next upcoming birthdays! 🎁

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published