Pull data from Github and parses new locations into Twitter posts and into Discord webhooks. Written in Golang
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel Mason 635b4e6c24
update limit since it looks safe now
2 weeks ago
cmd/nzcovidbot Add support for multiple webhooks 3 weeks ago
internal/nzcovidbot update limit since it looks safe now 2 weeks ago
.env.example Update slack to push linkable attachments 2 weeks ago
.gitignore Pulls from git and posts to discord 3 weeks ago
LICENSE Initial commit 3 weeks ago
README.md Update README.md, Add comments 3 weeks ago
go.mod Add slack webhook integration 3 weeks ago
go.sum Add slack webhook integration 3 weeks ago

README.md

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