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

为moments增加一个评论通知 #2

Open
jkjoy opened this issue Oct 18, 2024 · 1 comment
Open

为moments增加一个评论通知 #2

jkjoy opened this issue Oct 18, 2024 · 1 comment
Labels

Comments

@jkjoy
Copy link
Owner

jkjoy commented Oct 18, 2024

部署方式

services:
  moments:
    image: jkjoy/moments:latest
    environment:
      JWT_KEY: "BbYS93dHHfIC1cQR8rI6"
      WEBHOOK_URL: "https://open.feishu.cn/open-apis/bot/v2/hook/*" #飞书webhook 
      SITE_URL: "https://www.moments.cn" #访问地址
      QQ_WEBHOOK_URL: "https://http.asbid.cn/send_private_msg" #QQ机器人的API
      QQ_USER_ID: "123456" #接收消息的QQ号码
    ports:
      - "3000:3000"
    volumes:
      - ./data:/app/data
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro

没有修改原版的数据库,使用系统变量读取,

WEBHOOK_URL为你使用的webhook地址, 可以是飞书webhook, 也可以是其他的.
SITE_URL为你的moments的访问地址, 可以是域名,也可以是ip地址.用来拼接memo的访问地址

QQ_WEBHOOK_URL为你使用的QQ机器人的API地址,需要自行部署,或者使用公共服务 使用gocqhttp的API接口

端点地址/send_private_msgQQ_USER_ID为你接收消息的QQ号码.

端点/send_group_msg时,QQ_USER_ID为你接收消息的QQ群号码.

@jkjoy jkjoy added the 日常 label Oct 18, 2024
@jkjoy jkjoy changed the title 这个不是很好用 为moments增加一个评论通知 Oct 18, 2024
@jkjoy jkjoy added 分享 and removed 日常 labels Oct 18, 2024
Copy link
Owner Author

jkjoy commented Oct 18, 2024

hoho~

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