Get cryptocurrency (BTC and ETH) price alerts in Slack
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Slack Coin Alert

  • Edit settings.json to set notification treshold
  "BTC": [min, max],
  "ETH": [min, max]
  • Create an Incoming WebHooks entry on Slack

  • Add SLACK_COIN_URL to your environment with the webhook URL from the previous step

export SLACK_COIN_URL=''
  • Add a cron script
#!/usr/bin/env bash

# load rvm ruby
source /home/user/.rvm/environments/ruby-2.4.1 # if using RVM
export SLACK_COIN_URL=''

cd /home/user/slack-coin-alert
ruby /home/user/slack-coin-alert/alert.rb
  • Add a cron entry (e.g. crontab -e)
# Runs the cron script every 10 minutes
*/10 * * * * /home/user/slack-coin-alert/