https://github.com/steve-haar/github-slack-bot-with-go
A simple slack bot that will listen for and respond to any mention of github issues
https://github.com/steve-haar/github-slack-bot-with-go
github go golang slack slack-api slackbot
Last synced: 5 months ago
JSON representation
A simple slack bot that will listen for and respond to any mention of github issues
- Host: GitHub
- URL: https://github.com/steve-haar/github-slack-bot-with-go
- Owner: steve-haar
- Created: 2022-07-06T00:46:20.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-07T03:47:06.000Z (almost 4 years ago)
- Last Synced: 2024-06-21T03:27:38.512Z (about 2 years ago)
- Topics: github, go, golang, slack, slack-api, slackbot
- Language: Go
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub Slack Bot with Go
A simple slack bot that will listen for and respond to any mention of github issues.

## Setup
Provide the following environment variables:
* REPO_OWNER (name of GitHub repo owner / org)
* REPO_NAME (name of GitHub repo)
* OAUTH_TOKEN (slack OAUTH bot token)
* APP_TOKEN (slack APP token)
Download [Go](https://go.dev/doc/install).
Run this followed commands:
```bash
# Install dependencies (only the first time)
go install
# Run the local server at localhost:8080
npm run main.go
# Build for production in the dist/ directory
npm build
```