← Back to Main Dashboard

KMB Bus Tracker

Status: active Started: 2026-07-08 Path: /opt/data/kmb/server/ Port: 5050 Proxy: Ming's Note → /kmb/ Last Fix: 2026-07-15


Core Question

How to use HK government open data to build a practical mini app for daily commute?


What It Is

A web app tracking KMB bus arrivals, built with Express + SQLite + HTML, served via Ming's Note (MD Reader proxy).

Key Features


Architecture

Dependencies


Known Issues Fixed (2026-07-15)

  1. Express server died on VPS restart → watchdog wasn't effective because:
  2. apps-watchdog.sh used wrong Python venv path for MDReader (/opt/hermes/.venv/ instead of /opt/data/venv/dashboard/)
  3. requests module missing from dashboard venv → MDReader proxy returned 500
  4. Duplicate kmb-watchdog cron job removed (already covered by apps-watchdog)
  5. Created /opt/data/scripts/requirements-dashboard.txt to track dashboard venv deps

Why It Matters


Tech Stack


Open Questions


Notes