Sign inSign up

dnaka91/codewars-bot

By dnaka91

•Updated over 4 years ago

Image
0

10K+

dnaka91/codewars-bot repository overview

⁠Codewars Bot (for Slack)

CI

A Slack bot to report codewars⁠ statistics, written in Rust 🦀.

This project is in a very early stage. Use at your own risk.

⁠Setup

The application currently expects settings to be provided through environment variables provided by an .env file. The required variables are as follows:\

VariableDescription
SLACK_TOKENA Slack legacy (yes, legacy 👻) token to authenticate the bot.
SLACK_CHANNELChannel ID where you want this bot to send your team messages.
RUST_LOGConfiguration for the logger. Set this to codewars_bot to see logs.

⁠Build

Have the latest rust toolchain and cargo installed and run:

cargo build
⁠Docker

The project contains a Dockerfile so you can package the bot as an independent image.

docker build -t codewars-bot .

⁠Running

Well simply execute the compiled binary, run directly through cargo (cargo run) or run the previously built Docker image.

⁠License

This project is licensed under either of

at your option.

Tag summary

Content type

Image

Digest

Size

2.3 MB

Last updated

over 4 years ago

docker pull dnaka91/codewars-bot