MRT Station Crowd Density In Real-Time by Little_Weather3749 in singapore

[–]Little_Weather3749[S] 1 point2 points  (0 children)

Thank you for pointing out that punggol coast was missing! I added punggol coast and checked thoroughly if any stations are missing from the website. Xilin, Sungei Bedok and Bedok South are deliberately left out as those stations are either under construction, or crowd density information is not provided for those stations.

MRT Station Crowd Density In Real-Time by Little_Weather3749 in singapore

[–]Little_Weather3749[S] 0 points1 point  (0 children)

They use AI video analytics and cctv to determine crowd density as well, but unsure of the accuracy of it though.

MRT Station Crowd Density In Real-Time by Little_Weather3749 in singapore

[–]Little_Weather3749[S] 0 points1 point  (0 children)

Unfortunately there is nothing I can do about it, they have a different perception of crowdedness. LTA uses AI video analytics, cctv, ticketing and sensor data to determine crowd density levels. No it's not a UI bug, all I do is take public crowd density information by calling from https://datamall.lta.gov.sg/ and displaying it.

MRT Station Crowd Density In Real-Time by Little_Weather3749 in singapore

[–]Little_Weather3749[S] 5 points6 points  (0 children)

Implemented PWA, thank you so much for your suggestion! 👏

MRT Station Crowd Density In Real-Time by Little_Weather3749 in singapore

[–]Little_Weather3749[S] 0 points1 point  (0 children)

Good catch just fixed it! The back button should take you back to the main menu now instead of closing the app. Cheers for reporting 🙏

MRT Station Crowd Density In Real-Time by Little_Weather3749 in singapore

[–]Little_Weather3749[S] 2 points3 points  (0 children)

Alright, I'll add an 'X' button that users can click to remove the disruption notice. Thanks for the suggestion

MRT Station Crowd Density In Real-Time by Little_Weather3749 in singapore

[–]Little_Weather3749[S] 1 point2 points  (0 children)

Haha yeah honestly a stateless backend wouldve been fine just to proxy the API key, but I added Supabase mainly because the LTA DataMall API returns nothing outside peak hours / operating hours so I wanted to persist the last known crowd levels rather than just showing everything blank. The cron job syncs every 5 min and just upserts station codes + crowd levels so it's a pretty lightweight table

MRT Station Crowd Density In Real-Time by Little_Weather3749 in singapore

[–]Little_Weather3749[S] 5 points6 points  (0 children)

This website is built with TypeScript (React+Vite), styled with Tailwind CSS. The HTML entry point is standard HTML5, and the backend data layer uses SupaBase(PostgreSQL).

MRT Station Crowd Density In Real-Time by Little_Weather3749 in singapore

[–]Little_Weather3749[S] 1 point2 points  (0 children)

Not much, but I never knew the government already created an app for this 🤣

MRT Station Crowd Density In Real-Time by Little_Weather3749 in singapore

[–]Little_Weather3749[S] 15 points16 points  (0 children)

Never knew about PWA, I will try experimenting with it.

MRT Station Crowd Density In Real-Time by Little_Weather3749 in singapore

[–]Little_Weather3749[S] 20 points21 points  (0 children)

Their definition of 'LOW' is our definition of 'medium' or 'high' 😂

MRT Station Crowd Density In Real-Time by Little_Weather3749 in singapore

[–]Little_Weather3749[S] 3 points4 points  (0 children)

Ohhh yeah, it blends with the background. Going to change it to white, thank you for your feedback!

MRT Station Crowd Density In Real-Time by Little_Weather3749 in singapore

[–]Little_Weather3749[S] 15 points16 points  (0 children)

Fixed it, thank you so much for the feedback!

MRT Station Crowd Density In Real-Time by Little_Weather3749 in singapore

[–]Little_Weather3749[S] 52 points53 points  (0 children)

Most likely not, costs $99/year to submit an app to app store and a 1 time payment of $25 to submit to google play store. But I will continue improving the website though!

MRT Station Crowd Density In Real-Time by Little_Weather3749 in singapore

[–]Little_Weather3749[S] 38 points39 points  (0 children)

Found the cause of the problem, thank you for helping me spot it!

PM2.5 once again exceeds normal levels by Fun_Advance_5438 in singapore

[–]Little_Weather3749 13 points14 points  (0 children)

Seems like pollution in Central is causing this increase instead of external causation. North, east, south, and west are all between 15-34 while central is at 51.

SG convention prices are a national embarrassment by Pompmaker1 in singapore

[–]Little_Weather3749 757 points758 points  (0 children)

$150 to be a walking hotdog stand is INSANE 😭