An AI-powered frontend platform that delivers positive news based on a selected location π and year π°οΈ. Powered by Google AI Studio (Gemini), this app explores historical timelines and surfaces good news with real sources β because the world has always had hope ππ
- πΊοΈ Pick any location on an interactive map
- π°οΈ Choose a year from history
- π€ Fetch positive / good news from that place and time using Google AI Studio
- π° View summaries with real article sources
- π± Fully mobile-first & responsive
- π¨ Calm, modern, premium UI
No mock data. Real AI-powered insights.
- Google AI Studio (Gemini) β timeline-aware AI responses
- Next.js (React) β frontend framework
- Tailwind CSS β styling
- Framer Motion β smooth animations
- Google Maps / Mapbox β location selection
git clone <your-repo-url>
cd good-news-by-place-timeMake sure Node.js is installed, then run:
npm installCreate a .env.local file and add your Google AI Studio API key:
NEXT_PUBLIC_GEMINI_API_KEY=your_google_ai_studio_api_keyπ Never commit your API key.
npm run devOpen your browser and go to:
http://localhost:3000
-
User selects a location π on the map
-
User selects a year π°οΈ
-
Frontend sends a prompt to Google AI Studio (Gemini)
-
Gemini returns:
- Positive news summaries
- Real article sources
-
UI displays results as beautiful, readable cards
- News summaries are AI-generated
- Sources are provided by Google AI Studio
- Content accuracy depends on available historical data
In a world full of breaking news and negativity, this app focuses on hope, progress, and positivity β grounded in real history.
Good news exists. Sometimes we just need to look for it.
Paras Panchal π§ Concept β’ Architecture β’ UI Vision
This project is an original idea designed and architected by Paras, combining AI, history, and human-centered design.
- β Save favorite stories
- π Shareable links
- π Multiple news results per year
- ποΈ Voice-based exploration
Just say the word π