An open API service indexing awesome lists of open source software.

https://github.com/antrubtor/socialstats

Analyze your personal data from Discord, Instagram, Snapchat, and WhatsApp. View your call durations, response times, voice messages, and messaging activity in clean Excel charts.
https://github.com/antrubtor/socialstats

call-duration chat-export data-analysis data-visualization discord excel instagram message-frequency message-history snapchat social-networks-statistics whatsapp

Last synced: 2 months ago
JSON representation

Analyze your personal data from Discord, Instagram, Snapchat, and WhatsApp. View your call durations, response times, voice messages, and messaging activity in clean Excel charts.

Awesome Lists containing this project

README

          

# ๐Ÿ“Š SocialStats

**SocialStats** is a tool that analyzes your personal data from various social networks to provide **clear and visual statistics** about your online interactions.
It aggregates, merges, and visualizes advanced stats (response delay, activity over time, call durations, etc.) into **Excel graphs** that are easy to read and understand.

---

## ๐Ÿงฉ Features

* ๐Ÿ“… See how many messages you sent and received over time
* โฑ๏ธ Measure your average response delay and your contactsโ€™ (Instagram, Snapchat, WhatsApp)
* ๐Ÿ• View your activity by **hour**, **day**, **week**, **month**, or **year**
* ๐Ÿ“ž Get your total voice call time (Discord only)
* ๐ŸŽ™๏ธ See your total voice message time (Instagram, Snapchat)
* ๐Ÿ“Š Compare how much you interact with different people
* ๐Ÿ“ฆ Merge all your networks into a **single unified Excel file**

> [!TIP]
> Donโ€™t forget to check the **"Global"** sheet in the Excel file โ€” it contains more specific and aggregated information.

> [!WARNING]
> Too many contacts = unreadable Excel.
> The program will ask you to define a **minimum number of messages per conversation** so only relevant ones are included.

---

## ๐Ÿ› ๏ธ Requirements

- [Python 3.10+](https://www.python.org/downloads/)
- [pip](https://pip.pypa.io/en/stable/installation/)
- [Excel](https://www.microsoft.com/en-us/microsoft-365/excel) or [LibreOffice](https://www.libreoffice.org/)

---

## ๐Ÿš€ Setup & Run

### ๐Ÿ”ต On Windows

```
python setup.py
.venv\Scripts\activate
python main.py
```

### ๐ŸŸข On Linux / macOS

```
python3 setup.py
source .venv/bin/activate
python3 main.py
```

> [!WARNING]
> If you encounter any bug, please open an **issue** and explain the problem in detail โ€” so I can fix it quickly.

---

## ๐Ÿ—‚๏ธ How to download your data

### ๐ŸŸฃ Discord *(can take up to 30 days)*

1. Go to โš™๏ธ Settings > **Data & Privacy**
2. Click **Request all of my data**
3. Select **everything**

### ๐ŸŸ  Instagram *(takes less than 1 hour)*

1. Go to **Settings > Account Center**
2. Choose **Your information and permissions**
3. Click **Download your information**
4. Options:

* Date range: **All time**
* Format: **JSON**
* Media quality: **High**

### ๐ŸŸก Snapchat *(can take up to 1 day)*

1. Go to **Settings > My Data**
2. Select everything, especially **Export JSON files**
3. Choose **All time** as period

### ๐ŸŸข WhatsApp *(instant)*

1. Open a conversation
2. Tap `โ‹ฎ > More > Export Chat`
3. Choose **Without media**

---

## ๐Ÿงช JSON Export *(in development)*

Standard export of all your conversations in a **clean and unified JSON format**.
Useful for re-importing, cross-platform comparisons, or visualizations.

---

## ๐Ÿ–ผ๏ธ Media Export *(in development)*

Automatically export all **images** and **videos** from supported platforms into a single folder.

---

## ๐Ÿ“ท Example outputs








---

## ๐Ÿ“„ License

This project is licensed under the **MIT License**.
Feel free to fork or reuse โ€” just make sure to **credit [Antrubtor](https://github.com/Antrubtor)**.

---