Skip to content

Latest commit

ย 

History

History
87 lines (57 loc) ยท 3.12 KB

File metadata and controls

87 lines (57 loc) ยท 3.12 KB

Telegram Chat Analyzer

preview.mp4

๐ŸŒ Live Demo

Try the Telegram Chat Analyzer online


Telegram Chat Analyzer is an advanced and interactive web application designed to help you dive deep into your Telegram chat data. Whether you're analyzing group chats, personal conversations, or professional discussions, this tool provides a comprehensive suite of visualizations and metrics to uncover patterns, trends, and insights.

๐ŸŒŸ Key Features

  • ๐Ÿ“Š Message Statistics: Analyze average message length, maximum message length, and message counts for each participant.
  • ๐Ÿ”ฅ Activity Heatmap: Discover when conversations are most active during the week and day.
  • ๐Ÿ“ˆ Message Distribution: Visualize the share of messages contributed by each participant.
  • ๐ŸŽฅ Media Analysis: Explore the types of media shared, including photos, videos, stickers, and more.
  • ๐Ÿ˜‚ Emoji Insights: Identify the most frequently used emojis and their distribution among participants.
  • ๐Ÿ“… Yearly Filters: Focus on specific time periods with year-based filtering.
  • ๐Ÿ“„ Exportable Reports: Generate and download PDF reports of your visualizations for sharing or offline analysis.

๐Ÿš€ Installation

Follow these steps to set up Telegram Chat Analyzer on your local machine:

  1. Clone this repository:
git clone https://github.com/yourusername/Telegram-chat-analyzer.git
cd Telegram-chat-analyzer
  1. Install the required dependencies:
pip install -r requirements.txt

๐Ÿ› ๏ธ Usage

  1. Export Your Telegram Chat Data:

    • Open Telegram (desktop app).
    • Select the chat you want to analyze.
    • Click on the three dots (โ‹ฎ) in the top right corner.
    • Select "Export chat history."
    • Choose JSON format and download the file.
  2. Run the Application:

streamlit run index.py
  1. Upload and Explore:
    • Upload your exported JSON file.
    • Use the interactive interface to explore your chat data through various visualizations and metrics.

๐Ÿ“š Dependencies

Telegram Chat Analyzer relies on the following Python libraries:

  • Streamlit: For building the interactive web application.
  • Pandas: For data manipulation and analysis.
  • Plotly: For creating interactive visualizations.

๐Ÿ”’ Privacy and Security

Your privacy is our top priority. Telegram Chat Analyzer:

  • Runs entirely on your local machine or browser
  • Never uploads your chat data to any server
  • Never shares your information with third parties
  • Provides optional data anonymization features
  • Allows you to delete all imported data with one click

๐Ÿค ContributingWe welcome contributions to improve Telegram Chat Analyzer! Feel free to submit issues, feature requests, or pull requests to the repository.

๐Ÿ“œ License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.


๐Ÿ’ก Pro Tip

Want to customize the visualizations or add new features? Dive into the plot.py and main.py files to tweak the code and make it your own!