/portus-dashboard

A simple lobby dashboard prototype for a housing company.

Primary LanguageRust

Dashboard Proto for Housing Company

Test Suite

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.

Dashboard Screenshot

Rust key dependencies

askama, axum, reqwest, serde, serde_json, tokio

Features (planned)

  • List of occupants
  • Nearby transit data
  • News
  • Weather

Resident data

Looking into where I could find this up-to-date.

Weather from yr.no

Weather Screenshot

Yr.no provides a free modern weather API that serves JSON.

Transport data from Digitransit.fi

Transportation Screenshot

Digitransit provides a free API for transport data in Finland.

News

TBA

Development

  1. Get API Key from Digitransit.fi
  2. Create .env
  3. Populate it with DIGITRANSIT_SUBSCRIPTION_KEY=your-api-key
  4. Run cargo run
  5. http://localhost:3000