Real Time Alerts
REAL-TIME ALERTS SYSTEM
Cost Intelligence & News Aggregator Bot
PROJECT OVERVIEW
An intelligent automation system that tracks product prices, fuel costs, and education news for
Nigerian consumers, delivering real-time alerts via Telegram. This production-ready system
processes data from multiple sources, ensures accuracy through sophisticated validation, and
delivers timely notifications without spam.
Project Type:
Production Automation System
Status:
Live & Running 24/7
Development:
634+ Git Commits
Performance:
Sub-second alert delivery
KEY FEATURES
Energy Cost Monitoring
Tracked live fuel and LPG prices, alerting users only when meaningful market movements occurred.
Threshold-based system prevents alert fatigue while ensuring important changes are never missed.
News Aggregation
Aggregated education news from 3 authoritative sources (NUC, Punch Newspaper, MySchool) with intelligent
deduplication and source attribution. Content validation ensures accuracy and relevance.
Smart Alert Engine
Implemented duplicate prevention using Redis, threshold-based notifications, and cool-down periods to prevent
spam. Users receive only actionable alerts without information overload.
Parallel Scraping Architecture
Parallel scraping across multiple sources with graceful error handling and exponential backoff. System
maintains stability even when individual sources experience downtime.
Transaction-Based Data Integrity
PostgreSQL transactions ensure data consistency across updates. Sub-second feed updates provide real-time
accuracy while maintaining database integrity.
TECHNOLOGY STACK
Language: Python
Web Automation: Playwright, BeautifulSoup, CloudScraper
Databases: PostgreSQL, Redis
Async Processing: asyncio for concurrent operations
Messaging: Telegram Bot API for real-time delivery
Error Handling: Exponential backoff, graceful degradation
TECHNICAL HIGHLIGHTS
• Asynchronous architecture enables parallel data collection without blocking
• Redis-backed state management prevents duplicate alerts and tracks processing history
• PostgreSQL transactions ensure data consistency across multi-step operations
• Intelligent scraping with anti-bot detection bypass (user agent rotation, Cloudflare handling)
• Robust error handling with exponential backoff for unstable data sources
• Threshold-based alerting system with configurable cool-down periods
• Source attribution and deduplication for multi-source news aggregation
IMPACT & RESULTS
634+: Git commits demonstrating iterative development
3: Authoritative data sources integrated
24/7: Continuous uptime monitoring
<1 second: Alert delivery latency
Zero: Duplicate alerts (Redis deduplication)
100%: Transaction success rate (PostgreSQL ACID compliance)
LIVE DEMONSTRATION
A video demonstration of the system in action is available, showing real-time price tracking, alert
generation, and Telegram delivery. The demo showcases the system's ability to detect price
changes, validate data accuracy, and deliver formatted notifications to end users within seconds of
detection.
———
Israel Timi | Python Developer
GitHub: github.com/smintech | LinkedIn: linkedin.com/in/israel-timi-99b339360 | Portfolio:
smintech.github.io/Israeltimiportfolio