Trackmyd-bot | GPS Tracking Telegram Bot

Node.js Telegram

trackmydbot

Overview

trackmyd-bot lets you monitor the location of your phones, tablets, or any GPS-enabled device directly from Telegram. It works by receiving location data from GPSLogger (Android) and fetching positions through a simple self-hosted backend API.

Perfect for personal tracking, family safety, vehicle monitoring, lost device recovery, or keeping an eye on equipment — all under your full control.

It integrates with:

  • GPSLogger (free Android app) → sends periodic location updates
  • trackmyd-api (self-hosted backend) → stores and serves device positions securely

🔗 GitHub Repository


🌟 Key Features

  • Simple Telegram Commands

    • /add — Register and get configuration for a new device (URL, HTTP headers, request body)
    • /position <device> — Get the latest location with interactive map preview and details
  • Easy Device Setup
    One-time configuration in GPSLogger using the exact payload the bot generates — no manual URL crafting needed.

  • Secure & Private
    Supports Basic Authentication between bot and your API. Only authorized Telegram users can access positions.

  • Real-time-ish Tracking
    Location updates as frequently as GPSLogger is configured to send them (every few seconds/minutes).

  • Self-hosted & Open Source
    Run it on your server, VPS, Raspberry Pi, or anywhere Node.js works.

  • Minimal & Lightweight
    No heavy frameworks — just clean JavaScript + Telegram Bot API.


🛠 Tech Stack

  • Language & Runtime: Node.js + JavaScript
  • Required Projects:
    • trackmyd-api — self-hosted location storage & API
    • GPSLogger (Android app) — free & open-source GPS logging tool

Built with ❤️.