Componenten
- WordPress + Plugin (port 8090) – Frontend & admin interface
- Research Service (port 3100) – Node.js backend voor scraping & AI
- Ollama (port 11434) – Lokale LLM voor categorisatie
- Claude API – Extern, voor artikel herschrijving
Workflow
- FETCH FEEDS
User klikt “Fetch” → Plugin haalt RSS/Atom feeds op → Nieuwe artikelen opgeslagen met status ‘pending’ 2a. REWRITE (Simple Mode)
Plugin → Claude API → POST naar Anthropic met prompt + originele content → Response parsed (TITEL/EXCERPT/ARTIKEL) → Status ‘ready_for_review’ 2b. REWRITE (Research Mode)
Plugin → Research Service (POST /research) → SERP API zoekt bronnen → Puppeteer scraped top 5 URLs → Ollama analyseert → Plugin → Claude API (met research context) → Status
‘ready_for_review’ - CATEGORISATIE (automatisch)
Plugin → Research Service (POST /categorize) → Ollama bepaalt categorie + confidence score → Opgeslagen bij artikel - REVIEW & PUBLISH
User reviewt in admin → Edit/Approve/Reject → Bij Approve: bronvermelding toegevoegd → WordPress post aangemaakt → Status ‘published’
API Calls
- Plugin → Research Service POST /research – Volledige research pipeline
- Plugin → Research Service POST /categorize – AI categorisatie
- Plugin → Research Service POST /fetch – URL scrapen
- Plugin → Claude API POST /messages – Artikel herschrijven
- Research Service → Ollama POST /api/generate – Lokale LLM taken
- Research Service → SERP API GET /search – Google zoekresultaten
API Calls
| Van | Naar | Endpoint | Doel |
|---|---|---|---|
| Plugin | Research Service | POST /research | Volledige research pipeline |
| Plugin | Research Service | POST /categorize | AI categorisatie |
| Plugin | Research Service | POST /fetch | URL scrapen |
| Plugin | Claude API | POST /messages | Artikel herschrijven |
| Research Service | Ollama | POST /api/generate | Lokale LLM taken |
| Research Service | SERP API | GET /search | Google zoekresultaten |