GithubHelp home page GithubHelp logo

classicvalues / timemessage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from git-thor/timemessage

1.0 1.0 0.0 17 KB

Back up your iMessage history and attachments into sorted directories on macOS.

License: MIT License

Python 100.00%

timemessage's Introduction

TimeMessage - a macOS iMessage Backup Script

inspired by the shell script ahmbay/backup-iMessageBackup-macos

This script backs up locally stored conversations of timestamped texts and available attachements.

Not all of your iMessage data may be cached locally.

The backup is unencrypted. Make sure to encrypt the output folder, afterwards!

DISCLAIMER

THIS SCRIPT DOES NOT COME WITH ANY GUARANTEE, LIKE COMPLETENESS OF BACKUPS.

MIT LICENSE APPLIES. CHECK THE SOURCE CODE. EVALUATE THE CODE FOR YOUR OWN ENVIRONMENT.

USE AT YOUR OWN RISK! ENCRYPT BACKUPS YOURSELF!

Usage

This script has no pip dependencies or required Python packages. Your CLI tool needs full disk access, configurable in the Settings > Privacy menu.

Run the script and optionally add the location of your chats.db SQLite3 database, if it is not in the default location of the macOS ~/Library/Messages/.

usage: timemessage.py [-h] [-db DATABASE_DIRECTORY] [-o OUTPUT_DIRECTORY]

optional arguments:
  -h, --help            show this help message and exit
  -db DATABASE_DIRECTORY, --database_directory DATABASE_DIRECTORY
                        Specifies the iMessage directory (string, default: ~/Library/Messages/).
  -o OUTPUT_DIRECTORY, --output_directory OUTPUT_DIRECTORY
                        Specifies output directory of the backup (string, default: iMessage.backup_YYYY-mm-dd_HH-MM).

Let it run a backup:

python timemessage.py

Example structure

./iMessage.backup_YYYY-mm-dd_HH-MM/
    |
    |__+1234567890/
    |   |__ ...
    |
    |[email protected]/
    |   |
    |   |__attachements/
    |   |   |__ID.ext
    |   |   |__ ...
    |   |
    |   |__history.json
    |
    |__ ...

timemessage's People

Contributors

git-thor avatar

Stargazers

Classic Values avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.