Informational ticker for an MBTA stop
Go 1.19 or later
go install github.com/nstapc/stop-watch@latestgit clone https://github.com/nstapc/stop-watch.git
cd stop-watch
go build -o stop-watch main.go./stop-watch <stop-id>Example:
./stop-watch place-pktrmThis shows real-time predictions for Park Street station.
Find stop IDs at https://www.mbta.com/ or use the MBTA API:
curl "https://api-v3.mbta.com/stops?page%5Blimit%5D=10" | jq '.data[] | "\(.id): \(.attributes.name)"'