Skip to the content.

🇻🇳 Tiếng Việt

← Home · Installation · Architecture · First Agent · Google · Browser · Cron · Multi-Agent · Profiles · Models · Memory · Ops

Recipe: Content Digest (Reddit + YouTube)

Automated daily digest of Reddit posts and YouTube videos, translated and summarized.

Architecture

Cron trigger → Agent runs script → Script fetches content →
Agent translates/summarizes → Upload to Google Drive → Send Telegram summary

Reddit Digest

Script Structure

~/.openclaw/common-scripts/reddit/
├── digest-workflow.sh           # Orchestrator
├── generate-detailed-digest.js  # Fetch + format to markdown
└── (node_modules via shared .venv)

Cron Job

{
  "id": "reddit-digest",
  "agentId": "personal",
  "schedule": { "kind": "cron", "expr": "0 10 * * *", "tz": "Your/Timezone" },
  "payload": {
    "kind": "agentTurn",
    "message": "Run Reddit digest:\n1. Execute: bash ~/.openclaw/common-scripts/reddit/digest-workflow.sh ~/.openclaw/workspace-personal reddit\n2. Read the generated markdown\n3. Translate headlines and summarize each post\n4. Re-upload to Google Drive\n5. Send Telegram with Doc link + top trends",
    "timeoutSeconds": 900
  },
  "delivery": { "mode": "announce", "channel": "telegram", "to": "YOUR_ID", "bestEffort": true }
}

Rate Limiting

YouTube Digest

Transcript Pipeline

yt-dlp (list videos) → youtube-transcript-api (subtitles) → MLX Whisper (fallback)

Tips