SHIPPEDapp

Pictr

An iPhone app for reviewing your photo library one swipe at a time: On This Day, a Lookback by day, week, month or year, and on-device cleanup that learns what you keep. No network code, free and open source.

CREATED NOV 13, 2026 · UPDATED NOV 14, 2026

Product page on acker.cloud
acker.cloud/pictr

PROBLEM

Photo cleanup apps want a subscription and, often, your library on their servers. The ones that stay on the phone treat a library as a pile to shrink rather than years to look back through, and every one of them asks you to trust a privacy page you cannot check.

HYPOTHESIS

Everything a paid cleanup app does is available on the device: PhotoKit for the library and Apple's confirmed delete, Vision for similarity, quality and subjects, and an on-device language model for the one place prose helps. If the app holds no networking code at all, privacy becomes a grep anyone can run rather than a promise.

ARCHITECTURE

One protocol, PhotoLibraryClient, is the only code that imports Photos. Everything that decides anything (bucketing, period grouping, the taste model, streaks and goals) runs over plain value types and is tested with fakes. A LibraryScanner actor owns sized assets, Vision analysis and learning traits off the main actor; a @MainActor model drives SwiftUI. Swift 6 strict concurrency, warnings as errors, no dependencies.

Cleanup thresholds come from measurements on a phone, because Vision's models do not run in the simulator. Learning is a logistic model over ten photo facts plus two signals that learn from every decision anywhere in the library: confidence-weighted log-odds over Vision's subject tags, scored leave-one-out, and a vote of the seven nearest decided photos by feature-print distance. Traits persist and are captured before a delete, because a deleted photo cannot be read again.

The interface is red-and-black Liquid Glass over a drifting MeshGradient, with native toolbar buttons and red kept for graphics only.

STACK

Swift 6SwiftUIPhotoKitVisionFoundationModelsXcodeGen

RESULT

v0.1.1 is public under the MIT license with a README, contribution guide, protected main and a release. It runs daily on the maintainer's iPhone. Privacy, terms and help live on acker.cloud/pictr, linked from the app's Settings. There is no App Store listing yet.

MEASURED

metricvaluebaseline
networking call sites0 · one grep, run before every commit, including PrivateCloudCompute-
unit tests107 · pure logic over value types; plus 3 Vision tests that run only on a device-
Swift6,821 lines · 54 files; 1,565 more in tests-
similar-shot threshold0.30 · feature-print distance; near-duplicates measured 0.001 to 0.003, unrelated 0.7 to 1.0-
blur false positive on a smooth gradient0 · sharpness 30 alone looked blurry; aesthetics 0.76 cleared itflagged
text contrast on black17.3:1 · secondary 8.3:1; red is 3.6:1 and carries graphics only-
empty directory to public v0.1.12 days · 2026-11-13 to 2026-11-14-

LEARNINGS

  • A green simulator is evidence about the simulator. A fill-scaled portrait photo overflowed its card by about 165 points and swallowed the header's buttons on a real phone; the simulator's seed photos were landscape and hid it.
  • A read-only device suite that only opens screens is safe to run against a real library and found four bugs the simulator passed.
  • Ask whether the learning is fake before a user does. Version one was rules with tuning; asking found that most decisions never reached training and that every confirmed delete was forgotten.
  • Leave-one-out matters for features computed from labels: without it, a training photo votes for itself.
  • Two blur signals beat one. Laplacian sharpness alone called a clear sky blurry; requiring a low Vision aesthetics score as well fixed it.
  • Hand-built glass buttons in a toolbar look cheap next to the system's; native ToolbarItems get Apple's glass and press feedback for nothing.
  • Publishing is a stage with its own bugs: a personal email in every commit, an absolute home path in a committed settings file, and a release that a deploy gate correctly refused to ship without a person.

PROVENANCE

Built on 2026-11-13 and 2026-11-14 in Claude Code, with Opus 5.5 writing the code and the tests. Human contribution: the idea, every decision about scope and look, and every check by eye on a physical iPhone, including the one that found the dead Settings button. The first milestone carries intent, spec, plan, claims and verify artifacts under .buildloop/ in the repository; later rounds were verified by tests and on-device walkthroughs rather than a separate review model.

TAGS

iosswiftuivisionon-device-mlprivacyliquid-glass