Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.4 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.4 KB

Randomizer

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!

Try the Demo

You'll need the Go toolchain installed to try the demo program.

  1. Clone this repository and cd into it
  2. Build the demo: go build ./cmd/randomizer-demo
  3. 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.

Deployment Options

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 the randomizer-server HTTP server. It assumes more background knowledge and/or willingness to dive into the details of server management and the randomizer implementation.