macOS 原生零云端·apple-calendar + imessage + timer + macosnotify·免公网 IP
零第三方云密钥:用 macOS 原生 Apple 日历与 iMessage 打造个人每日早报
核心原理与安全边界
在 Mac 上做个人早报不需要折腾复杂的云端 OAuth。TagTag 在遵循 macOS TCC 隐私授权的前提下本地读取 Apple 日历与 iMessage,并内置防回写路由机制确保消息准确送达桌面通知或 Telegram。
推荐本机引擎
Claude Code CLI (`claude`) or Codex CLI (`codex`)
Go 层权限锁
日历与 iMessage:只读 · macosnotify:纯本机桌面提醒
从模型剥离的密钥前缀
TELEGRAM_*
群聊真实交互画面
TagTag Timer
08:30 定时触发 → 已拉取今日 4 条 Apple 日历日程与 2 条未回复 iMessage
@brief-bot (Codex)
今日简报:10:00 设计评审,14:30 架构同步;另有 2 条待回复重要短信已列出摘要。
配置步骤
1. 配置零密钥本机 macOS 连接器
仅在启用 iMessage 采集时按需授予 macOS 系统权限,所有数据留在本地硬盘。
2. 随时用 /schedule 暂停或调整早报时间
周末不想被打扰?零 Token 敲一句 `/schedule pause morning-brief` 即可暂停。
脱敏配置模板与零 Token 验通
connectors.json (zero secrets embedded)
[
{
"id": "apple-calendar:main",
"type": "apple-calendar",
"enabled": true,
"bot_id": "brief-bot",
"access": "readonly",
"default_target": "macosnotify:desktop",
"env_keys": [],
"config": { "lookahead_hours": 24 }
},
{
"id": "macosnotify:desktop",
"type": "macosnotify",
"enabled": true,
"bot_id": "brief-bot",
"access": "send",
"env_keys": [],
"config": { "title": "TagTag Morning Brief" }
}
]零 Token 验通命令
tagtag connector poll --data-dir "$TAGTAG_HOME" --dry-run --json apple-calendar:main