Telegram-Nearby-Map – Discover The Location Of Nearby Telegram Users
Telegram Nearby Map uses OpenStreetMap and the official Telegram library to find the position of nearby users.
Please note: Telegram’s API was updated a while ago to make nearby user distances less precise, preventing exact location calculations. Therefore, Telegram Nearby Map displays users nearby, but does not show their exact location.
Inspired by Ahmed’s blog post and a Hacker News discussion. Developed by github.com/tejado.
How does it work?
Every 25 seconds all nearby users will be received with TDLib from Telegram. This includes the distance of every nearby user to “my” location. With three distances from three different points, it is possible to calculate the position of the nearby user.
This only finds Telegram users which have activated the nearby feature. Per default it is deactivated.
Installation
Requirements: node.js and an Telegram account
- Create an API key for your Telegram account here
- Download the repository
- Create config.js (see config.example.js) and put your Telegram API credentials in it
- Install all dependencies: npm install
- Start the app: npm start
- Look carefully at the output: you will need to confirm your Telegram login
- Go to http://localhost:3000 and have fun
Changelog
2023-09-23
- Switched to prebuild-tdlib
- Updated all dependencies
- Bugfix of the search distance field
2021-11-13
- Added tdlib.native for Linux (now it works in GitHub Codespaces)
- Updated all dependencies
- Bugfixes
A considerable amount of time and effort goes into maintaining this website, creating backend automation and creating new features and content for you to make actionable intelligence decisions. Everyone that supports the site helps enable new functionality.
If you like the site, please support us on “Patreon” or “Buy Me A Coffee” using the buttons below
To keep up to date follow us on the below channels.