https://github.com/maxbeizer/dash-to-slack
https://github.com/maxbeizer/dash-to-slack
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/maxbeizer/dash-to-slack
- Owner: maxbeizer
- License: mit
- Created: 2017-03-05T19:45:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-16T18:04:27.000Z (almost 9 years ago)
- Last Synced: 2025-03-26T21:09:19.106Z (about 1 year ago)
- Language: JavaScript
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dash to Slack
_Currently pretty WIP._
Connect your "hacked" Amazon Dash button to your Slack.
## Requirements
1. Node
2. `libcap-dev`
## Installation and Execution
1. [Find the Dash button MAC
address](https://github.com/hortinstein/node-dash-button#find-a-dash)
2. Set an [incoming webhook on Slack](https://api.slack.com/incoming-webhooks)
```
$ cp .env.dist .env # and fill in the MAC address and the webhook
$ sudo apt-get install libcap-dev # to listen for Dash presses
$ sudo bin/run &
```
## Development
1. Run the tests with `npm test`
2. `npm run prepublish` to convert ES2015 to ES5
## License
[MIT](https://github.com/maxbeizer/dash-to-slack/blob/master/LICENSE)