Provide proxy to resolve GitHub mentions into Slack mentions.
You can easily try this proxy on Glitch!
- Setup GitHub integration on your Slack team.
- Remix this app on Glitch. To use this proxy continuously, you should be remix with logged-in by your Glitch account. (not anonymous user!)
- Make remixed Glitch project as private. Putted Slack user ids in
.env
would leak in public project!! - Open
.env
and put the pair of Slack user id (or usergroup id) and GitHub account name. See.env
file. - Open GitHub repository ➡
Webhooks
➡Edit
button that URL has started withhttps://hooks.slack.com/
. - Replace Payload URL host from
hooks.slack.com
to[remixed-project-name].glitch.me
and clickUpdate webhook
button. - Let's try to send mentions at GitHub!
# Please put the pair of Slack user id (or usergroup id) and GitHub account name.
# [Slack user id]=[GitHub account name]
U0123ABCD=yhatt
U4567EFGH=github-account
S8901IJKL=organization/team
If your payload URL is like this...
https://hooks.slack.com/services/T01234567/...
you could replace host like this.
https://github-mentions-to-slack.glitch.me/services/T01234567/...
Actually, we think that you are using remixed project. Let's try this:
https://[remixed-project-name].glitch.me/services/T01234567/...
Yuki Hattori (@yhatt)
This repository is under the MIT License.