← Christopher Yarbro

Traintime

Live train arrivals for a display on my wall, built to learn Rust properly.

Rust · tokioIn progressSource

What it does

Pick a transit system and a station. Traintime downloads the system's static GTFS schedule, polls its GTFS-Realtime feeds, and emits a stream of compact arrival packets: line, destination, minutes until arrival, and delay. Systems are defined in YAML, and NYC Subway, MBTA, and Metro-North are configured today.

Design

Next

Moving the display onto a microcontroller. The packet type moves into a shared no_std crate used by both the server and the firmware, and the firmware gets its own SPI display driver.