Receive EEW(Earthquake Early Warning) from Weathernews(WNI)'s paid service via TCP and Post to IRC/Slack channels.
-Write your configucation at config.yaml about WNI EEW and your IRC server(s)/channels or your Slack incoming-webhooks. -Start this script.
irc: in config.yaml is a list, so you can notify multiple IRC servers (unlike the original Perl version, which only supported one). Each entry's charset defaults to UTF-8 if omitted (the original Perl version defaulted to ISO-2022-JP, matching the author's own network at the time); set it to iso-2022-jp for a server/channel that still expects that encoding. There's no flood-control on the IRC side, matching the original.
For Docker: docker run -it --rm --mount type=bind,source=/usr/local/irc-eew/config,target=/conf,readonly ghcr.io/walkure/irc-eew:latest
A read-only web viewer for archived EEW telegrams (see logdir: above).
docker run -it --rm -p 8080:8080 --mount type=bind,source=/a/path/to/eewlog,target=/eewlog,readonly ghcr.io/walkure/eew-view:latest
Configure via environment variables:
| name | default | description |
|---|---|---|
EEW_DATA_DIR |
/eewlog/ |
path to EEW files |
EEW_PATH_BASE |
./ |
URI path base |
EEW_VIEWER |
eew-show |
name of the detail-view route |
EEW_LISTEN_ADDR |
:8080 |
address to listen on |
*Written in Japanese only
- Weathernews
- EEW Message Code format(Un-official)
- EEW Decoder(receiver sample)
walkure at 3pf.jp
MIT License