A simple web application that monitors your vehicle speed using GPS and provides visual and audible alerts when you exceed a configured speed limit.
https://kkshiva.github.io/Car-speed-limit-alert/
- Real-time GPS speed tracking
- Custom speed limit setting
- Audible overspeed alerts
- Visual speed warnings
- Mobile-friendly design
- Full-screen mode support
- Motion sensor status display
- Acceleration sensor readings
- GPS accuracy information
- Works directly in a web browser
- No installation required
- Open the application in your browser.
- Allow Location access when prompted.
- Set your desired speed limit.
- Start driving.
- The app continuously calculates your speed using GPS.
- When your speed exceeds the configured limit:
- A visual warning is displayed.
- An audible alert is played.
| Permission | Purpose |
|---|---|
| Location | Calculate real-time speed using GPS |
| Motion Sensors (Optional) | Detect motion and acceleration |
| Audio | Play overspeed warning alerts |
- HTML5
- CSS3
- JavaScript
- Geolocation API
- Device Motion API
- Web Audio API
This application is designed for use on Android phones while driving.
Due to Android Auto platform restrictions, web applications cannot be directly integrated into the Android Auto interface. However, the application can run on an Android device and provide speed monitoring and alerts through the device.
- Google Chrome (Android)
- Microsoft Edge
- Samsung Internet
- Brave Browser
- Other Chromium-based browsers
git clone https://github.com/kkshiva/Car-speed-limit-alert.gitOpen index.html in a modern browser.
Or start a simple local server:
python -m http.server 8000Then open:
http://localhost:8000
Add screenshots here:
<img width="358" height="720" alt="image" src="https://github.com/user-attachments/assets/6ea72448-2e16-4dea-9b57-5f2311b6966f" />
<img width="334" height="806" alt="image" src="https://github.com/user-attachments/assets/bf75d301-4fbb-48a8-bbe8-530fff6ddeea" />
- GPS speed accuracy depends on device hardware and signal quality.
- Initial GPS lock may take a few seconds.
- Speed readings may vary slightly from the vehicle speedometer.
- Motion sensor support varies by device and browser.
- Continuous GPS usage may increase battery consumption.
- Speed monitoring during road trips
- Speed awareness in urban areas
- Testing GPS speed accuracy
- Simple speedometer replacement for cycling or walking
- Driver assistance alerts
- Dark mode
- Screen wake lock support
- Speed history graph
- Distance tracking
- Trip statistics
- Custom alert sounds
- Road speed limit integration
- Progressive Web App (PWA) support
Contributions are welcome.
- Fork the repository
- Create a feature branch
- Commit your changes
- Push the branch
- Open a Pull Request
MIT License
Feel free to use, modify, and distribute this project.
K. Shiva
GitHub: https://github.com/kkshiva
Project: https://kkshiva.github.io/Car-speed-limit-alert/
This application is intended as a driving aid only. Always follow local traffic laws and rely on your vehicle's instruments and road signage while driving.