← 返回
未分类 中文

GOG Stale Game Cleanup

Find installed GOG games not played in 30+ days, email a report, and add reminders to Apple Reminders Gaming list. Use when user wants to clean up unused GOG...
查找已安装但30天以上未玩的GOG游戏,发送邮件报告并加入Apple提醒的“游戏”列表,适用于清理闲置GOG游戏。
terrycarter1985
未分类 clawhub v1.0.0 1 版本 99621.2 Key: 无需
★ 0
Stars
📥 263
下载
💾 0
安装
1
版本
#latest

概述

GOG Stale Game Cleanup

Automated workflow to identify installed GOG games that haven't been played recently, notify via email, and create Apple Reminders for each stale game.

Prerequisites

  • GOG library JSON file (see gog_library.json in config)
  • himalaya CLI configured for email sending
  • remindctl CLI for Apple Reminders (macOS)
  • python3 for JSON parsing

Workflow

  1. Run scripts/stale_games.sh with required environment variables
  2. Script identifies installed games with last_played older than 30 days (or never played)
  3. Sends an email report to the configured address
  4. Adds a "Consider uninstalling: " reminder to the Gaming list

Usage

GOG_LIBRARY=/path/to/gog_library.json \
EMAIL_TO=user@example.com \
EMAIL_ACCOUNT=personal \
REMINDERS_LIST=Gaming \
bash scripts/stale_games.sh

Environment Variables

VariableRequiredDefaultDescription
------------
GOG_LIBRARYYesPath to GOG library JSON
EMAIL_TOYesRecipient email address
EMAIL_ACCOUNTNopersonalHimalaya account name
REMINDERS_LISTNoGamingApple Reminders list name
STALE_DAYSNo30Days threshold for stale
DRY_RUNNofalsePreview without sending

Scheduling

To run weekly via cron:

# Add to crontab or use OpenClaw cron
0 10 * * 1 GOG_LIBRARY=... EMAIL_TO=... bash /path/to/scripts/stale_games.sh

Output

  • Email: Formatted report listing each stale game with last-played date and install path
  • Reminders: One reminder per stale game titled "Consider uninstalling: " in the Gaming list
  • Console: Summary of findings and action confirmations

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 03:25 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Stock Price Alert

terrycarter1985
股价异动实时提醒,支持行情接口、邮件和Sonos语音播报
★ 0 📥 691

Stock Alert Workflow

terrycarter1985
使用 Yahoo Finance 数据分析股票和加密货币,支持投资组合管理(创建、添加、移除资产),以及按市值排名前 20 的加密货币分析。
★ 0 📥 582

Python Support

terrycarter1985
OpenClaw代理的Python语言支持,提供环境配置、依赖管理、代码检查、测试及Python代码执行最佳实践。
★ 0 📥 669