resync
I didn't like the phone app of my Fujifilm X-T30 II, so I had Claude build one for just that camera, and the thing I wanted on my lock screen, a photo count over Bluetooth, is the one thing the camera won't tell it.
this project
- role
- owner; built with claude
- period
- 2026–
- kind
- personal
- status
- active
- stack
- swift, swiftui, imagecapturecore, corebluetooth, corelocation, activitykit, storekit, mapbox
- parts
- 7
- links
- repo
The app I didn't like
I have a Fujifilm X-T30 II, and I didn't like its phone app. That's the whole origin story. Personal software, again tells how it turned into an app of my own on Sunday 1 November 2026: I had Claude build it.
resync is that app. An iPhone companion for one camera and one user.
What I wanted was the photo count on my lock screen. It just felt right.
There's no official SDK for the camera, so the app speaks protocols that four open-source projects worked out from the outside: filmkit, libfuji, furble and fuji-cam-wifi-tool. All four are under the MIT license. And resync is not affiliated with Fujifilm. Just so we're clear.
Three jobs, three links
The camera keeps seven film recipes, sets of image settings for the JPEGs it makes, in numbered slots, C1 to C7. A geotag is the place of a photo, saved inside the file. Live view is the camera's current picture, on the phone.
The app does three jobs, and each one needs its own link to the camera:
| Job | Link |
|---|---|
| Film recipes: a library, an editor, and writes to the slots | a USB-C cable |
| Location and time for geotags, and a shutter | Bluetooth LE, the low-energy kind |
| Live view and a shutter (live view is not yet tested on this camera) | the camera's own Wi-Fi |
Recipes also go in and out as files: the app's own JSON format, a plain text format for data, and the "Key: value" text that recipe sites use.
Two halves
The camera protocols live in a library of their own, FujiKit, with no screens in it. It turns the data of a slot into settings and back, builds the Bluetooth messages, and does the first exchange on Wi-Fi that opens a connection.
That split pays off in tests. The iPhone simulator has no Bluetooth, no USB and no Wi-Fi to a camera, but FujiKit doesn't need a phone. It has 41 unit tests and a fake camera for the write path.
The screens are SwiftUI, in the design system of this site, and some of them are drawn again on the /system page. Thirteen interface tests open the app in the simulator, once with a library of starter recipes and once with slots as if they were read from a camera.
resync
├── FujiKit the protocols, no screens
└── the app recipes, camera, sync, remote, shoot, session
├── USB-C the slots, the card
├── Bluetooth LE location, time, shutter
└── Wi-Fi live view, shutterWrites get checked
A recipe write is checked. The app reads the slot, writes each setting, reads every accepted value back, and gives a report that names each value the camera rejected.
It keeps backups too. Each full read of the seven slots that differs from the last one is kept. The camera is read when the cable goes in and again after each write, so the state before a write is always saved.
Then there's the walk. A shooting session is for a day out with the camera: it keeps the Bluetooth link up with the phone in a pocket, and it shows the state of the link on the lock screen. The camera asks the phone for a location about every 10 seconds, and the phone answers.
There's a map as well. With the camera on the cable in its card reader mode, the app reads the place of each new photo from the card and pins it. The README lists this read as not yet tested on this camera.
And since 9 November the code has two plans. The free one writes recipes to slot C1. Writing to C2 to C7 needs a subscription, which needs a paid Apple developer account to ship.
What the camera said no to
There's a requirements document for the recipes feature, from 8 November. It lists what was asked for and gives each item a verdict.
| Asked for | Verdict |
|---|---|
| Back up and restore C1–C7 over USB | Feasible, verified |
| Bluetooth for pairing and reconnect | Feasible |
| Back up C1–C7 over Bluetooth | Plausible, unverified |
| Write C1–C7 over Bluetooth | Not feasible today; blocked on reverse engineering |
| Up-to-date (secure) pairing | Not possible on the X-T30 II |
One more thing was tested, and it came out as a no. The camera doesn't tell the phone, over Bluetooth, when it takes a photo. Two experiments looked for a sign on 1 November, and both were taken out of the code 29 minutes after the first one went in. So the app counts the photos of a session from the card instead.
I cursed at Fuji. That's all. And counting from the card means plugging in to count, which isn't good enough for me.
The app runs on my X-T30 II. The README of the repository still says nothing was tested on a real camera, but that line comes from the commit that added the app, and it's behind.
By the numbers
commits 63, and 57 of them on 1 November
swift about 10,200 lines, without the tests
unit tests 41, in the protocol library
interface tests 13, in the simulator57 of 63 commits on one Sunday. That's how it went.
Not done yet
- Live view on this camera. The README's status table says the layout of a live view frame is not yet tested on this camera.
- Newer cameras. They use a secure form of pairing. The app has code for it, and the requirements document says it can't be tested without such a camera.
- Bluetooth backup. A read-only experiment from 9 November downloads the camera's own backup of its settings. The repository doesn't record the result.
- Bluetooth writes. They wait for a recording of how another app does it. The requirements document has a rule for that: record over the air, and don't decompile the apps.
Is it done? I don't know yet.
So the free plan writes to C1, the subscription waits for a developer account, and the camera still asks the phone where it is every 10 seconds or so. And the phone answers.
- 2026-11-19A map of where I shotresync got a map of where I shot, and 62 minutes after it began, the commits add a read of the file header, because the first read found no GPS.07 min
- 2026-11-19A requirements document that says noClaude drafted the requirements document for my camera app in three commits and eight minutes, and it keeps what the camera can't do yet in its table, lists seven tests that could change the answers, and never got another commit while the code moved on.06 min
- 2026-11-18Three ways to talk to one cameraMy Fujifilm X-T30 II has no official SDK, so resync talks to it three ways, USB for the recipes, Bluetooth for a pocket and the camera's own Wi-Fi for the picture, and no single link does it all.07 min
- 2026-11-18What Bluetooth can't seeI wanted the lock screen of resync to count my photos, but my camera doesn't tell the phone when it takes one, and the two Bluetooth experiments that went looking were reverted 29 minutes after the first one went in.06 min
- 2026-11-18Writing a film recipe to slot C1I wanted film recipes in my Fujifilm without its phone app, and resync wrote one over USB on the first morning, until the camera answered "invalid value" to a value it had given us itself, so now every value is read back and every refusal is named.07 min