Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)

Swift SDK and macOS CLI for Fujifilm X-series cameras, with USB slot management, BLE/Wi-Fi import and in-camera RAW conversion.

213
4
Swift
MIT
1 day old
+70 stars in 24h

Overview

FujiKit is an open-source Swift package plus a macOS command-line tool, fuji, for working with Fujifilm X-series cameras. It covers USB PTP control of the C1–C7 custom film-simulation slots, Bluetooth LE settings backup and Wi-Fi wake, full-size photo import over the camera's own Wi-Fi without the Fujifilm XApp, parsing FUJIFILMX-BACKUP .dat settings files, and RAW conversion driven by the camera's X-Processor.

The intended audience is Fujifilm shooters who want scriptable control of film recipes and imports, and Swift developers who want to embed camera access in an iOS or macOS app. It requires Swift 6 and targets iOS 18+ / macOS 15+, with no third-party dependencies; the transport modules rely on ImageCaptureCore, CoreBluetooth, Network and Foundation.

A companion document, FUJIFILM-PROTOCOL.md, writes down the USB PTP registers, BLE GATT tables and pairing variants, backup file layout and Wi-Fi PTP/IP handshake, each fact labelled by its evidence level, so tooling can be built in other languages.

Quick start

On macOS, build and install the CLI from source:

git clone https://github.com/maam00/fujikit.git
cd fujikit
make install

Set the camera to MENU → NETWORK/USB SETTING → CONNECTION MODE → USB RAW CONV./BACKUP RESTORE, then connect it over USB. Read-only inspection is the natural first step:

fuji info
fuji show
fuji backup

A verified write loads a recipe JSON into C1–C7, taking a backup first and reading every property back:

fuji load examples/recipes/classic-chrome-day.json

Wireless import uses BLE to wake the camera and then pulls recent full-size files over the camera Wi-Fi:

fuji import-wifi --last 10

Run fuji --help for the full subcommand list, including live-look patching, rawconv and offline settings-probe. For app integration, add the package with SwiftPM and swap CameraLink.usb() for MockCameraLink() in simulators and tests.

Compatibility and safety constraints

Slot writes are allowlisted by exact body and firmware. The table in the README marks X100VI firmware 1.10 as verified for USB slot writes and basic BLE plus Wi-Fi JPEG import, while X100VI 1.30+ has secure BLE and hidden-SSID Wi-Fi implemented but untested on hardware, and slot writes still need qualification. X-T5, X-T50, X-E5, X-M5 and GFX bodies are read-only probes.

Owners of unqualified bodies can run fuji qualify-usb --qualify-unverified-firmware, which tests C7 only, backs up first and restores the original slot; the output can be attached to an Add Camera issue. The exact supported combinations are kept in COMPATIBILITY.md.

Four invariants are enforced in code: imports run through a read-only PTP allowlist, every write is preceded by a fresh seven-slot backup, settings restores are byte-diffed by RestoreGuard against a backup from the same serial number, and written properties are read back rather than trusting the camera's OK response. Details are in SAFETY.md. The hardware-dependent features only apply to Fujifilm X-series bodies with the listed connection modes; the CLI is macOS-only.

The project is MIT licensed under an independent name and is not affiliated with FUJIFILM Corporation; protocol work credits earlier community projects.

HotRepo's take

The repository appeared in HotRepo's new-project list on 2026-11-30 with 116 stars gained in roughly 8.5 hours and 3 forks, alongside a 69-point, 16-comment Hacker News thread from the same day. No GitHub daily rank has been recorded for it.

Discussion focused less on the protocol than on practical and naming concerns. One commenter objected to putting the Fujifilm name prominently in the project and command name; another noted that reverse-engineering work already exists in other projects and that Swift's value would be integration with PhotoKit and a better replacement for the first-party RAW conversion app comment. A separate commenter called XApp's reliability the most appealing motivator for the Wi-Fi import feature comment. These are opinions, not verified behaviour, but they point to the parts of the project most likely to matter to users: Apple-platform integration and fixture-free importing.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

Hacker News

FujiKit – Open-source Fujifilm X-series protocol spec, Swift SDK, and CLI
▲ 113 · 24 comments · November 30, 2026

You might also like

  1. iterate-ch/cyberduckA libre file transfer client for FTP, SFTP, WebDAV, S3, B2, Azure, OneDrive and Swift, available as a GUI for macOS/Windows and a cross-platform CLI.Java4,908
  2. rclone/rcloneA command-line sync and mount layer over dozens of cloud and remote storage backends, for people moving files between them.Go60,549
  3. nextcloud/desktopSync files between a Nextcloud server and Windows, macOS or Linux computers.C++3,933
  4. 799953468/cloudreve-macUnofficial macOS sync client that mirrors Cloudreve folders locally so files work in Finder and offline.C#107
  5. tim-today/TinyDropA lightweight LAN and Tailscale file and text sharing tool with a tray GUI, QR access and resumable uploads.Go138