← Software

SnapArchive Walkthrough · mock photos/friends

Music room

Everyone says it'd be great to delete social media and be more in touch with the world. Everyone also has excuses for why they won't do it. For me, it was that I didn't want to lose thousands of memories only accessible on Snapchat. SnapArchive is a Python app I built to save about 5 years of photos and videos so I could get off of social media. It turned my data export into an archive sorted by date and by who sent each file, with its own viewer.

This demo uses mock photos and friends, showcasing how easy it is to use and the value it brought me. The numbers in the captions come from my real archive.

Controls: Space pauses, the arrow keys jump between chapters, and the bar under the video jumps anywhere.

0:00
Read the walkthrough as text
  1. The export

    Before deleting Snapchat, I downloaded my data, 22,085 files in 12 folders.

    Each name has a date. Who sent it is only in separate index files.

    SnapArchive reads all of it into one database first.

  2. Who sent what

    It finds the sender three ways. First, exact ID matches from chat history.

    Second, it reads each video's capture time from the file and matches the snap log within 3 seconds.

    Third, days when only one person sent anything. That covered 61% of files.

  3. The sorter

    I sort the rest myself. In testing, its top 3 guesses had the right friend 87% of the time.

    One key per photo, and each choice saves right away.

    Sped up, it looks like this. Backtick means same as last, and E favourites a photo. I sorted 2,270 files this way.

    Backspace takes back the last one.

  4. The archive

    Every file ends up dated and in order, July 2021 to August 2026, with month headers.

    Chat media gets a folder for each friend or group chat.

    Captions and stickers go back on the photos they came with. One click hides them.

  5. Fixing the export

    Snapchat supposedly cuts videos into 10-second pieces, but 1,442 of 1,448 were complete clips.

    A second copy sorted by friend takes 0.02 GB, because it uses hardlinks instead of copies.

    Deleting moves files to the Archive. Erasing for good means typing DELETE, and it's logged.

  6. Runs anywhere

    It runs from a USB stick on any Windows PC, with its own Python.

    Photos stream through the app, so they never show up in Windows' recent files.

Stock photos from Unsplash by Ryan Mcguire, Noel Lopez, Elias Carlsson, Justin Leibow, Luke Chesser, Daniel Ebersole, Daniel Robert, müllermarc, Dietmar Becker, Ben Moore, Jassy Onyae, Sebastian Muller, Matthew Skinner, Linh Nguyen, Margaret Barley, Oleg Chursin, Nicholas Swanson, Christopher Sardegna, Ilham Rahmansyah, Steven Spassov, petradr and Florian Klauer. The friends are made up.