# The Lounge接入 Server酱：Web IRC 通知推送到微信（2026 教程）

> 通过 thelounge-plugin-apprise-push 插件，将 The Lounge 的通知推送到微信，只需配置 schan:// 协议的 Apprise URL 即可。

- 网页版：https://sct.ftqq.com/docs/integrations/the-lounge/
- 更新日期：2026-07-17

# The Lounge + Server酱：Web IRC 通知推送到微信

> 效果：The Lounge 收到通知时，自动推送到微信

## 前置条件

- 获取 Server酱 SendKey（[30 秒获取教程](https://sct.ftqq.com/docs/getting-started/sendkey/)），需为 `SCT` 开头的 Turbo 版 SendKey
- 已部署 The Lounge 并安装 `thelounge-plugin-apprise-push` 插件

## 配置步骤

1. 在 The Lounge 的插件配置中，填入以下 Apprise URL：
   ```text
   schan://你的SENDKEY
   ```
2. 保存配置后，插件会通过 `schan://` 协议调用 `https://sctapi.ftqq.com/你的SENDKEY.send`，将消息推送到微信。
3. 如需推送到企业微信、钉钉或飞书群，可参考[通道配置](https://sct.ftqq.com/docs/getting-started/channels/)。

## 完整示例

安装 Apprise 命令行工具进行自测，确认 Server酱连通性：

```bash
pip install apprise
apprise -t "测试标题" -b "测试正文" "schan://你的SENDKEY"
```

## 常见问题

**免费额度是多少？**
免费用户每天可发送 5 条消息，订阅会员目前特价最低 3 元/月，一天最多可发 1000 条（[价格详情](https://sct.ftqq.com/subscribe)）。

**消息没收到怎么排查？**
先确认命令行自测能否收到，再检查插件是否正常触发。更多排查步骤见[常见问题与排查](https://sct.ftqq.com/docs/getting-started/faq/)。

**发送频率有什么限制？**
API 每分钟上限为 50 次，会员每日 API 请求上限为 1000 次。

**sctp 开头的 SendKey 能用吗？**
`schan://` 协议目前对接 Server酱Turbo，仅支持 `SCT` 开头的 SendKey。`sctp` 开头的 SendKey 需参考 [/integrations/apprise/] 中的通用 Apprise 接法自行适配。

## 相关集成

- [Uptime Kuma 接入 Server酱](https://sct.ftqq.com/docs/integrations/uptime-kuma/)
- [青龙面板接入 Server酱](https://sct.ftqq.com/docs/integrations/qinglong/)
- [Python 脚本接入 Server酱](https://sct.ftqq.com/docs/integrations/python/)


## 懒人方案：把这段话复制给你的 AI 助手

把下面这段文字原样粘贴给 Claude Code、Cursor 或任何 AI 编程助手，它就会替你完成 Server酱 的接入：

```text
请帮我把 Server酱 微信通知接入到我当前的项目/工具中：
1. API：POST https://sctapi.ftqq.com/{SendKey}.send，参数 title（必填，不能含换行）、desp（正文，支持 Markdown，可选）；成功时返回 JSON 的 code 为 0。
2. 如果我的 SendKey 以 sctp 开头，则改用 https://{uid}.push.ft07.com/send/{SendKey}.send，uid 是 SendKey 中 sctp 与 t 之间的数字。
3. SendKey 从环境变量 SERVERCHAN_SENDKEY 读取；如果没有，提醒我到 https://sct.ftqq.com 免费获取（每天 5 条额度）。
4. 安全要求：不要把 SendKey 硬编码进代码、不要打印到日志、不要提交到 git。
5. 频率约定：任务结束发 1 条结果摘要即可，批量任务合并成一条，不要每步都推。
请根据我当前的项目和场景直接写好代码/配置并验证。
```

