binwiederhier/ntfy

GitHub: binwiederhier/ntfy

基于 HTTP 的轻量级 pub-sub 推送通知服务,无需注册即可通过简单脚本向手机和桌面发送通知。

Stars: 29326 | Forks: 1207

Special thanks to:

Warp sponsorship # ntfy.sh | 通过 PUT/POST 向您的手机或桌面发送推送通知 [![Release](https://img.shields.io/github/release/binwiederhier/ntfy.svg?color=success&style=flat-square)](https://github.com/binwiederhier/ntfy/releases/latest) [![Go Reference](https://pkg.go.dev/badge/heckel.io/ntfy.svg)](https://pkg.go.dev/heckel.io/ntfy/v2) [![Tests](https://static.pigsec.cn/wp-content/uploads/repos/2026/03/d72ac65f6d140019.svg)](https://github.com/binwiederhier/ntfy/actions) [![Go Report Card](https://goreportcard.com/badge/github.com/binwiederhier/ntfy)](https://goreportcard.com/report/github.com/binwiederhier/ntfy) [![codecov](https://codecov.io/gh/binwiederhier/ntfy/branch/main/graph/badge.svg?token=A597KQ463G)](https://codecov.io/gh/binwiederhier/ntfy) [![Discord](https://img.shields.io/discord/874398661709295626?label=Discord)](https://discord.gg/cT7ECsZj9w) [![Matrix](https://img.shields.io/matrix/ntfy:matrix.org?label=Matrix)](https://matrix.to/#/#ntfy:matrix.org) [![Matrix space](https://img.shields.io/matrix/ntfy-space:matrix.org?label=Matrix+space)](https://matrix.to/#/#ntfy-space:matrix.org) [![Healthcheck](https://healthchecks.io/badge/68b65976-b3b0-4102-aec9-980921/kcoEgrLY.svg)](https://ntfy.statuspage.io/) [![Gitpod](https://img.shields.io/badge/Contribute%20with-Gitpod-908a85?logo=gitpod)](https://gitpod.io/#https://github.com/binwiederhier/ntfy) **ntfy**(发音为 "*notify*")是一个简单的基于 HTTP 的 [pub-sub](https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern) 通知服务。使用 ntfy,您可以从任何计算机**通过脚本向您的手机或桌面发送通知**, **无需注册或支付任何费用**。如果您想运行自己的服务实例,由于 ntfy 是开源的,您可以轻松实现。 您可以在 **[ntfy.sh](https://ntfy.sh)** 访问免费版的 ntfy。[Google Play](https://play.google.com/store/apps/details?id=io.heckel.ntfy) 或 [F-Droid](https://f-droid.org/en/packages/io.heckel.ntfy/) 上也提供了一款 [开源 Android 应用](https://github.com/binwiederhier/ntfy-android), 以及一款可在 [App Store](https://apps.apple.com/us/app/ntfy/id1625396347) 下载的 [开源 iOS 应用](https://github.com/binwiederhier/ntfy-ios)。

