1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-playground synced 2026-07-07 23:35:16 +00:00
Commit graph

4 commits

Author SHA1 Message Date
Cursor Agent
0d7cf1b153
Add comprehensive unit tests for mta-ssh
- Cover alerts parsing, status algorithm, trip activity, stations, colors,
  feeds, keys, display rendering, SSH session behavior, and main helpers
- Add TestMain to pin GTFS stops fixture path for reliable station tests
- Fix RouteFromKey to accept uppercase line keys and prioritize SI mapping
- Refactor station index loading for direct fixture loading in tests
- Remove test that rewrote sample-trips.pb on every run

Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-17 19:23:15 +00:00
Cursor Agent
c436f5a1d8
Add -line flag to screenshot tool for line detail previews
Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-17 19:10:20 +00:00
Cursor Agent
45541f05dd
Faster refresh and interactive line station view
- Default refresh interval is now 10s (configurable via -refresh / MTA_REFRESH_SEC)
- Press a line key (1-7, A-Z, I for SI) to view stations with trains or arrivals
- Fetches GTFS-RT trip updates per line group for live station activity
- Embeds GTFS stops.txt for station names and line ordering

Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-17 18:46:43 +00:00
Cursor Agent
1c57015a6a
Add mta-ssh: live NYC subway status over SSH
Go SSH server that fetches MTA GTFS-RT subway alerts and renders a
live-updating service status board with official per-line colors.

Uses the MTA service status box algorithm (highest sort_order wins per
route). Includes test fixture for offline dev and -render-once flag.

Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-17 18:32:19 +00:00