mirror of
https://github.com/idanoo/NZCovidBot
synced 2025-07-02 03:32:14 +00:00
20 lines
549 B
Markdown
20 lines
549 B
Markdown
# NZCovidBot
|
|
Pull data from Github and parse new locations and fire them off to any configured endpoints
|
|
|
|
### About
|
|
After the twitterbot @nzcovidlocs shut down, I decided to try a different approach, instead of scraping MoH's website, lets parse the raw data!
|
|
https://github.com/minhealthnz/nz-covid-data/tree/main/locations-of-interest/august-2021
|
|
|
|
## Config
|
|
Copy .env.example to .env and fill in the blanks.
|
|
|
|
### Run locally
|
|
```
|
|
go run cmd/nzcovidbot/*.go
|
|
```
|
|
|
|
### Build
|
|
```
|
|
go build -o nzcovidbot cmd/nzcovidbot/*.go
|
|
./nzcovidbot
|
|
```
|