How mallanaidu13-create/sacred-temples-india works
Sacred Temples India is a temple-discovery and pilgrimage companion. The main journey starts at the home screen, where visitors browse curated temples or find nearby sites, then open a temple detail; search, regional browsing, and sacred circuits provide alternate discovery routes. The app loads temple records from Supabase with cached and static fallbacks. Additional branches support live Panchangam, location-aware maps, spiritual guidance, and immersive features. Edges reflect the sampled App, Nearby, Home, Search, and Sankalpa code; several other capabilities are represented from the file tree, with their wiring left unspecified where source was not sampled.
Main entry points: App.jsx App shell · NearbyPage.jsx Nearby temples · data.js Temple data · HomePage.jsx Home
Components 28
App and discovery
- App shell
src/App.jsx - Home
src/pages/HomePage.jsx - Discover
src/pages/DiscoverPage.jsx - Explore
src/pages/ExplorePage.jsx - Temple search
src/pages/SearchPage.jsx - Regional browse
src/pages/BrowsePages.jsx
Temple information
- Temple detail
src/pages/DetailPage.jsx - Temple data
src/data.js - Supabase
src/supabase.js - Static fallback
src/fallback-temples.js
Location and pilgrimage
- Sacred circuits
src/pages/CircuitsPages.jsx - Circuit definitions
src/content/sacred-circuits/circuits.js - Nearby temples
src/pages/NearbyPage.jsx - Geolocation and compass
src/useGeo.js - Mappls services
src/mappls-api.js - OpenStreetMap lookup
src/osm-temples.js - Overpass API
src/overpass-api.js
Spiritual tools
- Live Panchangam
src/LivePanchangam.jsx - Panchang languages
src/PanchangLangContext.jsx - Sarathi guide
src/SarathiChat.jsx - Gemini API
- Sankalpa practice
src/SankalpaEngine.jsx - Sankalpa logic
src/sankalpa-logic.js
Immersive experiences
- Sacred soundscape
src/SacredSoundscape.js - Mandala AR
src/MandalaAR.jsx - Sarathi vision
src/SarathiVision.jsx - Tirtha stamps
src/TirthaStamps.jsx
Other components
- Visitor
Connections 30
- Visitor → App shell: opens
- App shell → Home: renders
- App shell → Discover: routes to
- App shell → Explore: routes to
- App shell → Temple search: routes to
- App shell → Regional browse: routes to
- App shell → Temple detail: opens selected
- App shell → Nearby temples: routes to
- App shell → Sacred circuits: routes to
- App shell → Live Panchangam: computes
- App shell → Sarathi guide: renders
- App shell → Sankalpa practice: renders
- App shell → Supabase: fetches temples
- App shell → Static fallback: uses on failure
- Supabase → Temple data: returns records
- Home → Temple data: displays
- Home → Nearby temples: shows nearby
- Temple search → Temple data: filters records
- Sacred circuits → Circuit definitions: reads
- Nearby temples → Geolocation and compass: gets location
- Nearby temples → Mappls services: fetches nearby and routes
- Nearby temples → OpenStreetMap lookup: discovers temples
- OpenStreetMap lookup → Overpass API: queries
- Nearby temples → Temple data: compares locations
- App shell → Panchang languages: provides context
- Live Panchangam → Panchang languages: uses translations
- Sarathi guide → Gemini API: requests guidance
- Sankalpa practice → Sankalpa logic: generates locally
- Sankalpa practice → Gemini API: requests generation
- App shell → Sacred soundscape: starts soundscape