## **[文档](https://ntfy.sh/docs/)** [入门指南](https://ntfy.sh/docs/) | [Android/iOS](https://ntfy.sh/docs/subscribe/phone/) | [API](https://ntfy.sh/docs/publish/) | [安装 / 自托管](https://ntfy.sh/docs/install/) | [构建](https://ntfy.sh/docs/develop/) ## 聊天/论坛 有几种方式可以联系我和/或其他社区成员。随意使用任何一种方法。哪种 最适合您: * [Discord 服务器](https://discord.gg/cT7ECsZj9w) - 与社区直接聊天 * [Matrix 房间 #ntfy](https://matrix.to/#/#ntfy:matrix.org)(+ [Matrix 空间](https://matrix.to/#/#ntfy-space:matrix.org))- 同样的聊天内容,从 Discord 桥接而来 * [GitHub issues](https://github.com/binwiederhier/ntfy/issues) - 问题、功能、Bug ## 公告/测试人员 如需获取新版本和前沿 Beta 版本的公告,请订阅 [ntfy.sh/announcements](https://ntfy.sh/announcements) 主题。如果您想测试 iOS 应用,请加入 [TestFlight](https://testflight.apple.com/join/P1fFnAm9)。对于 Android Beta 版本, 加入 Discord/Matrix(我最终会在 Google Play 中建立一个测试渠道)。 ## 行为准则 我们作为成员、贡献者和领导者承诺,让每个人参与我们的社区都成为一种无骚扰的体验, 无论年龄、体型、可见或不可见的残疾、种族、性征、性别认同和表达、经验水平、教育程度、社会经济地位、国籍、个人外貌、种族、种姓、 肤色、宗教或性取向如何。 **我们承诺以有助于建立开放、欢迎、多元、包容和健康社区的方式行事和互动。** _请务必阅读完整的[行为准则](CODE_OF_CONDUCT.md)。_ ## 许可证 由 [Philipp C. Heckel](https://heckel.io) 用 ❤️ 制作。 该项目在 [Apache License 2.0](LICENSE) 和 [GPLv2 License](LICENSE.GPLv2) 下双重许可。 第三方库和资源: * [github.com/urfave/cli](https://github.com/urfave/cli) (MIT) 用于驱动 CLI * [Mixkit sounds](https://mixkit.co/free-sound-effects/notification/) (Mixkit Free License) 用作通知声音 * [Sounds from notificationsounds.com](https://notificationsounds.com) (Creative Commons Attribution) 用作通知声音 * [Roboto Font](https://fonts.google.com/specimen/Roboto) (Apache 2.0) 用作所有 Web 内容的字体 * [React](https://reactjs.org/) (MIT) 用于 Web 应用 * [Material UI components](https://mui.com/) (MIT) 用于 Web 应用 * [MUI dashboard template](https://github.com/mui/material-ui/tree/master/docs/data/material/getting-started/templates/dashboard) (MIT) 曾作为 Web 应用的基础 * [Dexie.js](https://github.com/dexie/Dexie.js) (Apache 2.0) 用于 IndexedDB 中的 Web 应用持久化 * [GoReleaser](https://goreleaser.com/) (MIT) 用于创建发布版本 * [go-smtp](https://github.com/emersion/go-smtp) (MIT) 用于接收电子邮件 * [stretchr/testify](https://github.com/stretchr/testify) (MIT) 用于单元和集成测试 * [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) (MIT) 用于提供持久化消息缓存 * [Firebase Admin SDK](https://github.com/firebase/firebase-admin-go) (Apache 2.0) 用于发送 FCM 消息 * [github/gemoji](https://github.com/github/gemoji) (MIT) 用于 emoji 支持(特别是 [emoji.json](https://raw.githubusercontent.com/github/gemoji/master/db/emoji.json) 文件) * [Lightbox with vanilla JS](https://yossiabramov.com/blog/vanilla-js-lightbox) 用作着陆页上的 lightbox * [HTTP middleware for gzip compression](https://gist.github.com/CJEnright/bc2d8b8dc0c1389a9feeddb110f822d7) (MIT) 用于提供静态文件服务 * [Regex for auto-linking](https://github.com/bryanwoods/autolink-js) (MIT) 用于高亮链接(该库未被使用) * [Statically linking go-sqlite3](https://www.arp242.net/static-go.html) * [Linked tabs in mkdocs](https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/#linked-tabs) * [webpush-go](https://github.com/SherClockHolmes/webpush-go) (MIT) 用于发送 Web 推送通知 * [Sprig](https://github.com/Masterminds/sprig) (MIT) 用于添加模板解析函数
标签:EVTX分析, Go, ntfy, ntfy.sh, POST, Pub-Sub, PUT, REST API, Ruby工具, Serverless, Webhook, 力导向图, 发布订阅, 实时消息, 开源, 手机通知, 推送通知, 日志审计, 桌面通知, 消息推送, 网络信息收集, 脚本自动化, 自托管, 通知服务