paulirish / caltrainschedule.io Goto Github PK
View Code? Open in Web Editor NEW:bullettrain_side: caltrain schedules - offline first :dolphin:
Home Page: https://caltrainschedule.io
License: MIT License
:bullettrain_side: caltrain schedules - offline first :dolphin:
Home Page: https://caltrainschedule.io
License: MIT License
people are confused, we should annotate this :)
cc @susielu
http://www.caltrain.com/schedules/realtime.html
somehow!?
https://github.com/derrickshowers/caltrain uses the 511.org API to access this data, AFAIK. check out app.js
i added analytics. but it doesn't work while offline and with the service worker
https://developers.google.com/web/showcase/2015/service-workers-iowa#offline_google_analytics has a technique that might work..
The schedules were updated today (April 10, 2017) but are not showing.
Uncaught TypeError: Cannot read property 'value' of null
at select (default.js:58)
at HTMLButtonElement.<anonymous> (default.js:388)
we should just hide the button
Looking at PA->SF it's missing a bunch of trains in the morning
based on data from http://www.caltrain.com/Assets/_Marketing/pdf/2015+Annual+Passenger+Counts.pdf
it's possible to derive some decent guesses for what people probably want to see.
e.g.
this could probably be even smarter, but having one-tap for these top stations would be great.
This happened more often that I would like. I have looked into real time data for Caltrain schedule 2 years ago, but it was not easy and they didn't really expose it correctly.
The most reliable source still seems to be twitter.
Probably not possible, but I wish.
push notification for when you need to leave for the train station.
http://www.caltrain.com/riderinfo/Bicycles/BikesOnBombardiers.html listed by weekday train numbers
http://www.caltrain.com/about/statsandreports/commutefleets.html listed by passenger car number ranges
nicer, newer cleaner. less vibration. slightly less bike capacity.
feature request from shaila :)
they have new data
http://www.caltrain.com/about/MediaRelations/news/Caltrain_to_Swap_Train_Sets_This_Month_for_More_Capacity_and_Maintenance.html
trains 134, 155, 217, and 268 are bombardier
in the rakefile we'll have to bump '2016APR_GTFS'
to '2016APR_GTFS_rev2'
and probably a few other things
As Caltrain has recently changed their schedules, it seems that this site has broken and no longer returns any working results.
I need to share the Caltrain URL with someone else, I would like it take the params:
thanks.
Basically just what the title says. Performance and security issues because of it.
from #21:
ability to show multiple different schedules side-by-side or interspersed (i.e. for me, Sunnyvale is the closest stop, but Mountain View has a lot more & faster trains, so I want both printed on one sheet. Or maybe I'd want northbound and southbound on one sheet.)
I like the idea of a "Include nearby stops" checkbox (like hipmunk can do), so that folks like @frenchie16 can easily pick which nearby caltrain station they want to use.
sgtm and something the interactive app would benefit from.
Separately, I think showing both north & soundbound in one view is a bit specific to printing and think you might as well use a separate piece of paper. :)
Here's a story from an avid, routine user of caltrainschedule.io (me).
Yesterday, I rolled into the 4th & King station on my bike a bit earlier than normal, eager to arrive in MTV in time to make it to a meeting.
The SF train station shows departure times more clearly than train numbers, as does this app.
I was not fully awake yet, apparently, and even though the displayed time was a bit different, they weren't yet showing my train, and so I got on a weird train.
The train I got on stopped everywhere except for MTV, I had to backtrack from Santa Clara, lost 40 minutes of my day, and I missed my meeting.
If caltrainschedule.io showed that departure time in red and had a big red X next to it or something, I wouldn't have gotten on it, or at least could have realized my error en route and gotten off at Palo Alto.
I think this addition could also be really helpful for visitors and people new to caltrain.
Happy to work on a PR if you like this idea.
wit dat money yo
I'd like to be able to customize the results a bit more to get a nice page to print and post in my office. Some nice things would be:
They're only on "right now"
firing from here
Line 40 in ca3b7af
New timetable for weekdays became effective 2017-10-01
http://www.caltrain.com/schedules/weekdaytimetable.html
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.