Nour Articles · 6 min read
Technology & roadmap: what powers Nour, and where it's going
Nour is built on a simple principle: a small amount of modern, disciplined technology beats a large amount of scattered technology. This article opens the hood: the components, the intelligence, the security — then the roadmap.
The intelligence: one unified provider — Google Gemini
Every AI capability in Nour goes through a single seam connected to Google Gemini: triage, topic classification, priority scoring, location extraction, headline & summary drafting, image analysis (including reading text inside photos), and video analysis. Unifying the provider isn't a technical detail — it's what makes cost monitorable, behaviour predictable, and a future provider swap a one-file change.
- Arabic-first: all prompts, classifications and outputs work in Arabic.
- Outage-resilient: if the AI is down, simple fallback logic prevents losing reports — a long report is treated as news until a journalist sees it.
- Optional daily cost cap: a token budget that, once exceeded, switches the system to fallback logic until the next day.
The components
| Layer | Technology |
| Frontend | React + TypeScript + Vite — fast, Arabic, RTL, dark mode |
| Backend | Node.js + Express + tRPC — end-to-end type-safe APIs |
| Database | Prisma ORM — SQLite locally, PostgreSQL in production |
| Ingestion | Official Meta webhooks (Facebook · Instagram · WhatsApp) |
| Real-time | SSE — the inbox updates the moment a message lands |
| Media | Automatic local archiving — photos & videos never expire |
Security & discipline
- Hashed-password sign-in + optional two-factor auth, with roles (admin / editor / user / viewer).
- All keys and secrets live entirely outside the code — in a server-side env file only.
- The intake agent speaks in fixed templates with a 3-question cap, and the live-send switch ships OFF.
- 50+ automated tests on the critical path run with every change.
The roadmap — what Nour continues on
Done: the full smart pipelineFour-type triage · confidence-scored attribution · a disciplined intake agent · story-reaction exclusion
Done: the modern foundationReal-time updates · media archiving · whole-dataset filters · a help center with an AI assistant
Next: full live connectivityEnabling real WhatsApp & Instagram ingestion, and turning on intake replies to sources after a monitoring period
Next: Google sign-inFaster team access with an allow-listed set of emails
Later: learning from editors' decisionsEvery approval and rejection improves triage and priority accuracy over time
Later: editorial dashboardsSource performance, geographic coverage patterns, and response speed
The bottom line: Nour isn't an experiment — it's a platform built on 14,000 real messages, with unified intelligence, guaranteed limits, and a roadmap aimed at one thing: getting the real story through, faster.