📦 GOG Dormant Game Sweep — GOG 闷声游戏清理
v1.0.1扫描GOG游戏库中30+天未玩的已安装游戏,通过himalaya发送总结报告,并在Apple Reminders的Gaming列表中添加每个游戏的提醒。
运行时依赖
安装命令
点击复制技能文档
GOG 闲置游戏清理自动化工作流:查找最近未玩的安装的 GOG 游戏 → 发送电子邮件报告 → 添加 Apple Reminders。快速开始 python3 scripts/sweep.py --library config/gog_library.json --email john.doe@example.com 脚本:scripts/sweep.py 参数 标志 默认值 描述 --library config/gog_library.json GOG 库 JSON 文件路径 --days 30 闲置阈值(天) --email None 收件人电子邮件(除非 --no-email) --himalaya-account personal 发送 Himalaya 账户 --reminders-list Gaming Apple Reminders 列表名称 --no-email false 跳过电子邮件 --no-reminders false 跳过提醒 --dry-run false 只打印报告,不执行任何操作 库 JSON 格式 预期与 config/gog_library.json 相同的 schema:一个包含 games 数组的对象,其中每个游戏具有 name、installed(bool)、last_played(ISO 8601 或 null)和 install_path。 工作流 解析库 JSON → 过滤 installed:true 游戏,last_played older than --days(或 null/never) 组装电子邮件正文,包含游戏列表,并通过 himalaya message 发送 对于每个闲置游戏,运行 remindctl add --title "考虑卸载:" --list 示例 完整运行所有选项: python3 scripts/sweep.py \ --library config/gog_library.json \ --days 30 \ --email john.doe@example.com \ --himalaya-account personal \ --reminders-list Gaming 预览运行: python3 scripts/sweep.py --dry-run --days 60