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
},
macBook: {
notifications: false,
refreshInt: 120
}
}
};
let roundProfileImages = true
let reposts = false
let favUsers = [
'[email protected]',
'[email protected]',
'[email protected]',
'[email protected]',
'[email protected]',
'[email protected]',
'[email protected]',
'[email protected]',
'[email protected]'
];
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 ↩