Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

wesbaker/nemeslack

Repository files navigation

Nemeslack

Test Workflow CodeQL Workflow

A simple way to send Nemestats plays to Slack:

Example Nemeslack

Installation

At the moment you'll need your own instance for your Slack. I run mine on Zeit's Now (for free) and it works really well.

  1. Create a new Slack app
  2. Enable Incoming Webhooks
  3. Create a Webhook URL for the desired channel and team
  4. Clone this repository
  5. Copy/rename now.json.example to now.json
  6. Change the GAMING_GROUP_ID in now.json to match your [Nemestats][nemstats] group ID (e.g. with a url of https://nemestats.com/GamingGroup/Details/13468 your ID is 13468)
  7. Add the following secrets to your now project:
    • now secret add nemeslack_sentry_dsn <your sentry.io DSN>
    • now secret add nemeslack_slack_webhook_url <your slack webhook url>
  8. Deploy to Now
  9. Create an alias for your Now deployment (e.g. now alias https://project-234asf3.now.sh/ project.now.sh)
  10. Use something like cron-job.org to schedule a recurring job, daily is usually enough.