Skip to content

mogenson/bus-sign

Repository files navigation

MBTA Next Bus Sign

Rust application for the Galactic Unicorn (RP2040 version) that shows the time until the next bus arrives.

PXL_20250123_222450176~2

Built with embassy-rs and uses the unicorn- graphics board support crate.

It's currently hardcoded to query the MBTA 87 and 88 bus routes. The bus stop ID and WiFi credentials are set with environmental variables (so you can't come to my house and steal my WiFi).

mbta-proxy.py

Unfortunatly the MBTA API requires HTTPS but only supports TLS 1.2 and the embedded-tls crate only provides TLS 1.3. Therefore, I made a mbta-proxy.py script to run on some other device on the local network. It will forward on all parameters from an HTTP GET request to an HTTPS request to https://api-v3.mbta.com and reply with the response.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors