A real-time bus sign for the Cohon University Center at Carnegie Mellon University
  • Svelte 45.9%
  • Rust 45.7%
  • Nix 4.7%
  • CSS 1.1%
  • TypeScript 1.1%
  • Other 1.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Anish Pallati 1a16551229 fix: scale to display
Signed-off-by: Anish Pallati <i@anish.land>
2026-08-11 03:00:03 +00:00
.forgejo/workflows update devenv and migrate to deno (#2) 2026-08-07 20:27:41 +02:00
backend feat(backend): add health endpoint 2026-08-10 14:28:50 -04:00
frontend fix: scale to display 2026-08-11 03:00:03 +00:00
.env.example chore: update devenv 2026-08-10 12:49:28 -04:00
.gitignore update devenv and migrate to deno (#2) 2026-08-07 20:27:41 +02:00
Cargo.lock feat(backend): add weather 2026-08-10 12:49:27 -04:00
Cargo.toml backend: hosting: align with devenv latest things 2026-06-15 17:02:59 -04:00
devenv.lock chore: update devenv 2026-08-10 12:49:28 -04:00
devenv.nix update devenv and migrate to deno (#2) 2026-08-07 20:27:41 +02:00
devenv.yaml chore: update devenv 2026-08-10 12:49:28 -04:00
flake.lock chore: update devenv 2026-08-10 12:49:28 -04:00
flake.nix chore: update devenv 2026-08-10 12:49:28 -04:00
README.md chore: update devenv 2026-08-10 12:49:28 -04:00
secretspec.toml chore: update devenv 2026-08-10 12:49:28 -04:00

Bus Sign

Prerequisites

  • devenv - provides Cargo, Deno, and other tooling via Nix
  • PRT API Key - Obtained from creating a TrueTime account here
  • OpenWeather API Key - Obtained from OpenWeatherMap (Current Weather + 5 Day / 3 Hour Forecast)

Setup

Setting up your environment variables

Secrets are managed with secretspec. Authenticate once per machine with:

nix run git+https://git.cmu.dev/ScottyLabs/kennel#login

For per-developer API keys, copy the example env file and fill in your keys:

cp .env.example .env

Allow devenv, or enter the shell if already allowed:

devenv allow
# or: devenv shell

Running the backend

# From the repo root, inside the devenv shell
cargo run -p backend

Running the frontend

cd frontend

# Install dependencies
deno install

# Start the frontend
deno task dev