{"id":20017257,"url":"https://github.com/raais/ewalert","last_synced_at":"2026-05-29T23:04:02.706Z","repository":{"id":128726489,"uuid":"391690618","full_name":"Raais/ewalert","owner":"Raais","description":"Linux Earthquake Warning Alert - A simple bash script to notify major earthquakes","archived":false,"fork":false,"pushed_at":"2021-10-07T14:23:49.000Z","size":92,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T03:15:44.018Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Raais.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-01T17:15:33.000Z","updated_at":"2023-09-21T02:55:57.000Z","dependencies_parsed_at":"2023-04-13T03:53:35.908Z","dependency_job_id":null,"html_url":"https://github.com/Raais/ewalert","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Raais/ewalert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raais%2Fewalert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raais%2Fewalert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raais%2Fewalert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raais%2Fewalert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Raais","download_url":"https://codeload.github.com/Raais/ewalert/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raais%2Fewalert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33673654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T08:15:24.755Z","updated_at":"2026-05-29T23:04:02.690Z","avatar_url":"https://github.com/Raais.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/64605172/136404131-587cecb2-bfbc-46a2-a880-1abb5c8e72b1.png\"\u003e\n\u003c/p\u003e\n\nA simple bash script to notify major earthquakes from [USGS](https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/significant_hour.geojson). \u003csub\u003e\u003csup\u003e[[What counts as a significant earthquake?]](https://earthquake.usgs.gov/earthquakes/browse/significant.php#sigdef)\u003c/sup\u003e\u003c/sub\u003e\n\n## Dependecies\n\n* [libnotify](https://github.com/GNOME/libnotify) ([check if your DE already has libnotify built-in](https://wiki.archlinux.org/title/Desktop_notifications#Libnotify))\n* [jq](https://stedolan.github.io/jq/download/)\n\n## Installation\n\nDownload bash script and make executable\n```bash\ncurl 'https://raw.githubusercontent.com/Raais/ewalert/main/ewalert' -o $HOME/.local/bin/ewalert\n```\n\n```bash\nsudo chmod +x $HOME/.local/bin/ewalert\n```\n### Configuration\nUncomment the [`session=\"x-session\"`](https://github.com/Raais/ewalert/blob/5564321b36996035d76b1bd100fa756c07a8ecc9/ewalert#L8) line according to your desktop environment. This is needed for exporting the DBUS_SESSION_BUS_ADDRESS variable.\n\n#### Example (Ubuntu/GNOME)\n```bash\n### nano $HOME/.local/bin/ewalert ###\nsession=\"gnome-session\"\n```\n\n### Make script run every x minutes\n\n#### Example (cron)\n```bash\ncrontab -e\n```\n```bash\n#run every 10 minutes\n*/10 * * * * $HOME/.local/bin/ewalert\n```\n[USGS Real-time GeoJSON Feeds](https://earthquake.usgs.gov/earthquakes/feed/v1.0/geojson.php) are updated every minute, so you can choose any interval higher than that. The script will not repeat alerts.\n\nYou may face issues depending on your setup, eg., if you have notifications disabled, or if you have turned on Do Not Disturb mode.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraais%2Fewalert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraais%2Fewalert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraais%2Fewalert/lists"}