work/packrat
Backup box prototype
Packrat
A backup box built for Packrat, a family photo service: plug in an iPhone, press one big key, and it makes an encrypted full backup.
Prototype
Packrat is a family photo service: help bringing photos and videos together from old phones, computers, drives, discs and apps, sorting them out and planning backup copies. The Packrat page says what it offers. This page is about the backup box being built for it, the first hardware-shaped thing on this site. There is no keyboard and no app to install. The whole interface is a Stream Deck's glowing keys, a voice from a small speaker and, if you want one, a status screen.
- Runs on
- A small Linux box with a Stream Deck and a speaker; an optional status screen
- Built with
- Rust (capture engine, iPhone protocols, appliance daemon, Stream Deck and direct-to-display UIs)
- Started
- October 2026
Inside the box
One key, one encrypted backup
Inside the backup box: one key starts the job, the phone's data is encrypted from the first byte, and the backup stays on the box.
The walk-up flow
Plug the phone in. The keys say Unlock your iPhone, then Tap Trust on your iPhone, then a green Back up now. During the backup a progress bar runs across the keys with a time estimate, a spoken cue marks the start and the end, and a green check says Done, safe to unplug. A hold-to-stop key is always there.
Errors are written for people: not enough space, phone unplugged halfway (Resume or Start over), Trust not given, password needed, unsupported phone, or a plain "Something went wrong" with Try again.
The screen
One sentence at a time
Every state of the appliance's status screen says what is happening and what to do next, in words a non-technical person can act on.
Status screen: asking you to tap Trust on the phone. Ready, with the size of the backup to copy. Backing up, 42% through. Done, safe to unplug. A plain-language error: not enough space.
The keys
A Stream Deck as the only buttons
The Stream Deck, ready, with the green Back up now key. Progress running across the keys. Done. Trust was not given, with a way forward.
Private by design
Backups are encrypted from the first byte and written to the box itself; the box sends nothing to the cloud or anywhere else. Where any further copies live is part of the backup plan agreed with each family. The phone's pairing records are deleted after each job. Photos that only exist in iCloud cannot be captured, and the box says so rather than pretending.
How it's built
- A Rust workspace: an encrypted capture engine with a job journal and consent, the iPhone side (USB multiplexing, lockdown pairing, encrypted MobileBackup2 and photo transfer) with a wire-level mock iPhone, a small typed state machine served over a local socket, the appliance daemon, the Stream Deck UI and a screen UI that draws straight to the display.
- One layout abstraction drives several Stream Deck models, from the six-key Mini to the 32-key XL.
- A subtle safety catch: the USB multiplexer must start with pre-flight disabled, or it writes a plaintext pairing record.
- Both UIs render every state headlessly in simulators, which is where these pictures come from. 151 tests run against the fake iPhone.
- Built in parallel against a fixed contract (core, and deck plus deployment), then merged on an integration branch. Not yet deployed to the box; the first real-phone test is still to come.









