Live times on multiple bus lines near the University of York.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
views
.foreman
.gitignore
Gemfile
Gemfile.lock
LICENSE.md
Procfile
README.md
app.rb
config.ru
robots.txt
route.yml

README.md

Three Buses

"You wait for ages, then three turn up at once"

This is a webapp to display live bus times. This powers University of York live buses and is now easily-configurable for other such routes covered by multiple buses.

Usage

This is built to work on Ruby 1.9+.

git clone https://github.com/46bit/threebuses.git
cd threebuses
bundle install
cp credentials.sample.yml credentials.yml

Register at TransportAPI then add your details to credentials.yml.

Run the server using rackup.

Configuration

Until there's an easy-configuration program, you'll need to manually edit route.yml using the comments as a guide. Make sure to reboot the server after changes.

About

Built by Michael Mokrysz with contributions from DinCahill. Data sourced from TransportAPI. Licensed under MIT.