Uses the MTA App API and goodservice.io to display a station countdown timer and any alerts in a kindle-friendly interface.
- Create an API key at https://api.mta.info
- Create a
.envfile in repo root, withAPI_KEY="<YOUR_API_KEY>"
- Install Rust
- Run
cargo build --release
- Run
./target/release/mta - Visit http://localhost:8080
Right now the site only supports 1 station and up to 2 line alerts. The default is Bedford Ave (L08), watching the L and 4.
To modify, visit e.g. http://localhost:8080#A32&F. This monitors W 4th St, and the A and F.
The full station list is available from the MTA here.
Visit ~ds in the browser to disable sleep. This also disables manual sleep until you restart the device.
