建议在 Bark / Gotify 渠道说明中补充「鸿蒙设备接收」方案
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 28.1k
- Forks
- 3.4k
- Avg merge
- 3h 12m
- Merged PRs (30d)
- 1
Description
2026-08-25 更新:Hotify 已发布配套的自托管推送服务器(开源,单二进制 / Docker,兼容 bark / gotify / ntfy 协议),接入比下方旧方案更简单——旧方案为当时的过渡架构,划线保留备查,新方案见文末。
SmsForwarder 的 Bark / Gotify 渠道目前接收端以 iOS / 安卓为主,使用鸿蒙设备的用户缺少接收指引。
有个方案可补充:Hotify——HarmonyOS 原生推送接收 App(华为应用市场:https://appgallery.huawei.com/app/detail?id=com.smgwy.hotify ),配合服务端支持两种接入:
① Bark 渠道(仅锁屏,零部署):从 Hotify App 复制 Bark 地址,粘贴到 Bark 渠道的「服务器地址」栏,装 App 即可接收短信/通知到鸿蒙锁屏。
② Gotify 渠道(带消息历史,自建):照常部署 Gotify(SmsForwarder Gotify 渠道填它的地址),再跑一个 hotify-bridge(开源,订阅 Gotify 消息流、转发华为 Push Kit),鸿蒙装 Hotify App 即可接收并保留消息历史。
建议在 Bark 章节和 Gotify 章节各补一条(草稿):
【Bark 章节】
~~- PS. 鸿蒙设备接收(仅锁屏,零部署):从 Hotify App 复制 Bark 地址,粘贴到 Bark 渠道的「服务器地址」栏,装 App 即可接收短信/通知到鸿蒙锁屏,无需自建服务端。需要消息历史/自托管可进阶用 Gotify 渠道 + hotify-bridge(见下)。Hotify:https://appgallery.huawei.com/app/detail?id=com.smgwy.hotify ~~
【Gotify 章节】
~~- PS. 鸿蒙设备接收(带消息历史/自托管):Gotify 官方手机端仅安卓。鸿蒙设备可装 Hotify App(华为应用市场),配合自建的 hotify-bridge(开源,订阅 Gotify 消息流、转发华为 Push Kit),即可接收并保留消息历史。部署见:https://gitee.com/sakura-lolipop/hotify-bridge ~~
新方案(一层直连,无需 bridge):
- Bark 渠道:服务器地址直接填自建的 Hotify 服务器(bark URL 1:1 兼容,
/{key}/路径 / query / JSON 全支持),key 填目标设备的 uuid(定向到该鸿蒙设备)或全局 key1(广播全部设备)。 - Gotify 渠道:同样直接填 Hotify 服务器(
POST /message端点 1:1 兼容,token 认可 query / header / Bearer 三种姿势),不再需要「自建 Gotify + 转发桥」两层——Hotify 本身就是 gotify 协议服务端,现有 gotify 客户端(Android / 桌面)也可直连收消息。 - 鸿蒙端:装 Hotify App(华为应用市场)即可——锁屏走华为 Push Kit 系统推送,在线走 WebSocket 实时,消息历史保留。
- 另入站还兼容 ntfy 协议(
PUT /ntfy/{topic}),SmsForwarder 之外用 ntfy 发送的工具也能直接指向。
服务器部署(Docker 一键脚本 / Windows 单 exe / 6 平台二进制,国内镜像直连):https://github.com/sakura-lolipop/HotifyNEXT-Server-Release (Gitee 同步发布)
如措辞需调整请告知,希望能为鸿蒙用户提供接收指引。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the Bark and Gotify documentation sections in the repository and compare them with the current Hotify details in the issue. Update the guidance to describe direct Hotify server use and the HarmonyOS receiving flow, while checking that the older bridge-based wording is not presented as the current approach.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, docker
- Domain
- documentation, mobile-dev
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100