Commit Briefs

5dd729c963 witcher

ci: use openssl3-dev (main)


8068f43d5e witcher

ci: change image to alpine/edge


433c41c007 witcher

ci: don't build in release mode


cf792522d7 witcher

small refactor + dependency update


7d23791440 witcher

fmt, clippy


2faee61fc9 witcher

add ci


2df359c9b7 witcher

README: fix wrong project name


021446571f Witcher01

api: replace default api


06a84cc2e6 Witcher01

add README


ab04417d6c Witcher01

add LICENSE


Branches

Tags

This repository contains no tags

Tree

.build.ymlcommits | blame
.gitignorecommits | blame
Cargo.lockcommits | blame
Cargo.tomlcommits | blame
LICENSEcommits | blame
README.mdcommits | blame
src/

README.md

# incidence_updates

Post the current incidence numbers of the specified districts to a specified discord channel.

This uses [rki-covid-api](https://github.com/marlon360/rki-covid-api) written by [marlon360](https://github.com/marlon360/) as the REST API source.

## Compiling

Install the dependencies:

- Rust

Then compile incidence_updates:

```
cargo build
```

## Usage

Set these environment variables:

- `DISCORD_TOKEN`: the application token of your discord bot
- `CHANNEL_ID`: the discord channel to post the results to
- `DISTRICTS`: a comma separated list with the district codes to be checked

## Resources

Send patches and questions to [~witcher/public-inbox@lists.sr.ht](https://lists.sr.ht/~witcher/public-inbox).

Instructions for preparing a patch are available at [git-send-email.io](https://git-send-email.io/).

Bugs and todo can be found at [~witcher/incidence_updates](https://todo.sr.ht/~witcher/incidence_updates).