Skip to main content

earthwave

earthwave is a terminal app for following earthquakes and tsunami alerts. It shows live USGS earthquakes in a list, on a world map and in a detail screen, and it watches the tsunami warning centres and sea-level gauges so you can see an alert next to what the water is actually doing. It uses only free public feeds that need no key or account.

earthwave replaying a recorded Kamchatka earthquake: a tsunami watch, then a warning, then the quake in the list and on the map

Recorded data, not live: the app replaying a saved session with --replay.

earthwave dashboard: quake list, world map and tsunami panel

This is a 0.x release. It works and is tested, but it is young, and details such as key bindings and the config file may still change between minor versions. See CHANGELOG.md.

Install

Pick one.

  • Release binary. Download the file for your system from GitHub Releases (Windows .exe, Linux x86-64 and macOS arm64 .tar.gz). No Python needed. The binaries are not code-signed, so Windows SmartScreen and macOS Gatekeeper will ask you to confirm; check the download against SHA256SUMS from the same release.

  • From source, with Python 3.13 or newer:

    pipx install git+https://github.com/WPTK/earthwave.git
    

    or pip install git+https://github.com/WPTK/earthwave.git inside a virtual environment.

Run

earthwave

The first run writes a commented config file to your user config directory. Useful options:

earthwave --min-mag 4.5 --hours 72     # what to list
earthwave --home 40.7,-74.0            # distances and near-home alerts
earthwave --glyphs ascii               # for terminals without braille
earthwave --offline                    # no network; browse the saved history
earthwave --record session.jsonl       # save every request ...
earthwave --replay session.jsonl       # ... and play it back later
earthwave --help                       # everything else

Use a terminal at least 100 columns wide and 30 rows tall; below that the app asks you to enlarge the window. The map appears at 120 columns or more.

On a terminal that supports sixel graphics (Windows Terminal 1.22 or later, foot, WezTerm, xterm with sixel) the map is drawn at pixel resolution. map_renderer under [view] in the config file is auto by default: sixel when the terminal reports it, braille otherwise (also under NO_COLOR, TERM=dumb, tmux or screen, a pipe, or a terminal that does not answer). braille or sixel forces either.

Keys

? opens the full list. The main ones:

Key Action
j k, arrows move in the list
Enter quake detail (b opens the USGS page, y copies its URL)
f s / filters, sort, search
m z show or hide the map, zoom it
t tsunami alerts and bulletins
o sea-level gauges
h history by day
a acknowledge alerts
r refresh now
q quit

A tsunami watch, advisory or warning raises a coloured banner across the top, and the status bar changes colour. Major quakes and new alerts can also raise a desktop notification and a terminal bell.

the tsunami screen showing a Kamchatka warning and its bulletin

Data sources

  • USGS earthquake feeds and event service
  • NOAA: tsunami.gov bulletins, National Weather Service alerts, NDBC DART buoys and CO-OPS tide gauges
  • Japan Meteorological Agency tsunami information, used with attribution
  • Natural Earth coastlines and land polygons, public domain

earthwave identifies itself to every feed, asks whether a copy has changed instead of downloading it again, and backs off when a feed says to.

earthwave is not an official tsunami or earthquake warning service and is not affiliated with any of these agencies. Do not rely on it for safety decisions; follow your local authorities.

Checking an install

earthwave --version
earthwave --selftest

--selftest checks that every module imports and renders one screen without a terminal; from a source checkout it also parses the saved sample feeds. It prints selftest: ok and exits 0 on success. It does not use the network.

Development

See docs/development.md for setup, checks, the release process and the data-capture scripts.

Licence

MIT

Metadata

Release files for earthwave 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for earthwave 0.2.0
File Size Uploaded Provenance Actions
earthwave-0.2.0.tar.gz 1.7 MB With provenance Details for earthwave-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for earthwave 0.2.0
File Interpreter ABI Platform Actions
earthwave-0.2.0-py3-none-any.whl Python 3 none any Details for earthwave-0.2.0-py3-none-any.whl

Total release size: 3.3 MB

Release files / earthwave-0.2.0.tar.gz

Download URL earthwave-0.2.0.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
b5dcea8b04edd1a85074fa2aabdcecd606fecedd6e195cf5eace3867abcccebf
BLAKE2b-256 checksum
How to use checksums
632c1cd16a385e929d7a07759e6eae10fb6f3775e03f40ea202f8f3a9d2a2020
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / earthwave-0.2.0-py3-none-any.whl

Download URL earthwave-0.2.0-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
97735d21611e8667f02805e23fb5728bb5b7b71055673a182bf4756096ee613e
BLAKE2b-256 checksum
How to use checksums
5d399dac01875810706ca9e414de469c8c03b155ff4659a83bc791e3cd90d34e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Security for earthwave 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for earthwave-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page