Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tejado/telegram-nearby-map
Discover the location of nearby Telegram users 📡🌍
https://github.com/tejado/telegram-nearby-map
discover gps locate location map nearby node nodejs openlayers osm privacy tdlib telegram trilateration
Last synced: 10 days ago
JSON representation
Discover the location of nearby Telegram users 📡🌍
- Host: GitHub
- URL: https://github.com/tejado/telegram-nearby-map
- Owner: tejado
- License: gpl-3.0
- Created: 2021-01-14T18:45:23.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-17T15:50:41.000Z (9 months ago)
- Last Synced: 2024-10-15T17:42:15.921Z (24 days ago)
- Topics: discover, gps, locate, location, map, nearby, node, nodejs, openlayers, osm, privacy, tdlib, telegram, trilateration
- Language: JavaScript
- Homepage:
- Size: 41.5 MB
- Stars: 1,064
- Watchers: 24
- Forks: 156
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Telegram-OSINT - Telegram Nearby Map
README
# Telegram Nearby Map
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](https://blog.ahmed.nyc/2021/01/if-you-use-this-feature-on-telegram.html) and a [Hacker News discussion](https://news.ycombinator.com/item?id=25641399).
Developed by [github.com/tejado](https://github.com/tejado).
## How does it work?
Every 25 seconds all nearby users will be received with [TDLib](https://core.telegram.org/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
1. Create an API key for your Telegram account [here](https://my.telegram.org)
2. Download the repository
3. Create config.js (see config.example.js) and put your Telegram API credentials in it
4. Install all dependencies: npm install
5. Start the app: npm start
6. Look carefully at the output: you will need to confirm your Telegram login
7. Go to http://localhost:3000 and have fun## Changelog
### 2023-09-23
- Switched to [prebuild-tdlib](https://github.com/Bannerets/tdl)
- Updated all dependencies
- Bugfix of the search distance field### 2021-11-13
- Added [tdlib.native](https://github.com/ForNeVeR/tdlib.native/releases) for Linux (now it works in GitHub Codespaces)
- Updated all dependencies
- Bugfixes