惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News
P
Privacy International News Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Threatpost
GbyAI
GbyAI
V
Visual Studio Blog
H
Help Net Security
Vercel News
Vercel News
P
Palo Alto Networks Blog
Project Zero
Project Zero
AWS News Blog
AWS News Blog
Latest news
Latest news
Cyberwarzone
Cyberwarzone
C
Cybersecurity and Infrastructure Security Agency CISA
The Register - Security
The Register - Security
博客园_首页
WordPress大学
WordPress大学
G
GRAHAM CLULEY
T
Tor Project blog
有赞技术团队
有赞技术团队
Know Your Adversary
Know Your Adversary
AI
AI
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
O
OpenAI News
博客园 - 聂微东
月光博客
月光博客
S
Security Affairs
Webroot Blog
Webroot Blog
L
LangChain Blog
Apple Machine Learning Research
Apple Machine Learning Research
NISL@THU
NISL@THU
N
News and Events Feed by Topic
Blog — PlanetScale
Blog — PlanetScale
S
Securelist
V
Vulnerabilities – Threatpost
aimingoo的专栏
aimingoo的专栏
阮一峰的网络日志
阮一峰的网络日志
Stack Overflow Blog
Stack Overflow Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
D
DataBreaches.Net
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Y
Y Combinator Blog
Cisco Talos Blog
Cisco Talos Blog
The Cloudflare Blog
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
雷峰网
雷峰网
L
Lohrmann on Cybersecurity
T
The Blog of Author Tim Ferriss

Halo - 强大易用的开源建站工具 | 应用市场

氢·简 文章组件 Floating Particles Huohuo Weather Glass Vahlok AstraHub 星链 全局私密 业余无线电 QSL卡片管理系统 微信读书(WeRead)信息展示 自定义社交分享卡片 Halorum 文章加密 KMath 轻言 Navidrome 播放器 家庭私厨 页面转换器 Sky Blog 3(macOS) 在线显示 邀请码注册 安全跳转助手 日程日历 Cartly 商城主题
Bark 推送
2026-05-15 · via Halo - 强大易用的开源建站工具 | 应用市场

🎉 介绍

一个 Halo 博客系统插件,用于将博客评论和用户注册事件推送到 iOS 设备。

页面配置

页面配置

效果展示

🏗️ 技术架构

后端组件

  • BarkService: 核心服务类,负责处理 Bark 推送逻辑
  • CommentReconciler: 评论监听器,检测新评论并触发通知
  • RegisterReconciler: 用户注册监听器,检测新用户并触发通知
  • BarkEndpoint: API 接口,提供推送测试功能

前端技术栈

  • Vue 3 + TypeScript
  • Rsbuild 构建工具
  • Element Plus UI 组件库

工作流程

  1. 插件监听 Halo 系统中的评论和用户注册事件
  2. 当事件发生时,检查是否已处理过该事件(避免重复通知)
  3. 根据用户配置生成 Bark 推送请求
  4. 向指定的 Bark 服务器发送 HTTP 请求
  5. 用户 iOS 设备接收到推送通知

📱 Bark 应用使用

  1. 在 IOS App Store 下载并安装 Bark
  2. 打开应用获取设备 Key
  3. 将设备 Key 填入插件配置中
  4. 可选:部署自己的 Bark 服务器以获得更好的隐私保护

🤝 贡献指南

欢迎提交 Issue 和 Pull Request 来改进这个插件:

  1. Fork 本仓库
  2. 创建特性分支 (git checkout -b feature/AmazingFeature)
  3. 提交更改 (git commit -m 'Add some AmazingFeature')
  4. 推送到分支 (git push origin feature/AmazingFeature)
  5. 开启 Pull Request

📄 许可证

本项目采用 GPL-3.0 许可证 - 查看 LICENSE 文件了解详情

👨‍💻 作者

🙏 致谢

  • Halo - 优秀的开源博客系统
  • Bark - 强大的 iOS 推送服务
  • 所有为这个项目做出贡献的开发者们

如果这个项目对您有帮助,请考虑给它一个 ⭐️ Star!