Skip to content

Solarys431/newsintelligence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

News Intelligence System

Professional AI-Powered News Aggregation & Analysis Platform for Broadcast Newsrooms

Python FastAPI React TypeScript Google Gemini

Enterprise-grade solution for modern television newsrooms


Overview

News Intelligence System is a comprehensive platform designed for professional broadcast newsrooms to aggregate, analyze, and curate news content from multiple sources using cutting-edge artificial intelligence.

Built for the demands of 24/7 news operations, it combines real-time data aggregation with AI-powered analysis to help editorial teams make faster, better-informed decisions.


Key Features

AI-Powered Analysis

  • Sentiment Analysis — Automatic sentiment detection on every article
  • Topic Clustering — Intelligent grouping of related stories
  • Trend Detection — Real-time trending topics with relevance scoring
  • Auto-Generated Scripts — TG scripts optimized for TV anchors
  • Fact-Check Integration — IFCN-based verification suggestions

Multi-Source Aggregation

  • 30+ News Sources — Italian and international outlets (ANSA, Reuters, BBC, CNN, etc.)
  • RSS & API Integration — NewsAPI, Bing News, MediaStack support
  • Social Media Monitoring — Twitter/X, Facebook, Instagram, TikTok
  • Real-Time Updates — Configurable refresh intervals
  • Smart Deduplication — Automatic duplicate detection

Professional Dashboard

  • Modern React Interface — Clean, intuitive design with Tailwind CSS
  • Real-Time WebSocket — Live updates without page refresh
  • Interactive Charts — Data visualization with Recharts
  • Dark Theme — Optimized for newsroom environments
  • Mobile Responsive — Access from any device

Smart Lineup Builder

  • Automatic Generation — AI-balanced newscast rundowns
  • Precise Timing — Commercial break integration
  • Drag & Drop — Manual reordering support
  • Batch Operations — Multi-select and bulk actions
  • Professional Export — iNews MOS XML, CSV, Teleprompter formats

Budget & Cost Management

  • API Usage Tracking — Monitor Gemini API consumption
  • Cost Analytics — Daily/weekly/monthly reports
  • Budget Alerts — Configurable spending thresholds
  • Resource Optimization — Usage recommendations

Architecture

┌─────────────────────────────────────────────────────────────────────┐
│                        NEWS INTELLIGENCE SYSTEM                      │
├─────────────────────────────────────────────────────────────────────┤
│                                                                      │
│   ┌─────────────┐    ┌─────────────┐    ┌─────────────────────┐    │
│   │   Frontend  │    │   Backend   │    │   Infrastructure    │    │
│   │             │    │             │    │                     │    │
│   │  React 18   │◄──►│  FastAPI    │◄──►│  PostgreSQL 15      │    │
│   │  TypeScript │    │  Python     │    │  Redis 7            │    │
│   │  Tailwind   │    │  SQLAlchemy │    │  Docker Compose     │    │
│   │  WebSocket  │    │  Pydantic   │    │                     │    │
│   └─────────────┘    └──────┬──────┘    └─────────────────────┘    │
│                             │                                        │
│                             ▼                                        │
│                    ┌─────────────────┐                              │
│                    │  Google Gemini  │                              │
│                    │   Flash Lite    │                              │
│                    │                 │                              │
│                    │  • Sentiment    │                              │
│                    │  • Topics       │                              │
│                    │  • Scripts      │                              │
│                    │  • Fact-check   │                              │
│                    └─────────────────┘                              │
│                                                                      │
└─────────────────────────────────────────────────────────────────────┘

Tech Stack

Layer Technologies
Frontend React 18, TypeScript 5, Tailwind CSS 3, Vite, Recharts, Axios
Backend Python 3.11, FastAPI, SQLAlchemy 2.0, Pydantic V2, Redis
AI/ML Google Gemini Flash Lite, NLP, Sentiment Analysis
Database PostgreSQL 15, Redis 7 (caching)
Infrastructure Docker Compose, Nginx (production)

News Sources

Italy 🇮🇹

ANSA, La Repubblica, Corriere della Sera, Sky TG24, Il Sole 24 Ore, La Stampa, Il Fatto Quotidiano, AGI, RaiNews, TGCOM24

International 🌍

Reuters, BBC News, CNN, The Guardian, Associated Press, France24, Deutsche Welle, Al Jazeera English, Bloomberg, Financial Times

Tech & Science 🔬

TechCrunch, The Verge, MIT Technology Review, Wired, Ars Technica, Nature News, Science Daily

Social Platforms 📱

Twitter/X, Facebook, Instagram, TikTok — Real-time monitoring and trend detection


Performance

Metric Value
AI Analysis ~2-3s per article
News Aggregation 50 articles/source in ~10-15s
WebSocket Latency <100ms
Dashboard Cache 60s TTL
Source Cache 300s TTL

Use Cases

  • Television Newsrooms — 24/7 news operations requiring real-time aggregation
  • Editorial Teams — Content curation and story selection
  • News Directors — Lineup planning and rundown management
  • Digital Editors — Multi-platform content distribution
  • Research Teams — Trend analysis and competitive monitoring

Security & Compliance

  • Environment-based configuration (no hardcoded credentials)
  • Role-based access control
  • Secure API key management
  • GDPR-compliant data handling
  • Audit logging

Status

In Active Development — This project is being developed for professional broadcast use.


Author

Daniele Cappello (Solarys)

GitHub


Built with passion for modern broadcast journalism

About

Sistema professionale di aggregazione e analisi notizie AI per TG

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors