Skip to content

CuriousG102/MetroRappid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Works on your desktop, your iPhone, and your Android device. Just go to metrorappid.com

placeit

Watch the bus/train move in realtime on a map. Also see how fast (or slow) it is moving. This bus between Chinatown and Techridge is moving South at 39 mph.

realtime-bus

See the next few arrivals at a glance.

arrivals-at-a-glance

Routes

CapMetro provides realtime data for these routes:

  • 801 North MetroRapid
  • 801 South MetroRapid
  • 550 North MetroRail
  • 550 South MetroRail

Problemo

  • People don't ride the bus because it can seem unreliable: buses arrive anytime from 10 minutes before their scheduled time to 20 minutes after
  • The solution to that is real-time data
  • But if the real-time data is hard to access, people won't use it
  • The MetroRapid (801) and MetroRail (550) routes have real-time data
  • Only CapMetro's official app have access to that real-time data
  • But, CapMetro's app is hard to use. See CapMetroApp: When should I take the bus home?

Solution

We reverse engineered CapMetro's app to find out how they were getting real-time data. Then we documented the hidden/secret CapMetro API. We then used that API and built an Android app that shows real-time arrivals for MetroRapid and MetroRail, really quickly.

Step 1. Select A Route And Direction

![Select A Route And Direction](https://cloud.githubusercontent.com/assets/1275831/3613330/f7e6324a-0db6-11e4-96f9-77adfff913bc.png

Step 2. MetroRappid automatically finds the nearest stop and vehicle

View the closest stop and vehicle)

Step 3. Get on the bus. Let everybody around you know about metrorappid.com

FAQ

What happened to MetroRappid for iOS and MetroRappid for Android?

MetroRappid for iOS is being replaced with this.

MetroRappid for Android (winner of ATX Hack For Change) had problems working with the Google Maps API. We've chosen to move in the direction of open data, and now instead use OpenStreetMaps. This webapp replaces MetroRappid for Android.

Why don't I see any buses or trains?

We're relying on Yahoo! Query Language to provide a backend that allows us to talk to CapMetro's API (avoiding CORS issues). This is a hacky and unreliable solution. You should encourage CapMetro to make their API more easily accessible.

Why is the vehicle location out of date?

CapMetro only updates the vehicle location every 30-90 seconds. You should encourage them to provide more accurate realtime data.

Contributing

We really need help making this app awesome. We use GitHub issues to track bugs, features, and ideas. Issues that we think are important/can use help are tagged as help wanted. You can filter by the help wanted tag: https://github.com/luqmaan/MetroRappid/issues?labels=help+wanted&state=open.

Run gulp deploy when submitting a pull request. This packages up the .js and .css files.

Installation

Clone the repo and checkout the dev branch:

git clone [email protected]:luqmaan/MetroRappid.git
cd MetroRappid
git checkout -b dev origin/dev

Install dependencies through npm and browserify:

npm install

Serve the directory with gulp:

gulp serve

Deployment

To deploy:

gulp clean
gulp build
gulp deploy

Contributors

License

GNU General Public License Version 3

About

Ghetto is better than not

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 59.9%
  • CSS 28.6%
  • Python 11.5%