Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rexxars/windward-slack
Monitors a Windward server and notifies a slack channel when someone enters or exits the game
https://github.com/rexxars/windward-slack
Last synced: 11 days ago
JSON representation
Monitors a Windward server and notifies a slack channel when someone enters or exits the game
- Host: GitHub
- URL: https://github.com/rexxars/windward-slack
- Owner: rexxars
- License: mit
- Created: 2017-03-22T08:33:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-03-22T09:57:56.000Z (over 7 years ago)
- Last Synced: 2024-10-11T07:13:23.213Z (about 1 month ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# windward-slack
Monitors a [Windward](http://store.steampowered.com/app/326410/) server and notifies a slack channel when someone enters or exits the game.
## Setup
```
git clone https://github.com/rexxars/windward-slack.git
cd windward-slack
npm install
npm start
```## Docker
There is also a docker image available. Run `docker run rexxars/windward-slack`. Be sure to set the environment variables listed below.
## Environment variables
Note that these can also be set in a `.env` file in the app folder.
- `SLACK_WEBHOOK_URL` - Incoming webhook URL for your slack. Starts with `https://hooks.slack.com`
- `SLACK_CHANNEL` - Channel to post notifications to. Defaults to `#windward`
- `SLACK_USERNAME` - Username to use when posting notifications. Defaults to `Windward`
- `SLACK_ICON_URL` - Icon URL to use for the user that posts the notifications
- `WINDWARD_SERVER_URL` - Server URL. If your windward server is at `somehost.com:5127`, use `http://somehost.com:5127/`.## License
MIT-licensed. See LICENSE.