Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 947 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 947 Bytes

TelegramMap

Using Telegram's Near-By feature to geolocalize people around the globe 🧭

Only the first three letters of each name are kept. If the user has no name then the the first 4 characters of the username are used ('@' included)

Installation

pip3 install scripts/requirements.txt

Setup

Create a copy of .env.sample, name it .env and add your Telegram api information and you're ready to go!
You can also tune other settings in the .env file to choose how to and where to execute the mapping.

Usage

cd scripts
python3 app.py

The script will output the results in a temporary file (named based on the starting time) in the data directory (by default) and then merge that file with the file (FILE_PATH) specified in the .env.
The merging process combines multiple .csv files into a single one and removes possible duplicates (Points data is preserverd)