Simple parser of snow cover table from hydro.imgw.pl website.
- pdftotext >= 20.0.0 (poppler/poppler-utils package)
- wget (full version for SSL support, tested with ^1.20)
- busybox
- bash
-
Install Termux and Termux Widget add-on (from F-Droid). Additionally for notification alerts install Termux API and Termux Boot add-ons.
-
Open Termux and execute:
pkg install poppler bash wget busybox
wget -q -O - https://raw.githubusercontent.com/PawelSuwinski/snowMonit/main/install.sh | bash
-
Add Termux Widget to desktop pointing to snow shortcut.
-
Run Termux Boot once if cron job notification alerts was chosen.
~/snow.sh -h
./snow.sh -m 10
./snow.sh milejewo chojnice podlaskie
crontab -l
crontab -e
See man crontab.