News LankaNews Lanka
ENසිංத
Sign inSubscribe
  • For You
  • Sri Lanka
  • World
  • Business
  • Sport
  • Technology
  • Culture
  • Markets
4 August 2026
Gold Rs 3$ 0.00CN¥ 0.02
  • Sri Lanka
  • World
  • Business
  • Sport
  • Technology
  • Culture
News LankaNews Lanka

Independent journalism from Sri Lanka to the world — politics, business, sport and culture, in your language.

Sections

  • Sri Lanka
  • World
  • Business
  • Sport
  • Technology
  • Culture

Company

  • About us
  • Live coverage
  • Daily audio briefing
  • Subscribe
  • Advertise with us
  • Project roadmap

Follow

  • Facebook
  • X (Twitter)
  • YouTube
  • RSS
© 2026 News Lanka. All rights reserved.A demonews platform — Next.js, Payload CMS & AI.
Build status

Project Roadmap

A live view of everything built into the News Lanka demo and everything still planned. Completed work is ticked; planned work is listed in build order.

31 / 32 done97%

31 shipped · 1 planned. Tap a planned item to mark it for yourself — your ticks are saved on this device.

Foundation

5/5
  • Next.js 16 + Payload 3 scaffold (single deploy)
    Shipped
  • PostgreSQL + environment config; admin verified
    Shipped
  • News data model — Articles, Categories, Tags, Authors, Media, Users
    Shipped
  • Multilingual data layer (Sinhala / Tamil / English)
    Shipped
  • Media pipeline — auto-WebP + 6 responsive sizes, Cloudflare R2-ready
    Shipped

Design & frontend

9/9
  • Custom design system & premium gold · black palette
    Shipped
  • Light & dark themes (site + Payload admin)
    Shipped
  • NDTV-style single header — logo, date/time/weather, language, theme, inline search, subscribe
    Shipped
  • Premium homepage — 3-column hero, “Most Read” rail, trending strip, breaking ticker
    Shipped
  • Long-form article page — 2-column, share bar, rich text, author bio, related, sticky rail
    Shipped
  • Section / Author / Tag / Search pages
    Shipped
  • Location-aware weather + live clock
    Shipped
  • Skeleton loading states across the site (show placeholders until content loads)loading.tsx files removed — caused Next.js 16/Turbopack Suspense streaming bug that prevented client component hydration; skeletons now built into page components directly
    Shipped
  • “Most Read” rail + ad slots on section / author / tag / search pages
    Shipped

Content

1/1
  • 49 articles seeded across all 7 categories (real June 2026 news) + topical images
    Shipped

Monetisation & systems

3/3
  • Ad / banner system + admin (image + embed-code, placements, scheduling)
    Shipped
  • AI feature-flag system — master + per-feature toggles, admin-switchable model
    Shipped
  • Subscription paywall (Stripe test mode) + Subscribe pagePremium articles show a preview + paywall to non-subscribers; /subscribe offers monthly/annual plans. With STRIPE_SECRET_KEY set it opens a real Stripe test-mode Checkout (REST, no SDK dep); without a key it activates instantly in demo mode. Cancel supported.
    Shipped

AI features

5/5
  • AI article summary + Listen (text-to-speech)
    Shipped
  • Multi-provider AI (Anthropic / OpenAI / Google / Groq) — admin-switchable model + key
    Shipped
  • Multilingual UI + AI translation (wire up the language switcher)Cookie-based locale (nl-locale); locale-aware Payload queries; translated UI strings (EN/SI/TA); AI translate button on article pages with sessionStorage cache
    Shipped
  • Personalised “For You” feedSigned-in readers get a feed built from the categories of the stories they bookmark plus sections they follow; signed-out visitors see a trending teaser with a sign-in prompt
    Shipped
  • Daily audio briefing (scheduled)/briefing compiles the day’s top stories into a spoken script (AI-narrated when a model/key is set, reliable template fallback otherwise) and plays it with the improved neural-voice TTS; revalidates through the day
    Shipped

Engagement & platform

4/4
  • User accounts + engagement (sign-in, save / bookmark)Separate “Readers” auth collection (no admin access); register / sign-in / sign-out; bookmark button on every article; /account hub with saved-stories grid and subscription status
    Shipped
  • Live blog / real-time breaking newsArticles of type “Live” get a timeline of updates (admin array field, pinned + timestamped); the article page shows a pulsing LIVE blog that auto-polls every 20s and surfaces a “new updates” banner. /live lists all running live coverage.
    Shipped
  • Admin analytics dashboard (real view-ranked “Most Read”)Per-article view counter (deduped per session); “Most Read” rail now ranks by real views with a curated fallback; admin dashboard shows totals, top articles and a views-by-section breakdown
    Shipped
  • “Advertise with us” pageLanding page with audience stats, ad-format showcase, rate card and an enquiry form that captures leads into the Inquiries collection (visible in admin under Leads)
    Shipped

Newsroom & admin

1/1
  • Professional role-aware admin dashboard for editors & journalistsModern custom “/studio” dashboard (separate from Payload chrome): light & sleek, branded sidebar with grouped nav, pill topbar, premium gold hero banner, KPI tiles, “Continue editing” cards, desk table, stat ring, views-by-section chart and a team rail. Role-aware (journalists get a simplified view, no analytics) and staff-only (auth-guarded). Role-based access across all collections: authors edit only their own stories & can’t set promo flags; editors manage the desk, taxonomy, ads & leads; settings + roles are admin-only. Frontend content width widened to 1480px (NDTV-style).
    Shipped

Launch

0/1
  • Deploy to Vercel + Neon Postgres (free tier)Deploy config ready: full .env.example + step-by-step DEPLOY.md (Neon pooled connection, Vercel env vars, first-admin setup, post-deploy checklist). Final deploy needs your Vercel/Neon accounts — follow DEPLOY.md.

CSE markets & AI prediction

3/3
  • Integrate Colombo Stock Exchange (CSE) API — live prices, indices & company dataCSE data layer with indices + stocks; fetches live from CSE_API_BASE (shape per GH0STH4CKER’s CSE API) when set, otherwise serves a realistic sample snapshot so Markets works out of the box. Fails soft to sample data on API error.
    Shipped
  • Markets section + live CSE ticker (prices alongside business news)/markets page with index cards, market open/closed status, a scrolling live price ticker, and a sortable active-stocks table; linked in the main nav
    Shipped
  • AI stock-price prediction system — CSE data + politics / economy / world-news signalsAI outlook combines the price snapshot with recent News Lanka headlines to produce a short bullish/bearish/neutral commentary (model-generated when a key is set, momentum heuristic otherwise) with a clear “not investment advice” disclaimer
    Shipped