THIS TOOL HACK THE CURRENT LOCATION AND SENDING THE OUTPUT ON THE TELEGRAM BOT THIS TOOL MADE FOR ONLY ON EDUCATIONAL PURPOSES SO CAN NOT BE MISUSE.
A lightweight, single-page web template that uses the browser's native HTML5 Geolocation API to request high-accuracy GPS coordinates and instantly transmit them to a private Telegram channel or chat via a Telegram Bot webhook.
Educational & Security Auditing Purposes Only: This project is intended solely for authorized security assessments, OSINT research, or personal automation testing. The author (whitedevil-21) does not condone or support unauthorized surveillance or malicious use of this tool.
Zero Backend Infrastructure
Operates entirely client-side using vanilla JavaScript fetch API.
Direct-to-Telegram Alerts
Leverages the official Telegram Bot API to deliver real-time notifications with precise coordinates
Instant Maps Integration
Generates a direct Google Maps link natively within the Telegram notification text for fast interpretation.
Graceful Error Handling
Provides immediate status updates for permission states, failure to connect, or lack of geolocation support.
- Set Up Your Telegram Bot & Open Telegram and search for @BotFather.
- Send the command /newbot and follow the prompts to name your bot.
- Copy the generated HTTP API Token (e.g., 8906567730:AAGb0...).
- Message your new bot or add it to a group/channel.
- Search for @userinfobot or @GetMyChatID_Bot on Telegram to fetch your personal numeric Chat ID.
- Open location.html in a text editor and update the constants at the top of the script block with your credentials
- Change Bot Token & ID or put your bot token & id.
Setup the Telegram Bot
Retrieve Your Chat ID
Edit the Source Code
- Because this utility relies strictly on front-end browser functionalities, it can be deployed instantly using several free hosting methods:
- GitHub Pages: Rename the file to index.html, commit it to a repository, and enable Pages via the repository settings.
- Local Testing: Serve locally using Python's built-in server module for short-range testing on a Local Area Network (LAN):
Distributed under the MIT License. See LICENSE for details.
Github: @whitedevil-21 Name: Amit Devi