Script which shows Posts of your favorite users on Mastodon via Scriptable-App
- Activate Push-Notifiactions (Devices specific)
- Set widget refresh interval (Devices specific)
- Clickable username, profileimage, and post itself
- Image preiview (if available) for the large widget
- Shows instance emoji in username if available (medium & large widget)
var CONFIGS = {
DEVICES: {
iPad: {
notifications: false, //true = Allow Push-Notifications on specific device
refreshInt: 60 //widget refresh interval in minutes
},
iPhone: {
notifications: true,
refreshInt: 30
}
}
};
let roundProfileImages = true
let reposts = false
let favUsers = [
'simonbs@mastodon.social',
'christianselig@mastodon.social',
'elhotzo@mastodon.social',
'icesck@mastodon.social',
'iamrbn@mastodon.social',
'mammoth@moth.social',
'ivory@tapbots.social',
'mvan231@mastodon.social',
'IceCubesApp@mastodon.online'
];
Select your favorite users via favUsers
array and / or select it individual for every single widget via widget parameter.
The Script updates itself1
It downloads a module and three images from this github repo and saves it in the "Mastodon-Widget" directory.
iCloud Drive/
├─ Scriptable/
│ ├─ Mastodon-Widget/
│ │ ├─ mastodon.png
│ │ ├─ mastodon_10.png
│ │ ├─ mastodonModule.js
Footnotes
-
Ground Function is written by the amazing @mvan231 ↩