Rust async API wrapper (reqwest) & TUI (ratatui) for alerts.in.ua
The Alerts.in.ua API Client is a Rust library that simplifies access to the alerts.in.ua API service. It provides real-time information about air raid alerts and other potential threats.
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/voiceapiai/ralertsinua/releases/download/v0.5.0/ralertsinua-installer.sh | sh
Download prebuilt binaries from the releases page
ALERTSINUA_TOKEN
or via --token
flag. If empty, the library will try to ask you interactively one time.
export ALERTSINUA_TOKEN="your_token"; ralertsinua
# or
ralertsinua --token "your_token"
Default polling interval is 30 seconds. You can change it via ALERTSINUA_POLLING_INTERVAL_SEC
env or --interval
flag.
export ALERTSINUA_POLLING_INTERVAL_SEC=60; ralertsinua
# or
ralertsinua --interval 60
MIT 2024
- ratatui's async template
- rspotify rsotify
- echomap echomap
- alerts_in_ua Python client alerts-in-ua
*[TUI]: Terminal User Interface