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

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

Open
rebron1900 opened this issue Dec 17, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@rebron1900
Copy link

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

@rebron1900
Copy link
Author

rebron1900 commented Dec 17, 2023

@qwqcode
Copy link
Member

qwqcode commented Dec 17, 2023

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

@qwqcode qwqcode added the enhancement New feature or request label Dec 17, 2023
@rebron1900
Copy link
Author

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

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

@qwqcode
Copy link
Member

qwqcode commented Dec 17, 2023

@rebron1900
Copy link
Author

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
Copy link
Member

qwqcode commented Dec 17, 2023

好的,我看看怎么加个

@awaae001
Copy link

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通知模板?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants