Skip to content

RohanExploit/VishwaGuru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,243 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VishwaGuru — AI-powered civic action platform for India. Citizens report issues; AI generates action plans, WhatsApp messages, and email drafts.

Stars Issues Python React FastAPI License Visitors


What is VishwaGuru?

VishwaGuru is an open-source platform that makes civic action effortless for Indian citizens. You describe a local issue — a broken road, a water problem, a safety concern — and the AI generates a ready-to-send WhatsApp message, a formal email, and a full action plan targeting the right official.

Mission: Make democracy accessible to every Indian citizen through technology.


How it works

Citizen describes issue  →  VishwaGuru AI (Gemini)  →  Action plan + draft messages
        │                                                        │
   Web UI or                                         WhatsApp · Email · Representative
   Telegram Bot                                            contact details
  1. Report — submit an issue via the web interface or Telegram bot
  2. AI Analysis — Gemini API identifies the issue type and responsible authority
  3. Action Plan — receive a structured plan with ready-to-send messages in the right language

Key Features

Feature Description
🤖 AI Action Plans Gemini-powered drafts: WhatsApp messages, formal emails, step-by-step action guides
📱 Multi-Platform Report via modern React web app or Telegram bot — no learning curve
🏛 India-Centric Built around Indian governance structure, representatives, and languages
Production-Ready SQLite for local dev, PostgreSQL for production; Firebase/Netlify/Render deploy
🔒 Open Source AGPL-3.0 — free, transparent, and community-driven

Tech Stack

Tech stack: React + Vite + Tailwind (frontend), Python + FastAPI (backend), SQLite + PostgreSQL (database), Google Gemini (AI), Telegram Bot, Firebase + Netlify + Render (deployment)


Quick Start

1 · Clone

git clone https://github.com/RohanExploit/VishwaGuru.git
cd VishwaGuru

2 · Configure environment

cp .env.example .env

Edit .env:

TELEGRAM_BOT_TOKEN=your_bot_token
GEMINI_API_KEY=your_api_key
DATABASE_URL=sqlite:///./data/issues.db

3 · Backend

# Create virtual environment
python -m venv venv
venv\Scripts\activate          # Windows
# source venv/bin/activate     # Linux / macOS

pip install -r backend/requirements.txt

# Run (Windows)
set PYTHONPATH=backend & python -m uvicorn main:app --reload

Backend runs at http://localhost:8000

4 · Frontend

cd frontend
npm install
npm run dev

Frontend runs at http://localhost:5173


Running Services

Service Command URL
Backend set PYTHONPATH=backend & python -m uvicorn main:app --reload http://localhost:8000
Frontend cd frontend && npm run dev http://localhost:5173

Deployment

Platform What deploys
Firebase Frontend hosting
Netlify + Render Full-stack (static + API)
Railway Containerized full-stack

Deployment configs are in firebase.json, netlify.toml, and render.yaml.


Architecture

See ARCHITECTURE.md for a full system diagram, data flow, and module breakdown.


Contributing

Read CONTRIBUTING.md for branch naming, commit style, and PR checklist.


Contributors


License

GNU Affero General Public License v3.0 — see LICENSE for details.

About

VishwaGuru is an open source platform empowering India's youth to engage with democracy. It uses AI to simplify contacting representatives, filing grievances, and organizing community action. Built for India's languages and governance, it turns selfies and videos into real civic impact..

Topics

Resources

License

Contributing

Security policy

Stars

11 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors