Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yusukeiwaki/dart-slack_echo_bot
https://github.com/yusukeiwaki/dart-slack_echo_bot
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/yusukeiwaki/dart-slack_echo_bot
- Owner: YusukeIwaki
- Created: 2019-11-19T03:15:11.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-20T00:08:01.000Z (about 5 years ago)
- Last Synced: 2024-10-18T08:32:59.369Z (3 months ago)
- Language: Dart
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# slack_echo_bot
![image](https://user-images.githubusercontent.com/11763113/69113481-76bb2500-0ac6-11ea-8684-f7b8a9005aa6.png)
## Integrate with Slack.
1. Add your own app. https://api.slack.com/apps
2. Set your app's verification token and bot user token, to credentials.dart.
3. Add Bot user for your app.
4. Enable event subscription for your app, with `app_mention` subscription in `Subscribe to bot events` section.
5. Install your app into your Slack workspace.## build
Put your `credentials.dart` by copying `credentials.dart.sample`.
Then
```
dart2native server.dart -o ./slack_echo_bot
```will generate a executable binary.
## deploy
Prepare a Linux based server.
Install nginx or another SSL-offloading (SSL -> localhost:4000) server.
Then just put `slack_echo_bot`, and execute it.