• 1 Post
  • 6 Comments
Joined 1 year ago
cake
Cake day: October 4th, 2023

help-circle


  • I just cleared all images and containers to make sure I wasn’t working with any cache and that everything went fine.

    This message is expected because we are not defining any profiles: No active profile set, falling back to 1 default profile: “default”.

    Then I would have to see what error happened after that. The only properties required are the database connection properties.That being said, you can run compose.yml in the project root.It will build an image locally.Or replace the build: ./ line with the image: ghcr.io/vitormarcal/chatvault:latest

    docker-compose -f compose.yml

    I tested these two ways here and they continue to work. Have you added database information?




  • I worked on a similar project for a long time…I don’t really have code that I can share right now, but perhaps I can offer some hints.

    Instead of exporting chats from the app (since the function is too limited) I decrypted the backup database that WhatsApp creates. This was originally possible only on rooted Android phones, but it’s now possible if the user has chosen to encrypt the backup (and the encryption key is known).

    Once the database is decrypted, it is just a matter of extracting messages and media information from it, and rebuild the chat. One of the problems here (and one of the reasons why I could not keep spending time on this project) is that Meta changed the structure of the database multiple times over the last years.

    Here you can see an example of a chat I recreated from the database. The display format is HTML, trying to replicate the WhatsApp original look.

    Let me know if you want more info. I will be happy to share!

    EDIT: It seems I cannot post a picture in the comment. Is that a limitations of this community?

    I didn’t know you could access these messages without root these days, good to know!
    I was already aware of these frequent structure changes, so I went with the simplest as a proof of concept.
    Anyway, I plan to study a little more to find out how the Whatsapp base works, I don’t rule out an experimental import of this type.
    Thanks for the information! :D