I am creating a fully automated, free "GeoHistory & World Ge...
Prompt
I am creating a fully automated, free "GeoHistory & World Geopolitics" web app hosted on Vercel. I need you to write the exact backend script and setup instructions for automated daily content updates. Requirements: 1. GitHub Actions Workflow (.github/workflows/daily-update.yml): - A script that runs automatically every 24 hours at 00:00 UTC. - Uses Node.js / Python to fetch current global news using free RSS feeds or free Google Gemini API / Groq API. 2. AI Daily Content Generator: - Write a prompt template that generates 1 new "Geopolitical Scenario Puzzle" every day based on real-world events. - Saves the generated daily JSON data into a public JSON file or Supabase Free Database. 3. Client-side Fetching: - Show how my React frontend can dynamically fetch this daily updated JSON file so the website stays refreshed without me manually adding content. Provide step-by-step instructions, the GitHub Action YAML file code, and the content generation script.
A system prompt was added to support web rendering