A low-bandwidth, scalable public transport platform that enables commuters to track buses in real time, view accurate arrival estimates, plan journeys, and receive live updatesβeven in areas with limited internet connectivity.
Public transportation in many Tier-2 and Tier-3 cities lacks reliable real-time information. Commuters often wait without knowing when the next bus will arrive, while transport authorities have limited visibility into fleet operations.
LokBus bridges this gap by providing:
- π Live bus tracking
- β±οΈ Real-time ETA prediction
- πΊοΈ Route & stop management
- πΆ Low-bandwidth optimized communication
- π Live updates using WebSockets
- π± Mobile-first experience
- π Offline-friendly trip planning
LokBus was developed as a solution for Smart India Hackathon (SIH) 2025 under the official problem statement:
Problem Statement ID: SIH25013
The project aims to improve the public transportation experience by providing passengers with real-time bus tracking, accurate arrival predictions, route information, and a seamless travel experience while ensuring efficient fleet monitoring for transport authorities.
The Algo Rangers team was shortlisted/waitlisted in the ABESIT Internal Hackathon for Smart India Hackathon 2025.
Team: AlgoRangers
Institution: ABES Institute of Technology
Hackathon: Internal Hackathon @ ABESIT for Smart India Hackathon 2025
| Member | Role |
|---|---|
| Ashish Sharma | Backend Development β’ System Architecture |
| Utkarsh Gupta | Flutter Development |
| Pakhi Tyagi | UI/UX Design |
| Naman Singhal | Research, Documentation & Testing |
πΊ YouTube Demo
π Project Presentation
- π Live Bus Tracking
- β±οΈ Accurate ETA Prediction
- π Nearby Bus Stops
- πΊοΈ Route Search
- π Trip Planning
- π‘ Live Bus Status
- π Offline Route Access
- β Favorite Routes
- πΆ Low Data Usage
- π± Responsive Mobile UI
- π Live GPS Location Sharing
βΆοΈ Start & End Trips- π£οΈ Route Selection
- π Trip Status Updates
- π Bus Management
- πΊοΈ Route Management
- π Station Management
- π¨β
βοΈ Driver Management - π Live Fleet Monitoring
- π Dashboard Analytics
- Flutter
- REST APIs
- Socket.IO Client
- Node.js
- Express.js
- MongoDB
- Mongoose
- Socket.IO
- JWT Authentication
- bcrypt
- OSRM Routing API
- Cloudinary (Optional)
- Render
ββββββββββββββββββββ
β Flutter App β
ββββββββββ¬ββββββββββ
β
REST + Socket.IO
β
ββββββββββΌβββββββββ
β Express Server β
ββββββββββ¬βββββββββ
ββββββββββββββββββββΌβββββββββββββββββββ
β β β
Authentication Trip Service Live Tracking
β β β
ββββββββββββββββββββΌβββββββββββββββββββ
β
MongoDB Database
- Driver starts a trip and begins sharing GPS coordinates.
- The backend receives location updates.
- Smart validation filters unnecessary updates.
- Important location changes are stored.
- Live locations are broadcast through Socket.IO.
- Connected passengers instantly receive updates.
- ETA is recalculated dynamically based on the latest location.
LokBus is specifically designed for regions with unstable or slow internet connectivity.
- Smart location throttling
- Distance-based database updates
- Reduced network requests
- Socket.IO instead of continuous polling
- Compressed payloads
- Cached route information
- Offline trip planning
- Efficient bandwidth utilization
- Register
- Login
- JWT Authentication
- Create Bus
- Update Bus
- Delete Bus
- Get Bus Details
- Route Management
- Stops
- Timings
- Start Trip
- End Trip
- Current Trip
- ETA Calculation
- Driver Location Updates
- Passenger Tracking
- Live ETA
location-update
trip-start
trip-end
join-trip
leave-trip
live-location
eta-update
git clone https://github.com/stackdev-ash/LokBus.gitcd backend
npm install
npm run devcd frontend
flutter pub get
flutter runContributions are always welcome.
-
Fork the repository.
-
Create a feature branch.
git checkout -b feature/NewFeature- Commit your changes.
git commit -m "Add New Feature"- Push to GitHub.
git push origin feature/NewFeature- Open a Pull Request.
