A real-time bus sign for the Cohon University Center at Carnegie Mellon University
https://bus-sign.scottylabs.org
- Rust 45.1%
- Svelte 44.7%
- Nix 5%
- TypeScript 2.1%
- HTML 1.3%
- Other 1.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
Some checks failed
kennel/build build succeeded
kennel/deploy deployment healthy
CI / check-1 (push) Failing after 7m46s
CI / check-1 (pull_request) Failing after 6m58s
CI / build (pull_request) Successful in 13m47s
CI / check (pull_request) Failing after 0s
CI / build (push) Successful in 5m9s
CI / check (push) Failing after 0s
nixbot/nix-eval evaluation succeeded in 0s (1 warning)
nixbot/nix-build 0 attributes built
|
||
| .forgejo/workflows | ||
| backend | ||
| frontend | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| devenv.lock | ||
| devenv.nix | ||
| devenv.yaml | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
| secretspec.toml | ||
Bus Sign
A real-time bus sign that displays Pittsburgh Regional Transit (PRT) arrivals for the Forbes & Morewood bus stops. Made in collaboration with the Undergraduate Student Senate. Launched in the Cohon University Center, coming soon to the Tepper Building!
Visit the online bus sign at https://bus-sign.scottylabs.org!
Prerequisites
- Be a member of Community-Based Projects
- devenv - provides Cargo, Deno, and other tooling via Nix
Setup
Secrets
The PRT and OpenWeather API keys are loaded from OpenBao by secretspec. Authenticate once per machine with:
nix run git+https://git.cmu.dev/ScottyLabs/kennel#login
Allow devenv, or enter the shell if already allowed:
devenv allow
# or: devenv shell
Running
# Starts the backend on :8080 and the frontend on :5173
devenv up
Visit the frontend at http://127.0.0.1:5173/!