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_hashandphone(e.g., +55912348765), then click on thesend credentialsbutton
- A 5-digit code will be send to your Telegram app
- Enter the input
codeandpassword(optional), then click on thesign inbutton
- A confirmation message will be send to your Telegram app
- Enter the input
channels (semicolon separated), then click on thetracbutton
- 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 filesbutton
- Telegram API credentials
- Python 3.8+
$ git clone [email protected]: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.txtinstallation on Streamlit Cloud
- "sqlite3.OperationalError: database is locked" issue on long-running requests