Gain insights into your Telegram chats and uncover trends in your messaging behavior.
- Streamlit - web interface
- Plotly - interactive charts and graphs
- Pandas - data processing
- WordCloud - word visualization
Obviously, the easiest workaround is to run app locally and it's really easy even if you haven't done any of these things before.
After some thinking, it was decided to leave the app local only.
Your data never leaves your computer. Everything runs locally.
- Git
- uv - Python package manager (install here)
- Python 3.13+ (uv will install if not found)
- Open Telegram Desktop (not mobile, not web version, not MacOS native). You need cross-platform Qt version.
For macOS users: You can install Telegram Desktop alongside the native version from the official download page
-
Go to Settings → Advanced (scroll down) → Export Telegram data
-
We need
Personal Chats+Private groups(uncheckOnly my messagesthere), so to speed up the process I recommend you check only them and uncheck media export. Then choose JSON format and export your chats.
- Wait for the export to complete.
git clone https://github.com/undeluro/tglens.git && cd tglensuv run streamlit run app.pyThat's it.
Found a bug? Have an idea? Feel free to open an issue or submit a pull request.
Made with ❤️ for curious minds who want to understand their digital conversations better.
