🚦 Your Real-Time Pedestrian Safety Navigator 🚦
Find the safest and shortest walking routes, avoid danger zones, and walk with confidence!
❓ Why SafeWalk?
In 2024, over 3,300+ pedestrian deaths were reported in the U.S. 🚨 Poor lighting, isolated routes, and unreported crime zones threaten daily commuters.
> SafeWalk is here to change that — with live data, AI, and community alerts.
| 🚦 | Smart Route Suggestion Find the shortest & safest path, powered by Google Maps & live 911 alerts |
|---|---|
| 🗺️ | Interactive Map See crime hotspots and live alerts on a beautiful map |
| 📰 | Live Safety Feed Real-time 911 calls, filterable by time, agency, and type |
| 🤖 | AI Route Assistant Get personalized safety tips and route comparisons |
| 📊 | Crime Trends Visualize 911 call stats and safety trends in your area |
| 🚨 | Emergency Help Center Panic button, safety tips, and instant support |
| 👥 | Crowd-Sourced Alerts Users can report unsafe activity to help others |
# 1. Clone & Install
cd safewalk
npm install
# 2. Set up your Google Maps API key
# (in a .env file)
GOOGLE_API_KEY=your_google_api_key
# 3. Start the backend
node server.js
# 4. Start the frontend
npm run dev
# 5. Open the app
# Visit http://localhost:5173Backend: Node.js + Express
- Fetches walking routes from Google Directions API
- Aggregates live 911 call data (San Francisco Open Data)
- Groups alerts by location to identify hotspots
- Exposes endpoints for directions, 911 calls, and safety analysis
Frontend: React + Vite + Tailwind
- Interactive map (Leaflet) for routes & hotspots
- Pages for route planning, live alerts, stats, and help
- AI Route Assistant for personalized safety guidance
- Real-time data updates and a beautiful, responsive UI
- Live, actionable safety data — not just static maps!
- AI-powered chat for route and safety questions
- Mobile-friendly and beautiful on any device
- Community-driven: help others by reporting alerts
- Open source — contribute and make your city safer!
Welcome Page: Engaging intro, mission, and feature highlights
Live Safety Alerts: Real-time 911 calls, filterable and grouped by priority
Smart Routes: Map with safety alerts and route planning
Pull requests and suggestions are welcome! For major changes, please open an issue first.
MIT
🚦 Walk smart. Walk safe. Walk with SafeWalk! 🚦
