A Slack bot to report codewars statistics, written in Rust 🦀.
The application currently expects settings to be provided through environment variables provided by
an .env
file. The required variables are as follows:
Variable | Description |
---|---|
SIGNING_KEY | Key to verify the HTTP calls come from Slack |
WEBHOOK_URL | Webhook to send messages to a Slack team channel |
Have the latest rust
toolchain and cargo
installed and run:
cargo build
The project contains a Dockerfile
so you can package the bot as an independent image.
docker build -t codewars-bot .
Well simply execute the compiled binary, run directly through cargo (cargo run
) or run the
previously built Docker image.
This project is licensed under either of
- Apache License, Version 2.0 (or http://www.apache.org/licenses/LICENSE-2.0)
- MIT License (or http://opensource.org/licenses/MIT)
at your option.