I use an iPhone app called [Momento][http://www.momentoapp.com/] to archive my tweets, Facebook posts, Instagram pictures, blog posts, and personal diary notes. I want a way to compile all of that personal digital history into a format that can be preserved for my posterity like my physical written journals are.
This project takes the Momento backup database (which can be exported via the app settings) and creates a nicely-formatted LaTeX document that can then be printed.
I am starting with recognizing the formats I use but may extend it to all the data types Momento allows.
Follow these steps to use digital-history:
- In Momento, go to Settings -> Data -> Backup & Restore -> Create New Backup
- In iTunes, find the backup file created by Momento and copy it to your computer
- Rename the file from
*.momento
to*.zip
. - Unzip the file. Find the Database.momentodb file.
- Copy that into the same directory as the Python script in this project
- Rename it to
momento.db
- At the command line, run
python extractposts.py > out.tex
The output of the script is a partial LaTeX file that can be included with \input
.
- Build another script to pull down Instagram images and blog posts, embed them in the LaTeX document.