A browser interface to Telegram’s API. Provides modules for connecting, signing in and communicating via Telethon. Generates files containing messages and metadata. It also includes additional modules for data analysis. telegramtrac is a fork of the Python package Telegram Tracker.
The application is available on Streamlit Community Cloud with limited server resources.
Note
The application can be resource-intensive, and the free Streamlit Cloud Community option is not sufficient. Therefore, setting up the development environment and running locally may be more effective for Telegram channels with a lot of activity.
-
Create your API credentials here
-
Enter the input
api_id
,api_hash
andphone
(e.g., +55912348765), then click on thesend credentials
button
- A 5-digit code will be send to your Telegram app
- Enter the input
code
andpassword
(optional), then click on thesign in
button
- A confirmation message will be send to your Telegram app
- Enter the input
channels (semicolon separated)
, then click on thetrac
button
- It may take a few minutes...
-
Switch tabs to preview or download the data
-
To finish and delete all credentials/session files, click on the
delete session files
button
- Telegram API credentials
- Python 3.8+
$ git clone git@github.com:claromes/telegramtrac.git
$ cd telegramtrac
$ pip install -r requirements.txt
$ streamlit run app.py
Streamlit will be served at http://localhost:8501
- Streamlit Cloud
- "sqlite3.OperationalError: database is locked" issue on long-running requests
- Do not displays requested data
-
requirements.txt
installation on Streamlit Cloud
- "sqlite3.OperationalError: database is locked" issue on long-running requests