Analytics
A web app that takes chat exports from supported platforms and generates a single HTML file containing information, statistics and interactive graphs about them. Privacy is its main concern; chat data never leaves the device when generating reports. Selfhost with Docker!
π¬ MESSAGES | π °οΈ LANGUAGE | π EMOJI | π LINKS | π CALLS | π INTERACTION | π SENTIMENT | π TIMELINE |
---|---|---|---|---|---|---|---|
You can interact with the demo here!
You can generate reports from the following platforms:
Platform | Formats supported | Text content | Edits & Replies | Attachment Types | Reactions | Profile picture | Mentions | Calls |
---|---|---|---|---|---|---|---|---|
Discord | json from DiscordChatExporter | β | β | β | β | β (until link expires) | β (as text) | β |
Messenger | json from Facebook DYI export | β | β | β | β | β | β (as text) | β |
Telegram | json from Telegram Desktop | β | β | β | β (not provided) | β | β (as text) | β |
txt or zip exported from a phone | β | β (not provided) | β
* (if exported from iOS) π¦ (generic if exported from Android) | β (not provided) | β | β (as text) | β |
* not all languages are supported, check WhatsApp.ts.
You can't combine exports from different platforms.
The contribution of new platform parsers is always welcomed π
Since all chat data always stays in the browser, there is zero risk of someone reading your chats. Note that the report HTML file contains sensitive information (one may reconstruct message contents for every message), so share your reports with people you trust.
The site does not use cookies either and uses a self-hosted version of Plausible. All events do not contain PII and the information is segmented (e.g. 1MB-10MB, etc.). Since I want full transparency, you can check the site analytics here.
You can generate reports from the command line using npx chat-analytics
:
Usage: chat-analytics -p <platform> -i <input files>
Options:
--help Show help [boolean]
--version Show version number [boolean]
-p, --platform The platform to generate for
[string] [required] [choices: "discord", "messenger", "telegram", "whatsapp"]
-i, --inputs The input file(s) to use (glob) [array] [required]
-o, --output The output HTML filename [string] [default: "report.html"]
--demo Mark the report as a demo [boolean] [default: false]
For example:
npx chat-analytics -p discord -i "exported/*.json" -o report.html
You can read docs/README.md for technical details, and docs/DEV.md for development instructions.
In docs/TODO.md you can find ideas and pending stuff to be implemented.
AGPLv3. See LICENSE.