A simple dashboard prototype for a housing company. The dashboard will eventually show the current weather, news, and nearby transit data. The dashboard is built with Rust and Axum, and uses the Digitransit API for transit data, and an Weather API (yr.no) for weather data. The dashboard is a work in progress and will be updated with more features in the future.
Aiming to run this on raspberry with a small screen in the lobby.
Rust key dependencies
askama, axum, reqwest, serde, serde_json, tokio
- List of occupants
- Nearby transit data
- News
- Weather
Looking into where I could find this up-to-date.
Yr.no provides a free modern weather API that serves JSON.
Digitransit provides a free API for transport data in Finland.
TBA
- Get API Key from Digitransit.fi
- Create
.env
- Populate it with
DIGITRANSIT_SUBSCRIPTION_KEY=your-api-key
- Run
cargo run
- http://localhost:3000