ArtalkJS / Artalk

🌌 自托管评论系统 | Your Self-hosted Comment System.
https://artalk.js.org
MIT License
1.58k stars 130 forks source link

TG通知在国内的机器不能使用,可以加个类似Memos中的代理功能的选项吗? #667

Open rebron1900 opened 9 months ago

rebron1900 commented 9 months ago

通过这种方式国内的机器也可以同过cf works使用tg机器人通知。 https://www.usememos.com/docs/integration/telegram-bot

rebron1900 commented 9 months ago

另外我发现国内有作者写的https://github.com/songquanpeng/message-pusher,集成了很多通知功能,不知道Artalk可以用的上吗?

qwqcode commented 9 months ago

你好,可以在启动 Artalk 前配置 Linux 环境变量 export https_proxy=http://127.0.0.1:7890,让 TG API 请求走代理

rebron1900 commented 9 months ago

你好,可以在启动 Artalk 前配置 Linux 环境变量 export https_proxy=http://127.0.0.1:7890,让 TG API 请求走代理

我vps上不准备装代理软件,不过我用楼上这个软件通过webhook实现了tg、企业微信通知。

qwqcode commented 9 months ago

Artalk 也有 webhook:https://artalk.js.org/guide/backend/admin_notify.html#webhook-%E5%9B%9E%E8%B0%83

rebron1900 commented 9 months ago

Artalk 也有 webhook:https://artalk.js.org/guide/backend/admin_notify.html#webhook-%E5%9B%9E%E8%B0%83

嗯,就是利用Artalk的特性,搭配Messge-pusher可以实现国内TG通知、企业微信机器人通知等,我还整理了一篇文章 ,不过开发组们还是可以考虑一下原生集成最好。 https://1900.live/artalk-message-pusher-wework-comment-notification/

qwqcode commented 9 months ago

好的,我看看怎么加个

awaae001 commented 4 months ago

Artalk 也有 webhook:https://artalk.js.org/guide/backend/admin_notify.html#webhook-%E5%9B%9E%E8%B0%83

嗯,就是利用Artalk的特性,搭配Messge-pusher可以实现国内TG通知、企业微信机器人通知等,我还整理了一篇文章 ,不过开发组们还是可以考虑一下原生集成最好。

https://1900.live/artalk-message-pusher-wework-comment-notification/

可不可以自定义tg通知模板?