Pipeline Architecture
RSS Feeds + Google News + Hacker News
↓
Content Ingestion (100+ candidates)
↓
Viral Scoring Engine (relevance + tech keywords)
↓
"King" Selection (highest scored article)
↓
LLM Post Assembly (Gemini Pro/Flash)
↓
Visual Generation (Multi-provider cascade)
↓
LinkedIn API Publishing
Key Technical Decisions
Content Discovery
- RSS Feeds: Curated feeds from OpenAI, Anthropic, Cloudflare blogs
- Google News: Broad industry discovery layer
- Hacker News: Top 50 trending developer stories
Viral Scoring
- Priority boosts for major AI breakthroughs and version releases
- Developer guardrails rejecting consumer tech noise
- Expert source weighting for high-signal domains
Visual Generation
- Provider Cascade: Gemini Imagen → Pollinations.ai → Local PIL fallback
- 7 Dynamic Layouts: Center, Split, Border, Corner, Full Overlay
- Thematic Mapping: Content-aware visual selection (AWS → Shield, AI → Network)
Safety & Quality
- Strict "Observer" voice enforcement (They/Them, no corporate "We/Us")
- Auto-appended source links and hashtags
- Dry-run mode for testing without API calls
Tech Stack
| Layer | Technology |
|---|---|
| Backend | Django 5.x |
| Task Queue | Celery + Redis |
| AI/LLM | Google Gemini (Pro/Flash) |
| Visuals | Gemini Imagen, Pollinations.ai, PIL |
| Publishing | LinkedIn Official API |
| DevOps | Docker, Docker Compose |