ShortcutsPreview
ShortcutsPreview copied to clipboard
A multiplatform bot for showing the details of Shortcuts when linked by their iCloud URL.
Support for `.env` has been deprecated since 37a436a955c8c165a617d05806cc463ebf7af227. It works with the new config system, although specifying something in `config.json` overrides it.
While the bot can currently read simple link posts from reddit, it would be great if it supported both text posts and comments since those are generally more common on...
~~Sometimes, the current library for an event per submission to a subreddit in this project is [Snoostorm](https://github.com/MayorMonty/Snoostorm). However, sometimes it ends up in [dupl](https://www.reddit.com/r/shortcuts/comments/9hoysj/away_from_phone_message_to_recipients_and/e6dhtv0/)[icate](https://www.reddit.com/r/shortcuts/comments/9hoysj/away_from_phone_message_to_recipients_and/e6dgdbs/) [pos](https://www.reddit.com/r/shortcuts/comments/9hunkd/timehop/e6eq6bn/)[ts](https://www.reddit.com/r/shortcuts/comments/9hunkd/timehop/e6emlfd/). We should switch to [Snoostream](https://github.com/lobabob/snoostream)...
Previously, the timestamp in the Discord service's embed showed the creation date for the shortcut. This pull request allows the `showModificationDate` config parameter to change it to show the modification...
You already have the URL to retrieve the shortcut's plist, so you just need to request it and parse the actions. However, you will need a directory of prettified versions...
The documentation of the configuration is lacking ([proof](https://github.com/haykam821/ShortcutsPreview/issues/5#issuecomment-425424527)), so this pull request adds documentation for every service.
This pull request allows the bot to preview the first shortcut link found in a Reddit comment.