Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nrkno/MMM-Slack
Slack integration for MagicMirror²
https://github.com/nrkno/MMM-Slack
Last synced: 3 months ago
JSON representation
Slack integration for MagicMirror²
- Host: GitHub
- URL: https://github.com/nrkno/MMM-Slack
- Owner: nrkno
- Created: 2016-12-13T13:51:00.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-09T13:37:52.000Z (about 4 years ago)
- Last Synced: 2024-06-29T09:35:13.154Z (4 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 10
- Watchers: 5
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mmm - **MMM-Slack**
README
# MagicMirror² Module: MMM-Slack
This is a module integrating Slack in [MagicMirror²](https://github.com/MichMich/MagicMirror). It displays messages from the a given Slack channel in config.js. The module also supports update and delete messages## How to install
Remote into your MagicMirror box using a terminal software and go to the application folder:
cd ~/MagicMirror
Clone the repository:
git clone https://github.com/nrkno/MMM-Slack
Install dependencies:`npm install`
Add the module to the modules array in the config/config.js file by adding the following section. You can change this configuration later when you see this works:
{
module: 'MMM-Slack',
position: 'lower_third',
config: {
slackToken: 'YOUR_SLACK_TOKEN_GOES_HERE',
slackChannelId: 'THE_CHANNEL_ID_YOU_WANT_MESSAGES_FROM'
}
},## Configuration options
Option
Comment
Default
slackToken
You must create a test token for the [Slack API](https://api.slack.com/tokens)
aaaa-bbbbb-ccccc-dddd-12344
slackChannelId
Which Slack channel you want to display messages from. You can get the id by opening the web interface for slack, click on the actual channel and you will find the id in the url
W1234567890
showUserName
If true, the message sender's user name will be displayed with the message
true
showLatestMessageOnStartup
If true, the latest message in the channel will be displayed on startup
false