-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Support Webhook #1039
Comments
👀 |
Webhook功能还在计划中吗? 目前想把Memos做为主要的写作平台,然后利用Webhook同步到微博,Twitter和Telegram等社交媒体。 现在的API勉强也能做增量同步,但是要不断轮询,才能实现实时同步,不太合理。 |
Is the webhook feature still planned? At present, I want to use Memos as the main writing platform, and then use Webhook to synchronize to social media such as Weibo, Twitter, and Telegram. The current API can barely do incremental synchronization, but continuous polling is required to achieve real-time synchronization, which is unreasonable. |
Any updates to this feature? |
我fork了个加上了memo增删改的hook自己用,不用你能不能用的上--> memos |
I forked a hook with memo additions, deletions and modifications for my own use. Can you use it without it? --> memos |
@RustyNailPlease 多谢大佬。不过我有很多Self-Hosted应用,运维负担很重,所以不想再用第三方的fork了。 |
@RustyNailPlease Thanks man. However, I have many Self-Hosted applications and the operation and maintenance burden is heavy, so I no longer want to use third-party forks. |
在官方不支持Webhook的情况下,又不想单独维护一个Fork,想到了另外一种解决方案:在服务端做手脚。 Memos一般都是部署在反向代理后面的,而我前不久刚刚切换了OpenResty,可以在OpenResty中用Lua获取请求数据,然后发送一个HTTP请求。 代码如下:
|
related issues: #418 #676 #961
The text was updated successfully, but these errors were encountered: