GithubHelp home page GithubHelp logo

slack-reactions-notification's Introduction

Slack Reaction Notification

๐Ÿฅณ Get desktop notifications for Slack emoji reactions

Install the browser extension, you'll be prompted to login with your Slack account. Everytime someone will react to one of your message, you'll get a short notification.

TODO:

  • Add a mute option
  • Configurable notification time

Use your own Slack application

If for privacy reason you want to use your own Slack application, you'll need to:

  • create a classic app (in order to use the RTM API)
  • deployed a small Node.js server to initiate OAuth2 authentication
  • build the web extension (Firefox, Chrome, EdgeHTML)

1. Create your Slack app

Follow this link to create your app: https://api.slack.com/apps?new_classic_app=1

In the OAuth section, set the Redirect URLs to:

Set the following scopes:

  • channels:history
  • channels:read
  • reactions:read
  • users.profile:read

2. Deploy the Node.js server

Node.js server code is located in the node/ folder. Deploy the app, and create a .env file in the node/ folder with your app credentials:

SLACK_CLIENT_ID=***
SLACK_CLIENT_SECRET=***
SLACK_REDIRECT_URI=http://***/callback

3. Build the web extension

Create a .env file at the root of the project with the Node server URI:

SLACK_OAUTH_URL=http://localhost:4242

Run npm run build to build the extension.

slack-reactions-notification's People

Contributors

scleriot avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

slack-reactions-notification's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.