aqi
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Note: I recently updated the code for this to the OpenAQ v3 API and there might be bugs.
Get email alerts when AQI is unhealthy near you.
- Click
Remix
- Change
location
(Line 4 in main.tsx) to describe your location. It accepts fairly flexible English descriptions which it turns into locations via nominatim's geocoder API. - Click
Run
This val uses nominatim's geocoder to get your lat, lon, and air quality data from OpenAQ. It uses EPA's NowCast AQI Index calculation and severity levels.
Get started with a template: