Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

薅大厂羊毛之改善MatterMost安卓客户端的消息推送 #58

Closed
ferstar opened this issue Apr 4, 2022 · 0 comments
Closed

薅大厂羊毛之改善MatterMost安卓客户端的消息推送 #58

ferstar opened this issue Apr 4, 2022 · 0 comments
Labels

Comments

@ferstar
Copy link
Owner

ferstar commented Apr 4, 2022

#23 之前这里用的Alertover服务最近正式扑街没法用, 只好再挪个别的法子

用到的推送工具: PushDeer

脚本运行环境: 腾讯云函数

代码基本还是原来的, 只不过通过Alertover服务推送消息变成了使用PushDeer, 对应的方法改造也很简单, 就不放码了: 发送示例

至于云函数, 网上一堆教程, 这也不啰嗦, 我配置了每五分钟运行一次, 主动调低了实例内存要求至64MB

当然节假日最好是不要推送的, 这就需要另一个 API 服务: http://tool.bitefu.net/jiari/ 检测消息前判断一下是否工作日, 是工作日才检查&发通知, 完美!

@ferstar ferstar added the Python label Apr 4, 2022
@ferstar ferstar closed this as completed Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant