Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

jayanthmb14/forthepeople

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

451 Commits
451 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

🇮🇳 ForThePeople.in

Your District. Your Data. Your Right.

India's first free, real-time, district-level civic transparency platform.

Live Site · Watch the Platform Walkthrough · Vote for Features · Support the Project

License Districts Modules


What is ForThePeople.in?

ForThePeople.in aggregates publicly available Indian government data into clean, citizen-friendly dashboards — one for every district. Instead of navigating 50+ government portals, citizens get a single platform with real-time data on crop prices, dam levels, budget spending, school performance, infrastructure projects, and 25+ more modules.

Currently live (10 districts across 7 states):

  • Karnataka: Mandya, Mysuru, Bengaluru Urban
  • Tamil Nadu: Chennai
  • Maharashtra: Mumbai, Pune
  • Delhi: New Delhi
  • West Bengal: Kolkata
  • Telangana: Hyderabad
  • Uttar Pradesh: Lucknow

Goal: All 780+ districts across 28 states and 8 UTs.

29 Dashboard Modules

Category Modules
Live Data Overview, Interactive Map, Water & Dams, Crop Prices, Weather & Rainfall, Finance & Budget
Governance Leadership, Police & Traffic, Schools, Courts, RTI Tracker, Gram Panchayat, Health
Services Gov. Schemes, Services Guide, Elections, Transport, JJM Water Supply, Housing, Power
Community Local Alerts, Offices, Citizen Corner, Famous Personalities, News, Data Sources

Tech Stack

Layer Technology
Frontend Next.js 16, TypeScript, Tailwind CSS v4, react-simple-maps, Recharts
Database PostgreSQL (Neon), Prisma ORM (45+ models)
Cache Upstash Redis
AI OpenRouter (free models for news classification, paid for analysis) with multi-provider fallback
Scraping Railway.app (24/7), Google News RSS, Cheerio
Hosting Vercel Pro
Payments Razorpay (for supporter contributions)
Monitoring Sentry (errors), Plausible (analytics, cookieless)
Email Resend (admin alerts)

Getting Started

# Clone
git clone https://github.com/jayanthmb14/forthepeople.git
cd forthepeople

# Install
npm install

# Set up environment
cp .env.example .env.local
# Fill in your API keys in .env.local

# Database
npx prisma generate
npx prisma db push

# Run
npm run dev

Project Structure

docs/                       # All documentation (blueprint, skills, guides)
prompts/                    # Claude Code prompts archive (completed + pending)
src/
├── app/                    # Next.js App Router pages + API routes
│   ├── api/
│   │   ├── data/[module]/  # 29-module unified data API
│   │   ├── cron/           # Scheduled jobs (news, crops, insights)
│   │   └── admin/          # Admin endpoints (health, alerts, analytics)
│   └── [locale]/[state]/[district]/  # District dashboard pages
├── components/             # Reusable React components
├── lib/                    # Core utilities (DB, Redis, AI, alerts, health score)
└── scraper/                # Background data scrapers (Railway)
prisma/
├── schema.prisma           # 45+ database models
└── seed.ts                 # Seed data for Mandya district

Legal

ForThePeople.in is an independent citizen transparency initiative. It is NOT an official government website. All data is sourced from publicly available government portals under India's Open Data Policy (NDSAP) and the Right to Information (Article 19(1)(a) of the Indian Constitution).

Support

Running this platform for all 780+ districts costs approximately ₹12 lakh/year. You can help:

  • One-Time Contribution — any amount from ₹10
  • District Champion — ₹99/mo, name on your chosen district page
  • State Champion — ₹999/mo, name on every district in that state
  • All-India Patron — ₹9,999/mo, featured on every district page
  • Founding Builder — ₹50,000/mo, permanent homepage spotlight

Support page → · Contributor leaderboard →

Contributing

We welcome contributions from developers of all skill levels! Whether you want to add a new district, fix a bug, improve the UI, or add translations — every contribution helps.

Goal: Cover all 780+ districts across India. Currently at 10 — help us get there!

Active Contributors

This project moves forward thanks to:

Want to join? See CONTRIBUTING.md and check good-first-issue labels. CodeRabbit auto-reviews every PR.

Creator

Jayanth M B — Entrepreneur from Karnataka, India.

Built with the belief that every Indian citizen deserves free, transparent access to their district's government data.

License

MIT with Attribution — see LICENSE for details.

Any fork or derivative must retain attribution to the original creator (Jayanth M B).

About

India's free, real-time district-level civic transparency platform. 29 dashboards per district.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.