← Back

Location Tracker

How does this work?

The System

It's pretty simple. At sunrise and sunset, an iOS Shortcut sends my iPhone's current location to the /api/location route in a POST request. The server then stores the data in a PostgreSQL database (which is overkill) and serves it to visitors.

This gives you a real-time view of where I am in the world, updated automatically throughout the day. It's useful for friends and family, and honestly just a fun little project.

If you're interested in how this works technically, you can find the complete source of this entire website on GitHub.