Skip to content
A Slack bot to monitor StackOverflow/StackExchange tags
Go Smarty
Branch: master
Clone or download
Latest commit 8123187 Sep 30, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.

Stack to Slack

This Slack bot monitors StackExchange tags and automatically publishes new questions in configured Slack channels.

It has been initially created to post all questions related to the API Platform framework in a dedicated channel of the Slack of (the company behind the framework).

Go Report Card Build Status Docker Automated build


  1. Register a new Slack bot and grab the generated API token
  2. Download and extract the binary corresponding to your platform
  3. Start the daemon: DEBUG=1 SLACK_API_TOKEN=<your-API-token> TAG_TO_CHANNEL='{"stackoverflow-tag": "slack-channel"}' ./stack2slack
  4. Finally, invite the bot in channels it will post: /invite @bot-name

Alternatively, you can use the official Docker image instead of downloading a binary: docker run -e DEBUG=1 -e SLACK_API_TOKEN=<your-API-token> -e TAG_TO_CHANNEL='{"stackoverflow-tag": "slack-channel"}' dunglas/stack2slack

If you use a Kubernetes (e.g. a Google Container Engine cluster), you can install Stack 2 Slack very easily with the Helm package manager:

  1. Clone this repository: git clone

  2. Install the provided chart:

    helm install
    --set slackApiToken=
    --set tagToChannel.stackExchangeTag=slackChannel

Building from Sources

This bot is written in Go (golang), you need a proper install of it to compile the sources.

  1. Clone this repository: git clone
  2. Get the dependencies go get
  3. Compile the app: go build


Written by Kévin Dunglas. Sponsored by

You can’t perform that action at this time.