Context-aware navigation for safer, smarter journeys
npm install
echo "VITE_GOOGLE_MAPS_API_KEY=your_key_here" > .env.local
npm run dev- Google Places API searches nearby venues (1500m radius)
- Time-based suggestions recommend place types:
- Morning → cafe, breakfast
- Lunch → restaurant
- Evening → restaurant, gym
- Night → bar
Each place gets a score (0-100) based on:
| Factor | Weight | Logic |
|---|---|---|
| Proximity | 40% | Closer = higher score |
| Rating | 30% | Google stars normalized |
| Crowd Level | 20% | Quieter = higher (based on preference) |
| Open Now | 10% | Open = bonus |
Click any place → Walking route appears on map
- Toggle to Night mode (top-left)
- Enter destination in the search bar
- Choose from 3 route options:
- 🛡️ Safest — Prioritizes busy, well-lit streets
- ⚖️ Balanced — Mix of safety and speed
- ⚡ Fastest — Shortest path
- 🔴 Red lines = Busy streets (more foot traffic)
- 🔵 Blue lines = Quieter streets
Data sourced from OpenStreetMap in real-time.
React • Vite • TailwindCSS • Google Maps/Places/Directions APIs • OpenStreetMap
Built with ❤️ for safer urban navigation