Menu

Stopwatch: How I Built a Sub-Second Transit Schedule Lookup for 123 Systems from Open GTFS Data
πŸ“°

Stopwatch: How I Built a Sub-Second Transit Schedule Lookup for 123 Systems from Open GTFS Data

DEV Community: javascriptΒ·Shivrajsinh ZalaΒ·7 days ago
#3TbXnISS
#devtojavascript#devto#dev#transit#stop
Reading 0:00
15s threshold

When you're rushing to catch a bus or train, you don't need a heavy 50MB map application that stalls on 3G connections. What you need is an instant, readable, stop-by-stop schedule: when is the next bus arriving, when is the last bus tonight, and what does the full day's service look like?

That challenge led me to create Stopwatch β€” a lightweight, instant public transit timetable lookup tool covering 123 transit networks across the United Kingdom, United States, Canada, Australia, Ireland, and New Zealand.

The entire codebase is open source on GitHub: shivrajsinhzala/transit-timetables .

Why Transit Schedules Need a Lightweight Alternative

Most transit agencies provide two options:

Raw PDFs or Slow HTML Tables: Often buried three layers deep in municipal portals, poorly formatted for mobile viewports.

Heavy Mapping Apps: Heavy routing calculators that consume battery, require background location tracking, and take 5–10 seconds to render when cellular reception is weak at an underground station or…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.