Get support for dunglas/stack2slack
If you're new to LTH, please see our FAQ for more information on what it is we do.
Support Options
Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:
View Open IssuesTake a look to see if anyone else has experienced the same issue as you and if they managed to solve it.
Open an IssueMake sure to read any relevant guidelines for opening issues on this repo before posting a new issue.
Sponsor directlyCheck out the page and see if there are any options to sponsor this project or it's developers directly.
dunglas/stack2slack
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).
Installing
- Register a new Slack bot and grab the generated API token
- Download and extract the binary corresponding to your platform
- Start the daemon:
DEBUG=1 SLACK_API_TOKEN=<your-API-token> TAG_TO_CHANNEL='{"stackoverflow-tag": "slack-channel"}' ./stack2slack
- 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:
-
Clone this repository:
git clone git@github.com:dunglas/stack2slack.git
-
Install the provided chart:
helm install
--set slackApiToken=<slackApiToken>
--set tagToChannel.stackExchangeTag=slackChannel
./chart/stack2slack
Building from Sources
This bot is written in Go (golang), you need a proper install of it to compile the sources.
- Clone this repository:
git clone https://github.com/dunglas/stack2slack.git
- Get the dependencies
go get
- Compile the app:
go build
Credits
Written by Kévin Dunglas. Sponsored by Les-Tilleuls.coop.
Our Mission
We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.
From the Blog
Interesting Articles
-
Generating income from open source
Jun 23 • 8 min read
-
2023 State of OSS
Apr 23 • 45 min read ★
-
A funding experiment...
Aug 19 • 10 min read
-
But You Said I could
Aug 19 • 2 min read
Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated
p-e622a1a2