Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

lepture/tower-slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tower.im 接入 Slack

将 Tower.im 的消息发送到 Slack 上。

  1. China: https://tower-slack.leanapp.cn
  2. America: https://tower-slack.avosapps.us

网络延迟主要取决于 Tower.im -> tower-slack -> Slack 的时间和。 目前测试的结果,使用 Leancloud 美国节点稍微好一点。

Slack 消息示例

使用方法

在 Slack 上新建一个 Incoming Webhook,获取到 Webhook URL:

https://hooks.slack.com/services/T0DRRRYS1/C9XZ5VL2/bqiCkTrLYMpJcDaKG9HaS4yu

将获取到的链接替换成 tower-slack 的链接:

https://tower-slack.leanapp.cn/T0DRRRYS1/C9XZ5VL2/bqiCkTrLYMpJcDaKG9HaS4yu

在 Tower.im 上添加 webhook,填入 tower-slack 的链接

tower slack

Tower.im webhook 上的 Secret 可不填。如需改变 channel,可将 channel 名填入 Secret,如 @lepture#developer

部署到 Leancloud

你可以使用我部署好的 https://tower-slack.leanapp.cn 也可以自己部署到 Leancloud。直接 clone 这个仓库就可以部署到 Leancloud 了,具体操作请参考 Leancloud 文档。

About

将 Tower.im 的消息发送到 Slack 上

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages