Export Conversations Plugin?

Hi I’m new to Jami, and love it! I’m coming from Matrix which is great in its own way but the peer to peer aspect of Jami makes it better IMHO as there isn’t the heavy lift of self-hosting.

One thing I really miss from Matrx, however, is the ability to export conversation history. I can’t see any way to do this in the UI, and think that a plug to allow export of the conversations into text or HTML would be ideal.

If there is some way to do this already, either through the UI or some command line tool please let me know.

Thanks for creating such a wonderful open source tool!

5 Likes

FWIW, I have found that one very quick and dirty way to get at the messages is to do a “git log --reverse” when in the conversations folder.

It’s less than ideal, and a plugin would be much better, but it does give you the conversation text (along with a lot of extra stuff I don’t necessarily want) in chronological order. :slight_smile:

I am new to jami how does one do “git log --reverse”?
excuse the noobie question?
Cheers.

https://docs.jami.net/user/faq.html#where-are-the-configuration-files-located
Find your account directory, then go to the “conversations” directory and use git in the directory corresponding to the group ID.

sorry, this makes no sense to me. the git part doesn’t any way.
I am not an advanced user of this Jami…
There is some seriously important info in a chat that needs to be rescued
I have no idea what people are talking about.
Where is the actual conversation file? "Ive been poking around in appdata and can’t see anything.

So for example on Linux it will be:
~/.local/share/jami/xxxxxx/conversations/yyyyyyyyyyy

Where xxxx is your account id, yyyyyyyyy the conv Id.

And then “git log” will print the history

I got that far to finding where conversations are,

this has to passed over to tech that I have to pay for now.
This is not helped and over my head.

After the conversations have been extracted I wont go back to using jami if backing up my own chat logs is going to be this convoluted (i understand why) and people assume others using
jami are advanced users.

thanks for half the help at least.

appdata? Are you looking for AppData\Local\jami?

I did find the conversations folder, there are two in there.
its the command lines for Git (which i figured out was and installed) that were doing my head in. to extract the entire conversation. there has been some progress at least.

I used to be a wizz at DOS, and linux/unix
that was years ago and all this is beyond me now playing catch up is quite difficult :face_with_head_bandage:

:thinking: But non-ASCII characters are still escaped.

Hmm, are you trying to get all the content of the chat or just a part of it? If you want everything, it is advisable to copy the conversations folder in its entirety, preferably with conversation_data folder.