/luxa4slack

Slack/Luxafor Integration App

Primary LanguageJavaScript

luxa4slack

A Slack/Luxafor Integration using Node.js

Running Locally

Make sure you have Node.js at least version 8.10.0 installed. You will also need the dev version of libusb for the node-hid package to run. For example:

sudo apt-get install libusb-1.0-0-dev

To install:

git clone git@github.com:donaldpittard/luxa4slack.git
cd luxa4slack
npm install

You will need to create a legacy token for the Slack API.

Once you have the API Token, create a .env file under app/config that contains the following:

SLACK_API_TOKEN=[YOUR SLACK TOKEN HERE]

Now you can run the application from within the luxa4slack directory:

sudo node_modules/.bin/electron .

If you are running on linux and want to run the application without root privs, you will need to add the 99_luxafor.rules file to /etc/udev/rules.d/.

TODO

  • Add user authentication
  • Add logging
  • Add initialization messages
  • Electronify
  • Test with Slack Desktop App
  • Add support for Windows
  • Add configurations page to coordinate team-specific meanings and messages to colors