Coded by LEE JUNSUNG
Monitoring
"http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_day.geojson";
"https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_day.geojson";
This program runs as an extension on Chromium-based web browsers and parses data from the US Geological Survey (USGS) API to display information on a webpage. It is designed to provide alerts when earthquakes of a certain magnitude, which the user can adjust, are reported by the USGS. Additionally, it notifies users of any changes in the status of the reported data (e.g., ‘reviewed’, ‘automatic’, etc.) and any variations in magnitude, and allows users to set a time range for tracking changes. The goal of this program is to make it easier for users to recognize significant earthquakes using audiovisual alerts.
///////////////////////////////////////////////////////////////////////////////
Status [reviewed, automatic, undefined, deleted] are shown on the USGS page('earthquake.usgs.gov/earthquakes/map/';) with colors, when the magnitude is greater than given value.
reviewed = red: (Meaning that USGS expert has reviewed)
automatic = green: (USGS expert has not yet reviewed)
undefined = yellow: (? For exception)
deleted = none: (Since it is not shown...)
Other helpful info(API AND TERMS ) could be found on USGS documentation sites below:
API: (https://earthquake.usgs.gov/fdsnws/event/1/)
TERMS: (https://earthquake.usgs.gov/data/comcat/index.php)
When this extension is running; "Only List Earthquakes Shown on Map" option is being hidden to avoid misleading such as mismatching between (USGS web) and (popup alert includes TTS).
This extension will be restarted in every 1Hour - 1Week depends on the option you would give. It takes a huge amount of RAM compare to other similar extensions I have made such as monitoring CWA_EQ(Taiwan Earthquake) and JMA_EQ(Japan Earthquake) which are NOT listed on Chrome Web Store. (I have NO idea).....🫤😕 However, in each restart, program would run without any problem (I hope so). <= This is OPENSOURCE... HELP 🥲
///////////////////////////////////////////////////////////////////////////////
[PRIVACY]
CURRENTLY, THIS PROGRAM IS ONLY RUNNING IF YOU HAVE OPENED THE PAGE "*//earthquake.usgs.gov/earthquakes/map/*";.
TO HIGHLIGHT IT IS BASED ON USGS DATA;
LATER, IF NEEDED IT CAN BE CHANGED AS A STANDALONE(NO NEED TO VISIT USGS SITE JUST GETTING THE LASTEST ALARM).
1. DEVELOPER DOES NOT COLLECT ANY DATA.
2. THIS EXTENSION COLLECTS AND SAVES FOLLOWING DATA(LOCALLY IN YOUR COMPUTER):
2-1. CHECKING(DETECTING) URL (Extension works only on 'http://earthquake.usgs.gov/earthquakes/map/*'; or 'https://earthquake.usgs.gov/earthquakes/map/*';)
2-2. THE OPTIONS(The values you put in 'popup.html') ARE STORED IN CHROME BASED ON CHROME ALGORITHM (chrome.storage API).
※ THE FOLLOWING EXTENSION IS OPENSOURCE!
GITHUB LINK IS IN POPUP.HTML
★ Every geojson is under rights of USGS (not included in THE SOURCE, BUT IT'S URL && only used when program is running)
Also, This extension is not meant to store geojson, but chrome cache algorithm.
ⓒ All *.geojson rights reserved to USGS.gov
Credit: U.S. Geological Survey
Department of the Interior/USGS
U.S. Geological Survey/photo by Jane Doe
Else, follows GPLv3