π RideSync β Smart Ride Sharing Platform
RideSync is a real-time ride sharing web application built using Python, Streamlit, and SQLite that connects passengers and drivers for solo or shared rides within a defined location network.
The platform supports:
Passenger ride booking
Driver ride acceptance
Shared ride matching
Live request management
Ride history tracking
Route visualization on map
The system simulates a mini ride-hailing ecosystem similar to Uber/Ola for educational and prototype purposes.
π Features
β User Authentication (Login / Signup) β Passenger & Driver Modes β Solo and Shared Ride Booking β Real-Time Ride Requests via SQLite β Smart Ride Matching for Shared Trips β Interactive Route Map using Folium β Distance & Price Calculation β Driver Earnings Tracking β Ride History with Statistics β Download Ride History (CSV) β Auto Cleanup of Expired Requests β Responsive Streamlit Dashboard
π§ How It Works
The application uses:
Streamlit session state for UI state management
SQLite database (ridesync.db) for persistent storage
OSRM API for route distance calculation
Folium maps for visualization
Custom pricing algorithm based on distance and vehicle type
The database contains three main tables:
users β login credentials
rides β completed ride history
active_requests β live ride booking system
The system automatically removes expired ride requests and prevents duplicate bookings.
π Project Structure RideSync/ βββ Ridesync.py # Main Streamlit application βββ ridesync.db # SQLite database βββ README.md # Project documentation
π οΈ Technologies Used
Python 3
Streamlit
SQLite3
Pandas
Folium
OSRM Routing API
Polyline
Requests
π Demo Login
You can use dummy accounts included in the system:
Username: d1 Password: 123
Username: p1 Password: 123
π Supported Locations
The system currently supports predefined locations such as:
LJU Campus
Prahlad Nagar
Satellite
Vastrapur
Bodakdev
Navrangpura
Ambawadi
These can be expanded easily in the code.