Skip to content

Pandoc-based tool to create a pdf from the WhatsApp chat .txt file

License

Notifications You must be signed in to change notification settings

MiksuR/WaChatConverter

Repository files navigation

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.

About

Pandoc-based tool to create a pdf from the WhatsApp chat .txt file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published