A simple widget for getting realtime data on a train of your choice
- Download Scriptable for iOS
- Add a new Script called "Now Departing"
- Copy and Paste the contents of Scriptable-MTA-Subway-Widget.js
- Add a Scriptable Widget to your homescreen
- Set the Widget Parameter to:
Train
,Station
,Direction
(i.e.G,Classon Av,N
) ✋help for parameters
Want a visual guide? Step-by-step instructions 👉 here
- ✅ If time is "0 min" either show next train or "departing"
- ✅ Additional times (currently only shows the latest, could be nice to show 2-3 times)
- 🔲 Pull data directly from MTA rather than the very friendly JSON source I found that drives wheresthef***ingtrain.com
- 🔲 Dynamic update (this is currently only possible for a native widget in Swift with Dynamic Dates)
The screenshot on the left shows the Widget in action and on the right shows the Widget settings including parameters to set your train. If the widget is not showing the latest (since Apple only updates widgets irregularly), simply click on the widget to run it and it will update quickly.
Thanks realvjy for the simple iPhone PSD template. It's easier on my eyes than a big screenshot w/o border.