📈 GH Trending Explorer 🎲 Surprise me

← all repos

keithligh / hk-traffic-intelligence

git clone https://github.com/keithligh/hk-traffic-intelligence.git

A live Hong Kong smart-city dashboard on public APIs. Harbour crossing minutes, strategic-road speed, street cameras, works, incidents, eight land control points, and Observatory warnings, drawn as one map. Traditional Chinese and English. Made in 24 hours with Cursor and Grok 4.7, for Agentic Engineer classes and guest lectures.

—
stars, 24h
—
stars, 7 days
+135
stars, 30 days · #1,747
135
★ total
27
forks · 0 open issues

Star history starts 2026-10-20; the chart appears after the second daily snapshot.

LanguageTypeScript
LicenseMIT
Created2026-09-29 (21d ago)
Last push5d ago
Watchers1
OwnerUser

GitHub topics

Links

README excerpt
繁體中文
# HK Traffic Intelligence
香港智慧城市交通情報網
This is a Hong Kong Smart City dashboard. It brings the live city together on one map: the harbour crossings, the strategic roads, MTR and Light Rail trains, KMB, Long Win, Citybus, green minibus and New Lantao Bus arrivals, the ferry piers, the land boundary waits, and Observatory weather.
This map is possible because the Hong Kong Government publishes these feeds as open data. The Transport Department, the Immigration Department, the Observatory, and the teams behind HKeMobility and DATA.GOV.HK release the figures to the public, alongside MTR, KMB, Long Win, Citybus, the green minibus operators, New Lantao Bus, Sun Ferry, Hong Kong and Kowloon Ferry, and the Star Ferry, and this site simply reads them together.
Open it at hktraffic.keith-li.workers.dev. There is no account to create and nothing to install. The site opens in Traditional Chinese. Simplified Chinese and English are available from the language switch beside the clock. The Updates button on the top bar lists what has been added or fixed.
If this Smart City dashboard helped you pick a better time to cross the harbour, or you want more people to find it, please star the repository. A star is how new readers discover the project, and it is the simplest way to support it.
## What the site is for
The site answers a small set of practical questions: how long the three harbour crossings take right now, whether the road you plan to use is running well, whether the boundary hall you plan to use is busy, whether an Observatory warning is in force, and when the next train or bus actually comes.
It does not plan driving routes. It reads the figures that public bodies already publish and places them side by side, so the harbour, the roads, the boundary, the weather, and public transport can be weighed together. The source behind each part of the dashboard is listed further down.
## What the dashboard shows
For crossing the harbour and driving in town, the dashboard starts with the essentials. The Cross-Harbour Tunnel, the Eastern Harbour Crossing, and the Western Harbour Crossing show journey times from the same roadside sign, the one nearest the map. Another sign can be chosen, so the three tunnels are compared from one starting point. Strategic roads use the Transport Department grades of Good, Average, and Bad, and show a live speed wherever one has been published. You can open the street cams, including the tunnel mouths. Road works on the major routes, toll points at the harbour crossings and Tai Lam Tunnel, and special traffic notices that are still in force are all on the same view.
For going through the boundary and checking the weather, the next group follows. The eight land control points show the passenger halls for residents and visitors, arriving and departing, together with the live speed on the strategic road that leads to each port. Lo Wu serves passengers rather than private cars, so its published figures include no private car queue. E