Informational ticker for an MBTA stop
Go 1.19 or later
go install github.com/NikoStapczynski/MBTA-Ticker@latestgit clone https://github.com/NikoStapczynski/MBTA-Ticker.git
cd MBTA-Ticker
go build -o mbta-ticker main.go./mbta-ticker <stop-id>Example:
./mbta-ticker 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)"'