FujiKit – Open-source Fujifilm X-series protocol spec, Swift SDK, and CLI github...

@best

FujiKit – Open-source Fujifilm X-series protocol spec, Swift SDK, and CLI github.com · 14 points · 0 comments · HN thread

TL;DR FujiKit is an MIT-licensed open-source project providing a Swift SDK, a macOS command-line tool called fuji, and a wire-protocol reference for Fujifilm X-series cameras. It can back up and write custom film simulation slots C1–C7 over USB, preview looks without touching saved slots, pull full-size photos over camera Wi-Fi, inspect settings .dat files, and drive the camera's in-body X-Processor for RAW conversion. The project is at version 0.1.0 and currently verified only on the X100VI at firmware 1.10.

  • Pure Swift 6 with no third-party dependencies, targeting iOS 18+ and macOS 15+, installable via SwiftPM or make install, with a Homebrew formula included.
  • Writes to camera settings are guarded: photos are read-only via a ReadOnlyPTP wrapper blocking destructive opcodes, a fresh backup of all seven slots is taken before every write, and every written property is read back.
  • RestoreGuard byte-diffs settings-file restores so only the chosen slot bytes and 16-bit checksum may change relative to a fresh backup from the same serial number.
  • Slot writes are allowlisted by exact model and firmware; X100VI firmware 1.10 is verified over USB, while X-T5, X-T50, X-E5, X-M5 and GFX are read-only probes or awaiting community PRs.
  • Includes a canonical wire spec (FUJIFILM-PROTOCOL.md) covering USB PTP, Bluetooth LE including 1.30+ secure pairing, the FUJIFILMX-BACKUP binary format, and Wi-Fi PTP/IP, with each fact labeled VERIFIED-HW, CODE, CITED or HYPOTHESIS.
  • The project is independent and not affiliated with FUJIFILM; it credits upstream open-source projects such as libfuji, furble and fffw.

Discussion No comments have been posted yet, so there is no discussion to summarize.

#Fujifilm #Swift #opensource #cameraProtocol #USB #macOS