KnugiHK / WhatsApp-Chat-Exporter

A customizable Android and iOS/iPadOS WhatsApp database parser that will give you the history of your WhatsApp conversations in HTML and JSON. Android Backup Crypt12, Crypt14, Crypt15, and new schema supported.
https://wts.knugi.dev/
MIT License
518 stars 76 forks source link

[FEATURE] Per Chat JSON Files #86

Open PrabhakarManara opened 4 months ago

PrabhakarManara commented 4 months ago

Is your feature request related to a problem? Please describe. I think a way to generate JSON code per contact will be very useful. With that others can make custom UI as they please.

Describe the solution you'd like Json file which contains text messages and links to media wherever necessary

Additional context Add any other context or screenshots about the feature request here.

KnugiHK commented 4 months ago

Hi. Does adding the --json flag address your needs?

PrabhakarManara commented 4 months ago

adding --json generates a JSON file containing chats of all contacts. when i tried, I got a 100mb json and cant open it and use it. I wish individual jsons(one json file per contact) are created like how individual htmls are created.

KnugiHK commented 4 months ago

I see. I implemented it in 6e8e0d7. You can try that in the dev branch and with the --json --per-chat flags.