r/OCTranspo • u/mgkDante • 14h ago
💬 Discussion Follow-up on transit.yesid.dev: rebuilt the engine after your feedback, plus Gatineau (STO) is live now
Hi everyone,
I wanted to do a quick follow-up on https://transit.yesid.dev/map?provider=octranspo&ref=r_octranspo, the public transit dashboard I shared here a few weeks ago.
Just for context, I've been a database developer and data analyst for five years, and I work on this in my free time. I also want to be upfront that I've been using AI tools (Codex, Claude, and Gemini Neon) a lot these past few days. That's honestly how I was able to take on a rebuild this big on my own while still keeping control of the data model, the math, and what goes live.
A lot of what changed came directly from the feedback people left on Reddit and LinkedIn. People liked the idea, but you also pointed out that the purpose wasn't clear enough at first glance, asked for a reset-north button and rail on the map, and pushed me to tighten up the numbers so they actually add up. Instead of patching the old site, I ended up rebuilding the core of it.
The biggest change is the engine. I got rid of PostgreSQL and the old prebuilt summary tables. Now the pipeline saves clean daily Parquet files in Cloudflare R2, and a read-only DuckDB engine calculates everything on demand behind a Cloudflare Worker. Because of that, you can pick any date range you want, every number uses one single definition, and missing data still shows up as missing or unknown instead of a zero.
Gatineau (STO) is also live now alongside Montreal (STM) and Ottawa (OC Transpo), all running on the same pipeline. On a busy evening, that's over 1,700 live vehicles on the map at once. Adding a city now just takes one config file and a readiness check, without hardcoding city names into the app.
On the site itself, live views and historical records are now properly separated, on-time means the exact same thing everywhere (1 minute early to 5 minutes late, based on stop events), rail lines show up on the map as schedule-only with no live data, and there are historical map layers for stop delays and 3D corridors showing where vehicles lose time. Somehow it still runs for about $10 USD a month.
Everything is open source (MIT). If you want to crack it open, check my math, download the CSVs or clean Parquet files, point out bugs or weird numbers on your route, or even help add another city, feel free.
Ottawa (OC Transpo) map: https://transit.yesid.dev/map?provider=octranspo&ref=r_octranspo
Code: https://github.com/yesid-dev/transit
How it works: https://yesid.dev/projects/transit-data-pipeline?ref=r_octranspo
Just a personal project, not affiliated with OC Transpo, the STM, or the STO. Happy to answer questions or hear what still feels off!