stack2slack

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2017 License: MIT Imports: 8 Imported by: 0

README

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 Les-Tilleuls.coop (the company behind the framework).

Go Report Card Build Status Docker Automated build

Installing

The easiest way to get started is to use the official Docker image:

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

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 https://github.com/dunglas/stack2slack.git
  2. Get the dependencies go get
  3. Compile the app: go build

Credits

Written by Kévin Dunglas. Sponsored by Les-Tilleuls.coop.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL