Zajil News: iOS GCC News Aggregator
Zajil is a real-time news intelligence app for the six GCC states, with a focus on Bahrain. A Python backend collects news from trusted outlets every 15 minutes, uses a two-stage AI pipeline to score events by severity and group related stories, and sends a push notification to iPhone and iPad when something critical happens. It also tracks live data for regional and international markets.
15 min
news collection cycle
1–10
AI severity score for every article
41
market symbols tracked live
EN / AR
fully bilingual, with right-to-left layout
How an alert is produced
01
Collect
12+ RSS feeds, 3 news APIs and a scraper, limited to trusted sources and de-duplicated
02
Score
A fast AI model rates every article 1–10 with a category and location
03
Analyse
A more capable AI model groups high-scoring articles into events and writes headlines
04
Alert
Events scoring 8+ trigger a push notification via Apple's APNs
05
Display
SwiftUI app, home-screen widgets and a web dashboard
The problem
News that matters for the Gulf is scattered across international wires, regional outlets and official channels. Following all of it is slow, and generic news apps can't tell that a security incident near Bahrain matters more than a recycled market story.
What I built
- ▸A native SwiftUI app for iPhone and iPad, with home-screen and lock-screen widgets (Top Alert, Threat Level, Alerts List and a full Dashboard)
- ▸A Python (Flask) backend that collects, scores and serves news, deployed on Railway
- ▸AI situation briefs every two hours, with a threat level for each GCC country, in English and Arabic
- ▸Live market data for regional and international indices, GCC stocks, commodities and currencies, refreshed every five minutes
- ▸A web dashboard (React, Vite and Tailwind) and embedded live TV news channels
Two-stage AI scoring
Running every article through a large model is slow and expensive, so the pipeline is split in two. A fast, lightweight AI model scores every article from 1 to 10 with a category and location, applying rules such as raising Bahrain-specific security events, penalising speculation and capping recycled stories.
Only articles scoring 6 or more go to a more capable model, which clusters them into events, checks the previous 12 hours for duplicates and writes the headline, preferring top-tier sources such as Reuters, AP and the BBC. Before a notification goes out, it is checked for freshness and similarity to recent alerts, so users aren't sent stale or repeated stories.
Security and privacy
No account, no tracking and no ads. The only thing stored about a device is an anonymous push-notification token. The app's API uses Apple App Attest so that only genuine copies of the app can call it, device registration is rate-limited, and administrative functions sit behind separate authentication.





