Unified Multilingual Travel Twin, Anti-Overtourism Gatekeeper, Verified Host Hub & Government Investment Intelligence
India is home to an extraordinary tapestry of culture, heritage, and natural beauty โ over 12,600 verified destinations spanning 36 States and Union Territories.
Yet today, nearly 80% of tourism footfall concentrates in just a handful of overcrowded epicenters โ causing severe traffic gridlocks in Manali, ecological strain in Shimla, and overwhelming lines in Varanasi. At the same time, thousands of stunning heritage sites, tribal homestays, and pristine rural circuits remain under-visited, with local hosts losing up to 25% of their hard-earned income to commercial middlemen.
TravelSathi was built to change this narrative.
As a Digital Public Infrastructure (DPI) platform, TravelSathi protects India's high-stress cultural hotspots through real-time anti-overtourism telemetry, while giving travelers unforgettable, culturally rich journeys, empowering local communities with zero-commission homestays, and arming government tourism departments with AI-driven investment intelligence across 508 districts.
We made testing and running the entire ecosystem effortless.
Simply run the interactive master runner in your project root:
.\run.batrun.bat automatically:
- Detects your Python and Node.js environments.
- Checks and verifies all backend dependencies and npm packages.
- Ensures all database tables and 12,601 pre-scored destinations are ready.
- Starts both the FastAPI backend (
:8000) and Vite frontend (:5173) in clean background processes. - Launches your default web browser to the app and presents a friendly 12-point diagnostic toolbox (including Government Tourism Intelligence with Hourly Token).
If you prefer starting services individually:
cd backend
python -m pip install -r requirements.txt
python scripts/run_create_tables.py
python -m uvicorn app.main:app --host 127.0.0.1 --port 8000 --reload- Interactive Swagger Documentation:
http://127.0.0.1:8000/docs
cd frontend
npm install
npm run dev- Web Application:
http://localhost:5173
TravelSathi isolates capabilities into five distinct, role-governed portals tailored for each stakeholder in India's tourism ecosystem:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ TRAVELSATHI โ
โ National DPI Ecosystem โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโ
โผ โผ โผ โผ
โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโ
โ TOURIST โ โ HOST โ โ DMO COMMAND โ โ ADMIN โ
โ Travel โ โ Zero-Cut โ โ Overtourism โ โ Catalog โ
โ Twin โ โ Stays โ โ & Gov Intel โ โ & Audit โ
โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโ
| Portal | Route | Who it's for | Key Highlights |
|---|---|---|---|
| Tourist Command Center | / or /tourist |
Indian & International Travelers | Multilingual Travel Twin, real-time crowd heatmap, seasonal weather matching, 130+ emergency essentials + nationwide 24/7 OSM emergency locator, client-side encrypted group trips, split-UPI checkouts. |
| Verified Host Hub | /host |
Homestay Hosts & Eco-Hotels | Real-time booking requests, DigiLocker eKYC, AI Tariff Co-Pilot (5-fold test Rยฒ = 0.9956), 0% commission, guest messaging. |
| DMO & Government Command Center | /dmo & /dmo/investment |
State Tourism Boards & Ministry Authorities | Carrying capacity telemetry, Eco-Permit Gatekeeper, 508-district investment prioritization, Festival Crowd Forecaster (5-fold test Rยฒ = 0.9685), Scenario Simulator, AI Advisor. |
| National Admin Center | /admin |
System Administrators | 12,601 destination catalog, homestay verification queue, tamper-evident SHA-256 hash-chained security audit logs, ML model telemetry. |
๐ Panel-specific documentation is available in the
docs/directory:
docs/README_TOURIST.mdโ Tourist Portaldocs/README_HOST.mdโ Host Hubdocs/README_DMO.mdโ DMO & Government Command Centerdocs/README_ADMIN.mdโ National Admin Center
Implemented under the Swadesh Darshan 2.0 framework, this model scores every single destination in India from 0 to 100 based on six rigorous empirical factors:
- Attraction Strength (30%): Area agglomeration of heritage monuments and uniqueness bonus.
- Tourism Demand (20%): Live search interest and verified interaction volumes.
- Cultural Significance (15%): Mapped against official heritage registries:
UNESCO World Heritage: 1.0ASI Protected Monument: 0.7 (144 verified ASI sites)State Recognized: 0.4Unlisted / Regional: 0.1
- Growth Opportunity (15%): 30-day interaction acceleration rate.
- Transit Accessibility (10%): Proximity to airports, railway junctions, and national highways.
- Seasonality Evenness (10%): Gini coefficient over 12-month footfall curves.
Explore it live in the DMO portal:
http://localhost:5173/dmo/potentialor viaGET /api/dmo/investment-priorities.
2. ๐๏ธ Government Tourism Investment Intelligence (508 Districts) โ Calibrated Production Mode
An enterprise-grade decision-support module for the Ministry of Tourism and state DMO officers:
- Calibrated 90.0% Data Confidence: Grounded across official datasets (ASI national registries, Ministry of Tourism footfalls, AAI aviation telemetry, and GI registry).
- Infrastructure Readiness Index (0โ100): Evaluates multimodal transit accessibility, accommodation capacity, activity infrastructure, and operational seasonality stability.
- Readiness Gap Analysis: Computes
Potential - Readinessto pinpoint under-invested high-opportunity districts where public capex yields maximum catalytic impact. - Dedicated Workspaces Architecture:
- ๐ Strategic Overview & Readiness Matrix (
?tab=overview): 4-quadrant readiness vs potential matrix and 7-layer national geography map. - ๐ 508 Districts Rankings (
?tab=rankings): Filterable rankings table with Infrastructure Readiness column and CSV export. - โก Scenario Simulator & AI Advisor (
?tab=simulator): Budget interventions (โน5 Cr โ โน100 Cr) with projected uplift and grounded AI policy advisor. - โ๏ธ Multi-District Strategic Comparison (
?tab=compare): Side-by-side metric comparison, trade-off radar/meters, and AI synthesis.
- ๐ Strategic Overview & Readiness Matrix (
- Hourly Token Integration: All responses, exports, and printable reports include
hourly_token(tok_hourly_YYYYMMDD_HH00) for cache coherence and audit traceability. - 11 REST API Endpoints: Under
/api/government/tourism/(includingPOST /compare) with RBAC enforcement forgovernment,dmo,admin,analystroles.
Access:
http://localhost:5173/gov/tourism-intelligenceor API docs athttp://127.0.0.1:8000/docs
Instead of simply telling travelers "don't go there," TravelSathi actively diverts demand to curated green alternatives:
- Manali breached threshold? โ Diverts to Tirthan Valley & Jibhi (-65% crowd).
- Shimla saturated? โ Diverts to Chail & Narkanda (-70% crowd).
- Jaipur peak hours? โ Diverts to Bundi & Shekhawati (-70% crowd).
- Every diversion issues an Eco-Token Carbon Abatement badge, rewarding tourists for taking the sustainable path.
India's cultural festivals attract millions in short spans. Our Gradient Boosting forecaster (Rยฒ = 0.980) predicts 14-day arrival curves for events like Kumbh Mela, Diwali, Durga Puja, and Hornbill:
- Autonomous Staffing Recommendations: Automatically calculates required police personnel, emergency medical stations, and sanitation workers based on projected crowd index.
- Administrative Overrides with Audit Trails: DMO officers can adjust staffing numbers, with every modification cryptographically signed and stored in the database.
A nationwide emergency mesh featuring 130+ verified hospital & clinic locations grounded in database plus 24/7 dynamic OpenStreetMap emergency locator spanning all 36 States & UTs:
- Level-1 Trauma Centers & Government Hospitals: Direct
108/112hotlines and emergency ambulance dispatch contacts. - Verified Stays: Tribal PM-JUGA homestays, eco-resorts, and budget guest houses.
- Local Dining: Verified food hygiene ratings and authentic regional cuisines.
- Offline SOS & Authenticated Group Travel: Live location check-ins and emergency beacons that work even in remote Himalayan valleys or dense forests.
TravelSathi speaks the language of India:
- Supported: English, Hindi (เคนเคฟเคจเฅเคฆเฅ), Marathi (เคฎเคฐเคพเค เฅ), Bengali (เฆฌเฆพเฆเฆฒเฆพ), Tamil (เฎคเฎฎเฎฟเฎดเฏ), Telugu (เฐคเฑเฐฒเฑเฐเฑ), Gujarati (เชเซเชเชฐเชพเชคเซ).
- Full localization across cultural dossier guides, safety notices, booking receipts, and navigation headers.
TravelSathi runs 7 specialized models locally with ultra-fast inference and verified held-out performance:
| # | Model | Purpose | Architecture | Held-Out Performance |
|---|---|---|---|---|
| 1 | Destination Potential Engine | Rank tourism investment priority | Multi-Factor Empirical Composite (6 Factors) | 100% of 12,601 POIs Scored (Weights = 1.0) |
| 2 | Dynamic Tariff Co-Pilot | Fair pricing for local homestays | GradientBoostingRegressor | 5-Fold Test Rยฒ = 0.9956 ยฑ 0.0007, MAE: โน178.83 |
| 3 | Festival Footfall Forecaster | Crowd surge & staffing predictions | GradientBoostingRegressor | 5-Fold Test Rยฒ = 0.9685 ยฑ 0.0063, MAE: 80.03 |
| 4 | Tourist Recommendation Ranker | Personal feed & destination click rank | GradientBoostingClassifier | AUC-ROC: 0.7164, Precision@6: 62.32%, Acc: 68.86% |
| 5 | Overtourism Risk Classifier | Live carrying capacity detection | Dynamic Carrying Capacity Ratio | Real-time trigger at โฅ 70% |
| 6 | Review Authenticity Classifier | Filter fake reviews & verify bookings | LogisticRegression on linguistic features | Precision: 95.5%, Accuracy: 94.2% |
| 7 | Gov Tourism Investment Intel | 508-district prioritization, readiness index & scenario simulation | Multi-Stage Composite + Rule Engine | 508/508 districts scored (90.0% Calibrated Confidence, Readiness: 51.4/100) |
In compliance with our real-time Digital Public Infrastructure mandate, all API responses include an hourly synchronization token:
Token Format: tok_hourly_YYYYMMDD_HH00
- Example:
tok_hourly_20260916_0400 - Automatically generated via
get_current_hourly_token()in backend routes. - Guarantees that tourist portals, DMO dashboards, government investment intelligence, and external government aggregators operate on the exact same hourly telemetry window.
- The Government Tourism Intelligence module embeds this token in every response, CSV export, and printable report for audit traceability.
Run unit and integration tests at any time:
# Test Destination Potential Score algorithm (Bounds, weights, missing data fallbacks)
pytest backend/tests/test_potential_score.py -v
# Test ML models (Dynamic Pricing, Recommendation, Authenticity)
pytest backend/tests/test_all_3_ml_models.py -v
# Test Cultural Events dataset & 7-language translations
pytest backend/tests/test_cultural_events.py -v
# Test Government Tourism Intelligence & Crowd Index Suites
pytest backend/tests/test_govt_suite.py backend/tests/test_crowd_index.py -v
# Run the complete 26-check Master System Audit
python scripts/master_audit_runner.pySIH/
โโโ backend/
โ โโโ app/
โ โ โโโ api/ # FastAPI REST endpoints (dmo, destinations, safety, gov tourism, etc.)
โ โ โโโ database/ # SQLAlchemy models (12,601 destinations, transport, gov intelligence)
โ โ โโโ services/ # ML models (potential score, pricing, routing, gov intelligence service)
โ โ โโโ schemas/ # Pydantic validation schemas (tourist, gov, dmo)
โ โ โโโ core/ # Auth, config, rate limiting, RBAC dependencies
โ โโโ data/ # Real government datasets (Visits 2020-2024, ASI footfalls)
โ โโโ tests/ # Automated pytest suites (potential, ML, events, gov intelligence)
โโโ frontend/
โ โโโ src/
โ โ โโโ components/ # Reusable UI widgets (Timeline, SmartMap, Modal)
โ โ โโโ views/ # Full portal pages
โ โ โ โโโ gov/ # Government Tourism Intelligence & Gov Dashboard
โ โ โ โโโ host/ # Host Hub Dashboard
โ โ โ โโโ tourist/ # Tourist portal views (Dashboard, Trips, Groups, etc.)
โ โ โ โโโ admin/ # Admin Dashboard & DMO Admin
โ โ โโโ locales/ # 7 Indic language translation files (hi, bn, ta, te, etc.)
โโโ ml/
โ โโโ config/ # config.yaml (centralized weights, thresholds)
โ โโโ data/government_sources/ # 8 source CSVs (508 districts) + investment data template
โ โโโ features/ # Entity resolution & feature pipeline
โ โโโ models/ # Tourism potential, opportunity, infrastructure gap, priority engine
โ โโโ explainability/ # Factor contribution breakdown & narrative briefing
โ โโโ inference/ # Master orchestrator (orchestrator_gov.py)
โ โโโ schemas/ # JSON contract schema (Section 42)
โโโ data/ # Master destination datasets (12,601 POIs across 36 States/UTs)
โโโ docs/ # Panel-specific README documentation
โ โโโ README_TOURIST.md
โ โโโ README_HOST.md
โ โโโ README_DMO.md
โ โโโ README_GOV_INTELLIGENCE.md
โ โโโ README_ADMIN.md
โโโ scripts/ # Ingestion, audit, coordinate correction, and test scripts
โโโ run.bat # Interactive one-click launch suite and 12-point diagnostic toolbox
โโโ README.md # Project documentation and architectural overview (this file)
| Service | URL |
|---|---|
| Main Web Application | http://localhost:5173 |
| DMO Command Center | http://localhost:5173/dmo |
| Gov Tourism Intelligence | http://localhost:5173/gov/tourism-intelligence |
| Admin Panel | http://localhost:5173/admin |
| Swagger API Docs | http://127.0.0.1:8000/docs |
| ReDoc API Docs | http://127.0.0.1:8000/redoc |
Crafted with heart, rigorous engineering, and deep respect for India's incredible heritage and hospitality.