The randomizer is a slash command webhook service for Slack that randomizes the order of items in a list.
Not sure what to get for lunch?
/randomize salad sandwich ramen
Need a code review from a teammate?
/randomize /save myteam Alice Bob Carol Dave Eve
/randomize myteam
Whenever you're unsure, let the universe decide!
You'll need the Go toolchain installed to try the demo program.
- Clone this repository and
cd
into it - Build the demo:
go build ./cmd/randomizer-demo
- See what to do next:
./randomizer-demo help
The demo saves groups in a bbolt database in the current directory, and outputs responses using Slack's "mrkdwn" format. This gives a taste of how the command works, and helps with testing.
This repo provides two guides on deploying the randomizer API for use with Slack:
SERVERLESS.md
is a detailed walkthrough for deployment on AWS Lambda, Amazon's managed function as a service platform.SERVERMORE.md
is a high-level guide for configuring therandomizer-server
HTTP server. It assumes more background knowledge and/or willingness to dive into the details of server management and the randomizer implementation.