FujiKit is an MIT-licensed, open-source Swift SDK, macOS command-line tool, and wire-protocol reference for Fujifilm X-series cameras. It lets users inspect and back up custom film-simulation slots C1-C7, load recipes over USB, adjust a live camera look without overwriting saved slots, import photos over camera Wi-Fi, inspect settings-backup files, and use the camera’s own processor to convert RAW files. Its Swift package has no third-party dependencies and supports iOS 18 and macOS 15. A protocol document also describes USB PTP, Bluetooth LE pairing and transfers, the camera’s .dat backup format, and Wi-Fi PTP/IP, with findings labeled by evidence level for developers working in other languages.
Safety is central to the design: photo-import operations block destructive PTP commands; every write requires a fresh backup of all seven slots; settings restores are checked for unintended byte changes; and written properties are read back rather than trusting a camera’s success response. Camera support is deliberately uneven: USB slot writes are verified for the X100VI on firmware 1.10, while newer firmware and other bodies are limited to read-only access or require qualification and community testing. BLE backup and Wi-Fi JPEG import are verified on the listed X100VI firmware, but modified BLE writes are blocked. The repository includes recipe examples, a CLI, a mock camera for app development and tests, and more than 360 offline tests.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.