Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

TaxiRouter SG

TaxiRouter SG is a web app that lets you explore available taxis and taxi stands in Singapore. Period.

It has very little number of features:

  • List all taxi stands in Singapore.
  • Shows all available taxis in the whole Singapore.
  • Tells how many available taxis around you.
  • Tells how far is the nearest taxi stand around you.

That's it.

Story

This project is first inspired by @uzyn's project: Singapore Taxi Data Visualization. Also following up from his talk on FOSS Asia 2016: Uncovering of an obfuscated public governmental API . Later, Data.gov.sg releases a new taxi availability API and that marks the beginning of this project.

Technicalities

Data is from https://data.gov.sg/.

Before npm i, install nss so that localhost https works. Based on https-localhost.

  • MacOS

    brew install nss
  • Linux

    sudo apt install libnss3-tools
        -or-
    sudo yum install nss-tools
        -or-
    sudo pacman -S nss

Here's a sprinkle of NPM magic:

  • npm i - install everything
  • npm run taxi-stands - fetch taxi stands
  • npm run inliner - inline all assets from _index.html to index.html
  • npm run watch - watch files and run inliner when files changed
  • npm run serve - run a local server
  • npm start - runs both watch and serve

License

Data is copyrighted by the Land Transport Authority.

Everything else MIT.

About

A web app that lets you explore available taxis and taxi stands in Singapore

Topics

Resources

You can’t perform that action at this time.