The Story


The Daily বার্তা (বার্তা meaning "news" or "message" in Bengali) is an AI-powered newspaper platform built for the hackathon. It transforms raw, unformatted news from any source — wire reports, social media posts, press releases — into beautifully formatted, column-based newspaper layouts with importance ranking, audio narration, and multilingual spirit.

The name pays homage to the rich tradition of Bengali journalism while embracing the cutting edge of artificial intelligence. The subtitle আজকের খবর, আপনার ভাষায় — "Today's news, in your language" — reflects our commitment to accessible, human-readable journalism.

"All the News That's Fit to Digitize" — The Daily বার্তা motto

How It Works


Paste any raw news text into the submission form on the Front Page. Our Gemini-powered backend analyzes the content and returns a fully structured article: headline, category, priority ranking, importance score, simple-language summary, expanded full text, and key highlights.

Articles are automatically arranged in a classic broadsheet layout — breaking news spans the full width with large headlines, high-priority stories occupy dual columns, and minor news fills a four-column grid at the bottom, just like a real newspaper's front page.

Each article features a Read Aloud button powered by ElevenLabs — click it and a professional news anchor voice reads the article to you.

Technology


  • ◆Google Gemini — AI-powered news parsing, summarization, and priority classification
  • ◆ElevenLabs — Neural text-to-speech for news anchor audio narration
  • ◆Unsplash — Contextual photography matched to article topics
  • ◆TanStack Start — Full-stack React framework with file-based routing
  • ◆Netlify — Deployment, serverless functions, and AI Gateway
  • ◆Tailwind CSS 4 — Newspaper-inspired utility-first styling

Setup & API Keys


To run this project locally, create a .env file in the project root with the following keys:

# Required for AI news parsing (via Netlify AI Gateway)
GEMINI_API_KEY=your_key_here

# Required for text-to-speech narration
ELEVENLABS_API_KEY=your_key_here

Images are sourced from Unsplash's public photo URL — no API key required for basic usage.

Features


📰Classic broadsheet newspaper layout
🤖Gemini AI news parsing & formatting
🔊ElevenLabs audio narration
🎙️Voice input via microphone
📸Auto-matched article photography
⚡Breaking news scrolling ticker
🗂️Browse news by category
🗄️localStorage article archive
🌙Dark / Night edition mode
📱Fully responsive design
⭐Importance scoring (1–10)
🔴Priority color-coding system