SunRoute
Find the perfect seat on your bus based on real-time sun position analysis. Never squint on a bus ride again.
Web App
Full Stack
Active
Overview
SunRoute analyzes your journey in real-time, calculating exactly where the sun will be at every point to recommend the perfect seat. Whether you're commuting daily or taking a long trip, avoid the sun glare with intelligent seat recommendations.
Using OpenStreetMap's OSRM routing engine and SunCalc library, SunRoute provides precise sun position calculations for your specific route, time, and date to ensure optimal seating arrangements.
Key Features
Real Route Analysis
Uses OpenStreetMap's OSRM routing engine to calculate the exact path your bus takes.
Precise Sun Tracking
SunCalc library calculates the exact sun position at every point along your journey.
Smart Recommendations
Analyzes sun angles relative to travel direction for optimal seating positions.
Instant Results
Get your seat recommendation in seconds - no account required, completely free.
Web Scheduling
Plan trips ahead on any device with advanced scheduling capabilities.
Map Navigation
View your journey on an interactive map and open directions in Google/Apple Maps.
Technology Stack
React
TypeScript
Tailwind CSS
Leaflet
SunCalc
OpenStreetMap OSRM
Challenges & Solutions
Challenge: Accurate Sun Position Calculation
Determining precise sun position along a dynamic route required integrating multiple data sources and handling complex astronomical calculations.
Solution: SunCalc Integration
Implemented SunCalc library for accurate solar position calculations and combined it with route segmentation to provide seat recommendations for each portion of the journey.
Challenge: Route Precision
Needed to calculate exact paths buses take, not just straight lines between destinations.
Solution: OpenStreetMap OSRM
Integrated Open Source Routing Machine (OSRM) API to get realistic route calculations based on actual road networks and traffic patterns.
About SunRoute
SunRoute is an open-source project built with open-source technologies. Inspired by the Veyil App by PCL Technologies, SunRoute expands on that innovative concept by adding web-based scheduling, route preview, and detailed segment analysis to help you find the best seat on your bus ride.
100% free forever, with no tracking, no ads — just helpful sun avoidance for everyone. Built to make commuting more comfortable for bus travelers everywhere.