Skip to content

jbobrow/MTA-Subway-Now-Departing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚇 "Now Departing" a Scriptable Widget

A simple widget for getting realtime data on a train of your choice Now-Departing-Widget

How to Install

  1. Download Scriptable for iOS
  2. Add a new Script called "Now Departing"
  3. Copy and Paste the contents of Scriptable-MTA-Subway-Widget.js
  4. Add a Scriptable Widget to your homescreen
  5. 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

ToDo

  • ✅ 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)

Screenshot

iphonex-mockup-now-departing-combined-settings 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.

About

A simple widget for getting realtime data on a train of your choice

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors