Daily AI News & Trends — fully automated pipeline that scrapes, translates, designs, and posts AI news cards to two Facebook pages (English & Bangla) every 3 hours.
This project automatically runs 8 times a day via GitHub Actions. Each run:
- Scrapes the latest AI news from 30+ RSS feeds (TechCrunch, The Verge, OpenAI, DeepMind, arXiv, and more)
- Fetches a relevant photo from Unsplash based on the article topic
- Generates a branded English 1080×1080 image card (headline + Unsplash photo) using Python Pillow
- Posts the English card to the Orchestrator Pulse (English) Facebook page
- Translates the headline and summary into Bangla using the Groq API (LLaMA 3.3 70B)
- Generates a Bangla-language image card using the same Unsplash photo — no second API call
- Posts the Bangla card to the Orchestrator Pulse (Bangla) Facebook page
No manual work required after setup.
git clone https://github.com/YOUR_USERNAME/orchestrator-pulse.git
cd orchestrator-pulsepip install requests feedparser Pillow python-dotenv groqDownload and place these fonts in assets/:
English page PAGE_ID=your_english_facebook_page_id PAGE_ACCESS_TOKEN=your_english_page_access_token Bangla page BANGLA_PAGE_ID=your_bangla_facebook_page_id BANGLA_PAGE_ACCESS_TOKEN=your_bangla_page_access_token Meta App credentials APP_ID=your_meta_app_id APP_SECRET=your_meta_app_secret Groq API (for Bangla translation) GROQ_API_KEY=your_groq_api_key