Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 749 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 749 Bytes

WaChatConverter

WhatsApp conversations can be exported from the app in a .txt format. However, the .txt files are not easy to read. This tool takes the .txt file, parses it, generates a HTML page with CSS styling, and compiles the page into a pdf using wkhtmltopdf.


This project is built with stack. Make sure you have stack and wkhtmltopdf installed. The application is run with stack run [path to chat.txt].

Note

The app requires the version of wkhtmltopdf with the Qt patch. On Arch, you need to install the wkhtmltopdf-static package from AUR.

Parsing doesn't work

WhatsApp might change the format of the .txt file in the future, in which case you might have to fiddle with the parse functions in Lib.hs.