Please panic!
Checking major news sites for number of mentions of the phrase "Corona", "Covid-19" or "Sars-Cov-2".
See for yourself at cc.tsak.net (this is now a static copy of the service originally running and updating)
go build
Usage of ./coronocount:
-d Debug mode
-i int
Scrape interval (default 30)
-l string
Address and port to listen and serve on (default "localhost:8080")
-s string
File to load URLs from (default "sites.txt")
See coronacount.service systemd service definition.
To install (tested on Ubuntu 16.04):
adduser coronacount
- copy
coronacount
binary as well assites.txt
andtemplate.html
to/home/coronacount
- place systemd service script in
/lib/systemd/system/
sudo systemctl enable coronacount.service
sudo systemctl start coronacount
sudo journalctl -f -u coronacount
The last command will show if the service was started.