News for hackers. Stuff that matters.
Re:Show HN: imessage-exporter, a full-featured CLI app and l... by Given_47 on Tuesday August 01, 2023 @02:55PM (#36960705)
Oh this looks great! I’ve crudely been querying the iMessage’s chat.db to export convos to txt files so this is a much more elegant option
Re:Show HN: imessage-exporter, a full-featured CLI app and l... by 0cf8612b2e1e on Tuesday August 01, 2023 @03:44PM (#36961592)
Do you have any pointers on how that is done? I assume/hope it is just a sqlite database so the only trick is yanking the file from the phone?
Re:Show HN: imessage-exporter, a full-featured CLI app and l... by Given_47 on Tuesday August 01, 2023 @03:51PM (#36961686)
Yea I saw iPhone usage was mentioned in the docs and I have no idea how that’s done. I’ve only tried through my laptop with iMessage sync by issuing

$ sqlite3 ~/Library/Messages/chat.db

and then performing some sql commands

Re:Show HN: imessage-exporter, a full-featured CLI app and l... by css on Tuesday August 01, 2023 @03:53PM (#36961715)
The database file is the same across both platforms, you just need to choose the right path: https://github.com/ReagentX/imessage-exporter/blob/c73bc4d66...

You can get this file from an unencrypted iOS backup: https://github.com/ReagentX/imessage-exporter/blob/c73bc4d66...

Re:Show HN: imessage-exporter, a full-featured CLI app and l... by 0cf8612b2e1e on Tuesday August 01, 2023 @04:13PM (#36962032)
How do I make a backup without the Cloud on Linux?

Instructions I found from Apple (https://support.apple.com/en-us/HT203977) are to use the Cloud, a Mac, or Windows +iTunes.

Re:Show HN: imessage-exporter, a full-featured CLI app and l... by css on Tuesday August 01, 2023 @04:37PM (#36962419)
Maybe something like https://github.com/libimobiledevice/libimobiledevice? I'm not sure, I haven't tried to do this.
Re:Show HN: imessage-exporter, a full-featured CLI app and l... by pabs3 on Wednesday August 02, 2023 @06:38AM (#36969114)
libimobiledevice definitely works for this, I've done it before.