Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

yammmt/weekly-atcoder-report

Repository files navigation

weekly-atcoder-report

Ruby

weekly-atcoder-report (for short, war) posts weekly AtCoder submission status to Slack.

Move

app screenshot

Usage

The setup of this app comes two stages: Slack side and Ruby side.

Slack

You must get incoming webhook URL. For detail, you could rely on Slack document.

Ruby (this program)

As .ruby-version file shows, I run this app with Ruby 3.0.1 (+ macOS).

If needed, you can set the bundle path:

bundle config set path vendor/bundle

Before running this app, you must write Webhook URL in .env file:

touch .env
echo "WEBHOOK_URL=<your Slack incoming webhook URL>" >> .env

Then you can run this app:

bundle install
bundle exec ruby main.rb

Develop

Test

bundle exec ruby test/atcoder.rb
bundle exec ruby test/slack.rb

or

bundle exec rake

Link

About

Sends solved AtCoder problems info in a week to Slack

Topics

Resources

License

Stars

Watchers

Forks

Languages