[推送配置] section of config/config.ini, then set 直播状态推送渠道 to the corresponding channel name.
See the notifications overview for how to enable channels and configure shared options.
WeChat — 微信 (XiZhi)
WeChat — 微信 (XiZhi)
Sends WeChat push notifications via the XiZhi single-push webhook service (息知).Function signature (The function POSTs
How to get your webhook URL:
msg_push.py):{"title": ..., "content": ...} as JSON to each URL in url and checks that the response code equals 200.Required config fields:| Field | Description |
|---|---|
微信推送接口链接 | One or more XiZhi webhook URLs, comma-separated |
- Register at xizhi.qqoq.net and log in.
- Go to Admin → Single push (单点推送).
- Copy the URL in the form
https://xizhi.qqoq.net/xxxxxxxxx.send.
DingTalk — 钉钉
DingTalk — 钉钉
Sends messages to a DingTalk group via a custom robot webhook.Function signature (The function POSTs a
How to get your webhook URL:
msg_push.py):text message type to each webhook URL. When number is provided, the specified phone number is @mentioned. When is_atall is True, all group members are @mentioned.Required config fields:| Field | Description |
|---|---|
钉钉推送接口链接 | One or more DingTalk robot webhook URLs, comma-separated |
钉钉通知@对象(填手机号) | Mobile number to @mention (optional) |
钉钉通知@全体(是/否) | Set to 是 to @mention all members (optional, default 否) |
- Open a DingTalk group and go to Group Settings → Bots → Add Bot.
- Choose Custom and follow the setup wizard.
- Copy the generated webhook URL (format:
https://oapi.dingtalk.com/robot/send?access_token=...). - Refer to the DingTalk custom robot documentation for security settings.
Email — 邮箱
Email — 邮箱
Sends notifications via SMTP email, with optional SSL/TLS encryption.Function signature (When
Example config (QQ Mail with SSL):
msg_push.py):open_ssl is True, the function uses smtplib.SMTP_SSL (default port 465). When False, it uses plain smtplib.SMTP (default port 25).Required config fields:| Field | Description |
|---|---|
smtp邮件服务器 | SMTP server hostname (e.g. smtp.qq.com) |
是否使用SMTP服务SSL加密(是/否) | 是 for SSL (port 465), 否 for plain SMTP (port 25) |
SMTP邮件服务器端口 | Override the default port (optional) |
邮箱登录账号 | Email address used to authenticate with the SMTP server |
发件人密码(授权码) | SMTP password or app authorization code |
发件人邮箱 | From address in the sent email |
发件人显示昵称 | Display name shown as the sender |
收件人邮箱 | One or more recipient addresses, comma-separated |
Most providers (QQ, 163, Gmail) require an authorization code rather than your account password. Enable SMTP access and generate an authorization code in your email provider’s account settings.
Telegram — TG
Telegram — TG
Sends messages via a Telegram Bot using the Bot API.Function signature (The function calls
How to get your credentials:
msg_push.py):https://api.telegram.org/bot{token}/sendMessage with chat_id and text as the JSON body.Required config fields:| Field | Description |
|---|---|
tgapi令牌 | Bot token obtained from BotFather |
tg聊天id(个人或者群组id) | Your personal chat ID or a group chat ID |
- Bot token: Search for
@BotFatherin Telegram, send/newbot, follow the prompts, and copy the token provided. - Chat ID: Search for
@userinfobotin Telegram and send/start. It will reply with your numeric chat ID. For a group, add the bot to the group and use the group’s negative numeric ID.
BARK
BARK
Sends push notifications to an iPhone via the Bark app.Function signature (The function POSTs a JSON payload to each URL in
Interruption levels:
How to get your Bark URL:
msg_push.py):api and checks that the response code equals 200.Required config fields:| Field | Description |
|---|---|
bark推送接口链接 | One or more Bark push URLs including your device key, comma-separated |
bark推送中断级别 | Notification interruption level: active, timeSensitive, or passive (default: active) |
bark推送铃声 | Notification sound name (optional, leave empty for the default sound) |
| Level | Behavior |
|---|---|
active | Standard notification (default) |
timeSensitive | Time-sensitive notification, can break through Focus mode |
passive | Delivered silently to the notification center only |
- Install the Bark app on your iPhone.
- Open the app — your push URL is displayed on the home screen (e.g.
https://api.day.app/your_device_key/). - You can also self-host the Bark server; replace the domain with your own.
NTFY
NTFY
Sends push notifications via ntfy, an open-source pub/sub push notification service that can be self-hosted.Function signature (The function splits each API URL into a server base and a topic name (the last path segment), then POSTs a JSON payload to the server. When
How to set up ntfy:
msg_push.py):action_url is set, a View live action button is included pointing to the stream URL.Required config fields:| Field | Description |
|---|---|
ntfy推送地址 | Full ntfy topic URL, e.g. https://ntfy.sh/your_topic |
ntfy推送标签 | Comma-separated emoji tags shown on the notification (default: tada) |
ntfy推送邮箱 | Email address for ntfy to forward notifications to (optional) |
- Hosted: Use
https://ntfy.sh/your_unique_topic. Choose a hard-to-guess topic name since anyone who knows the topic URL can subscribe. - Self-hosted: Deploy the ntfy server and use your own domain:
https://ntfy.example.com/your_topic. - Subscribe to the topic in the ntfy app (Android / iOS / web) to receive notifications.
PushPlus
PushPlus
Sends push notifications via PushPlus, a Chinese push service that delivers messages to WeChat and other channels.Function signature (The function POSTs
How to get your PushPlus token:
msg_push.py):{"token": ..., "title": ..., "content": ...} to https://www.pushplus.plus/send for each token and checks that the response code equals 200.Required config fields:| Field | Description |
|---|---|
pushplus推送token | One or more PushPlus tokens, comma-separated |
- Visit pushplus.plus and log in with WeChat.
- Your token is displayed on the dashboard home page.
- Copy the token string.
PushPlus delivers messages to your WeChat account by default. The free tier has a daily send limit. See the PushPlus API documentation for rate limits and additional channel options.
