/slack-rekarma

Automatic Slack user karma based on reactions

Primary LanguagePythonMIT LicenseMIT

slack-rekarma

Slack user karma based on reactions.

Usage

From a slack channel type /rekarma. The full user karma list will be shown inline (visible just to you).

Integration

  1. Go to Apps and Integrations.
  2. Click on the to right button Build your own.
  3. Click on Make a custom integration
  4. Click on Slash Commands.
  • Command: /rekarma
  1. Update the following info:
  • URL: http://YOUR-DOMAIN/rekarma
  • Method: GET

Developing

# Install python dependencies
$ pip install -r requirements.txt

# Set environment variables
$ export SREK_SLAK_API_KEY="YOUR-SLACK-API-KEY-HERE"
$ export REDIS_URL="YOUR-REDIS-URL"

# Start the flask web server
$ python runserver.py

# Start the rq worker
$ python worker.py

Deploy to Heroku

Deploy