No description
Find a file
Daniel Mason 86eef8cc8e
- Skip invalid webhooks
- Build cache based on row data instead of entire row
- Compare columns instead of entire row
- Removed commitHash check and instead just processes on succesfull git pull
- No more entire file dumps!
2021-09-03 14:18:47 +12:00
cmd/nzcovidbot Add support for multiple webhooks 2021-09-02 14:56:36 +12:00
internal/nzcovidbot - Skip invalid webhooks 2021-09-03 14:18:47 +12:00
.env.example Add support for multiple webhooks 2021-09-02 14:56:36 +12:00
.gitignore Pulls from git and posts to discord 2021-09-01 21:22:09 +12:00
go.mod Add slack webhook integration 2021-09-01 23:20:47 +12:00
go.sum Add slack webhook integration 2021-09-01 23:20:47 +12:00
LICENSE Initial commit 2021-09-01 17:37:22 +12:00
README.md Update README.md, Add comments 2021-09-02 11:08:26 +12:00

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