Traccar

Traccar[1] is a free and open source GPS tracking system licensed under Apache 2.0 license. Server supports more than 100 different protocols. System includes web interface to view current device location and historical tracks on map.

Traccar Client

Traccar Client is a phone app available for both Android and iOS platforms that allows to track phone location using various web GPS tracking systems.
[2][3]