GpsTracker  by nickfox

Open-source GPS tracking system for mobile devices

Created 11 years ago
860 stars

Top 41.7% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a comprehensive, open-source GPS tracking system for Android and iOS devices, displaying real-time and historical routes on various map providers. It's suitable for fleet management, personal safety, and research, offering a mature solution with over 2.2 million downloads since 2007.

How It Works

The system comprises native mobile clients (Android in Kotlin, iOS in Swift) that capture location data and a PHP/JS backend for receiving, storing, and processing this data. A responsive web interface allows users to view tracking information. Version 7 features a complete rewrite using modern architectures like MVVM and clean code practices, enhancing maintainability and performance.

Quick Start & Requirements

  • Server: Clone the repository, copy server files to your web directory, set permissions, configure dbconnect.php (MySQL, PostgreSQL, or SQLite), and run install.php. Requires PHP 7.4+, a web server (Apache/Nginx), and a database.
  • Android: Open clients/android-kotlin in Android Studio, update Constants.kt with the server URL, and build. Requires Android Studio 4.0+, Android SDK 21+.
  • iOS: Open clients/ios-swift/GPSTracker.xcodeproj in Xcode, update APIService.swift with the server URL, and build. Requires Xcode 16.2+, iOS 15.0+.
  • Demo: https://www.websmithing.com/gpstracker/map

Highlighted Details

  • Real-time tracking with customizable update intervals.
  • Background tracking capabilities on mobile devices.
  • Support for multiple map providers including Google Maps and OpenStreetMaps.
  • Comprehensive route history playback with distance and speed tracking.

Maintenance & Community

Actively maintained since 2007, with Version 7 being a significant rewrite. Contributions are welcome via Pull Requests. Contact information and GitHub profile are available.

Licensing & Compatibility

Licensed under the MIT License, permitting commercial use and integration with closed-source projects.

Limitations & Caveats

Legacy components (ASP.NET, Windows Phone, Java ME, WordPress plugin) are available but not actively maintained. The Android client is noted as "coming soon to Google Play."

Health Check
Last Commit

4 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
11 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.