from Hacker News

Show HN: imessage-exporter, a CLI app and library

by css on 8/1/23, 6:27 PM with 43 comments

  • by gumby on 8/1/23, 7:16 PM

    This is quite nice.

    iMessage doesn't keep your whole message history on-device. You can scroll back and it will fetch a bit more each time, but that's it.

    Is there anyway to pull back to the beginning of time into the local database? I'd like to retrieve some specific old messages from a friend who has passed away. If I could get them out I could search (I know what I am looking for) but it would involve an unfeasible amount of "pull to fetch more"

  • by tikkun on 8/1/23, 6:56 PM

    The image on the readme that talks about what the product does is a really nice way to do that - and in fact it's better than talking about what the product does because it's an example of an actual export - thanks for making this and for having a great readme
  • by mike503 on 8/12/23, 4:16 PM

    I've been using TouchCopy for years, it supports encrypted backups as well. Not as nice as an open source tool, but it does work and it seems to get all the messages, attachments, everything. It does cost a little money, but it's been the only reliable thing that continues to work.
  • by tamimio on 8/1/23, 7:23 PM

    For anyone wondering, you can search your iMessages on iPhone by going to the message app, pull down and type what you want in the search bar on top.
  • by kennywinker on 8/1/23, 7:41 PM

    It's downright criminal that apple doesn't provide tools to backup and archive imessages. I have like 40gb of messages on my phone that I do not want to delete, but I don't need them on my phone.
  • by Given_47 on 8/1/23, 6:55 PM

    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
  • by howmayiannoyyou on 8/1/23, 7:35 PM

    iMessage... why they refuse to permit users to file, tag, archive, print & share messages is a mystery to me. More and more of my clients want to communicate via text message.
  • by zer0x4d on 8/1/23, 8:14 PM

    Dealing with iMessage threads during Discovery was a nightmare. I wish I knew about this tool when I needed it
  • by demondemidi on 8/2/23, 4:29 AM

    Hey can this merge two iMessage databases? I have one from an old machine and TimeMachine biffed something, so now I have two copies I'd like to combine.
  • by smcleod on 8/2/23, 12:19 AM

    I've used this several times - it's really very good.
  • by Thoeu388 on 8/1/23, 7:17 PM

    Nice, but it needs continuous integration!

    Something that runs in docker container on my home server. If my phone gets stolen, I have 1 hour old backup....