Bulls Go is a lightweight web app for USF students who need live Bull Runner route, stop, bus, and service alert information. It is hosted as a static GitHub Pages app and reads current data from Passio.
- Map-first view of USF Bull Runner stops and buses
- Current route colors from Passio route and vehicle data
- Searchable stops, buses, routes, and service alerts
- Route overlays with live bus filtering
- Estimated arrivals from live bus position and route shape
- Responsive desktop and mobile panels
- HTML5
- CSS3
- JavaScript with browser fetch
- Mapbox GL JS
- Local route distance helpers for estimated arrivals
- Passio API data
-
Clone the repository:
git clone https://github.com/Param-10/bullrunner-2.git
-
Navigate to the project directory:
cd bullrunner-2 -
Serve the folder locally, then open the local URL:
python3 -m http.server 4173
- Open Routes to draw or hide route lines.
- Open Stops to search campus stops and view estimated arrivals.
- Open Buses to jump to a live vehicle.
- Open Alerts to read current service messages.
The core of this application revolves around parsing API calls from the PassioGo API. Here's an overview of the main API endpoints and how they're handled:
mapGetData.php?getRoutes=1: route names, ids, colors, and service flagsmapGetData.php?getStops=1: stops, route stop order, and route geometrymapGetData.php?getBuses=1: live bus positions, route assignment, capacity, and update timegoServices.php?getAlertMessages=1: current service alerts
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries, please contact [ubullrunner@gmail.com].