https://github.com/cheeaun/psi-sg
A web app that displays PSI readings in Singapore
https://github.com/cheeaun/psi-sg
Last synced: 5 months ago
JSON representation
A web app that displays PSI readings in Singapore
- Host: GitHub
- URL: https://github.com/cheeaun/psi-sg
- Owner: cheeaun
- Created: 2013-06-25T15:39:59.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2015-09-26T06:51:30.000Z (almost 11 years ago)
- Last Synced: 2025-07-05T14:41:32.705Z (about 1 year ago)
- Language: HTML
- Homepage: http://cheeaun.github.io/psi-sg/
- Size: 168 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PSI SG
======
A super duper quick and simple web app that displays the PSI readings in Singapore. Data is from the [National Environment Agency](https://www.nea.gov.sg/).
Web site:
Tips and tricks
---------------
- Double-click to switch between night and day modes.
- On touch devices (tested on iOS), pinch with two fingers to switch between the modes.
Technical details
-----------------
- [NEA official API](https://www.nea.gov.sg/api)
- `localStorage` for storing the night mode.
- CSS Transform for resizing the PSI number based on viewport dimension.
License
-------
This app is licensed under the [MIT license](http://cheeaun.mit-license.org/). The data is copyrighted by the [National Environment Agency](https://www.nea.gov.sg/).
Other similar apps
------------------
- [Singapore Air Polution: Real-time Air Quality Index](http://aqicn.org/city/singapore/)
- [PSIBar](https://github.com/nikhilsh/PSIBar)
- [Singapore Haze Watch](https://github.com/sausheong/sghaze)