Scriptable icon indicating copy to clipboard operation
Scriptable copied to clipboard

Scriptable.app

  • Widgets
  • Scripts
  • Utilities made by others
  • First time adding a widget?
  • Buy me a ☕️ or 🍺?

Widgets

  • RH-Downloads.js

    • a widget to show the total downloads for a user of RoutineHub or a given shortcut hosted on RoutineHub. The widget will cycle through the URLs you provide to it with each refresh. This will show total downloads, the recent widget update Date/Time, and the increase in downloads since the previous day (resets at 00:00).
      • If you see a text in the widget saying "Update Available", please run the script from within Scriptable to get the update.
  • Strava Widget

    • Widget to give you your year-to-date stats from Strava's API
  • MEE6 Leaderboard Widget

    • This widget will show you the current stats for a given user according to the MEE6 leaderboard for that server.

      example

    • As of v1.5, we now have avatar display and progress to next level. Avatar image is cached so no need to download it each time the widget refreshes.

      new v1.5

    • Big thanks to juniorchen for the base of the progress bar portion of the code. You can check the progress widget out here

  • Transparent StockChange Widget

    • Credit for the original code base for this widget goes to Murdo. I helped him to modify it to have dynamic column creation for adding more stocks in. I have also just made an update for this so it can have a transparent background using no-background.js from Supermamon.

      example

  • Upcoming Calendar Events Widget

    • This widget was made as a request from some users on r/Scriptable. It's just a simple calendar display showing your upcoming events in a medium widget format.

      example1 example2

    • Now has support for small widget size too! (Note: the events are not tappable in the small widget size)

      small example small example2

    • In the latest version, I have added support for reminders utilizing the code from the Upcoming Calendar Indicator widget and also utilizing the title color being the calendar/list color updated example with reminders

  • Upcoming Calendar Indicator

    • Credit goes to Raigo Jerva for the original code that I modified to create the base of the view for the right side of the widget. Inspiration was drawn from a comment on one of the r/Scriptable subreddit posts, but I cannot find it any longer.

    • This widget is similar to my Upcoming Calendar widget, but this now has a display for the full month view with indicators of up to five calendar colors for each day.

    • For more info, see the page linked above

      example image

  • Twitter Widget

    • As of v1.4 there are new error messages available. Unfortunately, the Twitter API changed some things and this broke the widget code. This is now accounted for.
    • This widget can display tweets from public profiles on your home screen and shows them to you in chronological order as well as how long ago (or on what date) the tweet was posted. This can be configured as a medium or large size widget for your own preference. Simply set the username you'd like to "follow" in the widget parameter, and you'll be all set.
    • Customization options have been added as of version 1.1 customization
      • rtsOn setting can be changed below to display retweets along with normal tweets.
        • false = do not display retweets
        • true = display retweets with tweets
      • postFontSize setting can be modified to have larger or smaller font in the widget as you desire.
        • 9 is the default
      • postFontColor setting can be modified as you wish. This will change the text color of the tweets shown. Default is set to be dynamic.
        • default = Color.dynamic(Color.black(), Color.white())
      • twitterIcon setting will change the display of the Twitter icon in the widget.
        • false = off
        • true = on
      • clockIcon setting will change the display of the clock symbol in the widget.
        • false = off
        • true = on
      • widgAccentColor setting can be modified to your liking. This controls the widget title color, time since last refresh, and icon colors (if chosen to display them)
      • checkUpdates setting is to allow or deny uodate checking function. If an update is available, you will be shown 'Update Available' in the widget title instead of the username entered as the widget parameter.
        • false = do not check for updates
        • true = check for updates

    twitter setup

    example example2

  • COD Warzone Stats Widget

    • Setting your PSN username as the widget parameter will show you the user stats for COD Warzone. This can be adjusted for other COD games as well.

    example

  • Canada Covid Light

    • See Covid stats for Canada in light color
    • based on the script from u/Mr-H-E-Ron on reddit
  • Canada Covid Dark

    • See Covid stats for Canada in dark color
    • based on the script from u/Mr-H-E-Ron on reddit
  • COVID Trend Widget

    Example1 - with colors

    • This widget will display country level stats for COVID-19 and also display a trending indicator whether the given item is trending up, down, or steady.
    • See more info at the link
  • Exchange Rate Widget

    • This widget is based on the version by juniorchen. It has been adapted to work with the free version of the exchangerateapi. You still need an API key to use it, but the signup for it is free.
    • Inputing a currency code will use that as the base for the widget. The default base is EUR.
  • Weather Overview Widget

    This widget displays an overview of the weather in your location. Click/Tap the link to see more about it. image

  • VSCO Recents Widget

    This widget displays a random recent photo or the most recent photo of a specified user of VSCO Example

  • Automators.fm Feed Widget

    This widget shows the recent posts of an Automators.fm Feed of your choosing (defaults to Scriptable of course) Example

  • NASA Photo of the Day Widget

    This widget will display the current NASA Photo of the Day. It will set the refresh after date to be the next day to avoid excessive data usage. To use it, just go to NASA API Sign Up page and get your API key, then enter it at the top of the script, and add the widget size of your choice to your home screen. image As of v1.2, you will get an alert prompt when tapping the widget to either save the photo, go to the photo of the day site, or cancel. There is also a check to ensure the current POTD is an image to account for cases when NASA has set it as a video. v1.2

  • Updater Mechanism Code Example

    This widget code shows an example of how to implement the Updater Mechanism Code that I utilize in my widgets. Changing the version number passed to the updateCheck function can show you what it looks like when an update is avaliable. The server version (version info in the Updater Mechanism Code.json file in this repo) is 1.1, it will show an update is available if the version in the widget is set to anything other than 1.1.

  • Simple Image Widget

    This widget is an example of setting the ListWidget.backgroundImage property of the widget to show an image in a widget. The example script has comments included to explain the different steps that are included. The main piece this relies on, is having an image in iCloud Drive -> Scriptable, which is named "WBack.jpeg"

Scripts

  • ScriptBackup.js

    • This script will backup all of your current scripts into the iCloud Drive Scriptable directory underneath the folder "ScriptBackup" and then under the date formatted "yyyy_M_d__HHmm" folder that is created when it runs.
  • Remove Scheduled Notifications.js

    • See how many pending notifications you have in the Scriptable app and choose from them to remove them, or alternatively, remove them all with one button.

Utilites (from others)


First time adding a widget?

Here is what to do:

  • Tap and hold an empty area of the home screen until you enter the "jiggle mode"
  • Tap the plus button in the upper left
  • In the add widget menu that appears, search for "Scriptable" and tap it
  • Choose the display size of the widget you want (small, medium, large) and tap "Add Widget"
  • Tap and hold on the widget now, and tap "Edit Widget"
  • Tap the "Script" option, and select the script name to run
  • Tap outside the edit widget window and you should be all set

Buy me a ☕️ or 🍺?

If you like my work and want to buy me a coffee or a beer, you can do so with Venmo or PayPal.