Skip to content

Instantly share code, notes, and snippets.

View hamadmh's full-sized avatar

Mohammed Diary hamadmh

  • 21:15 (UTC -12:00)
View GitHub Profile
@contolini
contolini / mobile-phone-tracking-website.md
Last active June 1, 2024 00:51
How to create a simple real-time location tracking website a la https://whereis.contolini.com

The steps below require a smartphone running Android. If you're an iPhone user you'll have to find an appropriate iOS app for step #4. Maybe this?

  1. Copy this HTML file to wherever you want your page to live.
  2. Create an account at MapBox and generate an API token on your account page.
  3. Replace my API token with yours in the HTML file.
  4. Install GPS Logger for Android on your phone.
  5. Create an account at ThingSpeak and get an API key. We'll use ThingSpeak to store your GPS coordinates.
  6. Create a new ThingSpeak channel. Enable all eight fields and make the channel public. It should look like this.
  7. R