Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cjdenio/slack-uno
Play Uno in Slack!
https://github.com/cjdenio/slack-uno
slack slack-api slack-bot slack-game uno-game
Last synced: about 2 months ago
JSON representation
Play Uno in Slack!
- Host: GitHub
- URL: https://github.com/cjdenio/slack-uno
- Owner: cjdenio
- Created: 2020-09-10T02:47:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-11T22:48:08.000Z (over 3 years ago)
- Last Synced: 2024-08-01T05:19:10.775Z (5 months ago)
- Topics: slack, slack-api, slack-bot, slack-game, uno-game
- Language: Dart
- Homepage:
- Size: 50.8 KB
- Stars: 28
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hackclub - slack-uno - [@cjdenio](https://github.com/cjdenio) - **(Dart)** _🎮 Play Uno in Slack!_ (Slack Apps/Bots)
README
# Uno for Slack
> Some say Slack is a communication tool, but I say it's a gaming platform.
Uno for Slack is fully functional! Feel free to report issues [over here](https://github.com/cjdenio/slack-uno/issues).
![](https://cloud-cfqwrizot.vercel.app/image.png)
## Hosting it yourself
You can host Uno for Slack yourself using the provided `prod.Dockerfile`. Alternatively, you may run the app yourself with `dart bin/main.dart` (requires a [Dart SDK](https://dart.dev) installation)
You'll also need a persistent Redis database.
### Environment variables
```
PORT (the port to run the app on)SLACK_TOKEN (your Slack bot token)
SLACK_SIGNING_SECRET (your Slack app's signing secret)REDIS_URL (a Redis url, e.g. redis://localhost:6379)
```### Creating the Slack app
Head on over to https://api.slack.com/apps and register an app.
### Scopes
Slack for Uno requires the following scopes:
```
chat:write
chat:write.public
```### Events
Subscribe to the `app_home_opened` event, then set the URL to `/slack/events`
### Interactivity
Enable interactivity, then set the URL to `/slack/interactivity`
## Missing Features:
- Wild/Draw 2 cards
- Leave Game button### [Project board](https://github.com/cjdenio/slack-uno/projects/1)
---
_Image rendering is handled by a separate repo, https://github.com/cjdenio/slack-uno-renderer_
## 👥 Contributors
- **[@cjdenio](https://github.com/cjdenio)**