<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/fujikit-open-source-fujifilm-x-series-protocol-spec-swift-sdk-and-cli-qt0whb8zq" -->

---
title: FujiKit – Open-source Fujifilm X-series protocol spec,...
description: FujiKit is a zero-dependency Swift 6 SDK and macOS CLI that backs up and writes custom film simulation slots (C1 to C7) on Fujifilm X-series cameras over USB....
canonical: https://daily.dev/posts/fujikit-open-source-fujifilm-x-series-protocol-spec-swift-sdk-and-cli-qt0whb8zq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: FujiKit – Open-source Fujifilm X-series protocol spec, Swift SDK, and CLI | daily.dev
og:description: FujiKit is a zero-dependency Swift 6 SDK and macOS CLI that backs up and writes custom film simulation slots (C1 to C7) on Fujifilm X-series cameras over USB....
og:url: https://daily.dev/posts/fujikit-open-source-fujifilm-x-series-protocol-spec-swift-sdk-and-cli-qt0whb8zq
og:image: https://api.daily.dev/og/posts/Qt0WHb8zQ.png
og:image:alt: FujiKit – Open-source Fujifilm X-series protocol spec, Swift SDK, and CLI
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

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

**[Hacker News](https://daily.dev/sources/hn)** · 6 min read · 0 upvotes · 0 comments

## Summary

FujiKit is a zero-dependency Swift 6 SDK and macOS CLI that backs up and writes custom film simulation slots (C1 to C7) on Fujifilm X-series cameras over USB. It also pulls photos over camera Wi-Fi, patches settings backup files, and runs in-camera RAW conversion. Writes are allowlisted by exact model and firmware, and the X100VI on firmware 1.10 is verified for slot writes. Every write is preceded by a fresh backup and followed by readback verification. The repo includes a wire protocol spec with evidence labels, and an offline suite of 360+ tests.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/maam00/fujikit>

## Questions this post answers

### Is there an open-source Swift library to write custom film simulation slots on a Fujifilm X100VI over USB?

FujiKit is an MIT-licensed Swift 6 package with no third-party dependencies that writes custom slots C1 to C7 over USB using ImageCaptureCore. It backs up all seven slots before every write and reads back each property to verify it. Slot writes are verified on the X100VI with firmware 1.10; other bodies are read-only or pending qualification.

_Developers building camera tooling in Swift follow projects like this on daily.dev._

### How can I pull full-size photos from a Fujifilm camera over Wi-Fi without the XApp?

FujiKit's `fuji import-wifi --last 10` command wakes the camera over Bluetooth LE and then pulls recent full-size photos over the camera's Wi-Fi using PTP/IP. Imports go through a read-only PTP allowlist that throws before sending destructive opcodes such as DeleteObject, FormatStore or SendObject, so photos on the camera cannot be modified or deleted.

_Photographers who script their camera workflows keep up with tools like this on daily.dev._

### Where can I find documentation of the Fujifilm USB and Bluetooth wire protocol for writing my own tooling?

FujiKit includes FUJIFILM-PROTOCOL.md, a language-agnostic reference covering USB PTP slot registers D18C to D1A4, Bluetooth LE basic and 1.30+ secure pairing, the FUJIFILMX-BACKUP binary layout and checksum at 0x108, and Wi-Fi PTP/IP sessions. Each fact is labeled VERIFIED-HW, CODE, CITED or HYPOTHESIS to show its evidence level.

_Anyone reverse-engineering device protocols can track projects like this on daily.dev._

## Community take

How the wider developer community reacted, aggregated from 1 discussion and 40 comments across hackernews (as of 2026-12-01).

**TL;DR:** Interest centers on in-camera RAW/JPEG processing fidelity and the appeal of bypassing Fujifilm's unreliable Wi-Fi app, though some raise concerns about using the 'Fuji' name and point to prior reverse-engineering projects covering similar ground.

**Sentiment:** 40% positive · 40% mixed · 20% skeptical

**The case for**

- Running RAW through the camera's own processor is seen as genuinely useful since desktop tools don't replicate X-Trans demosaicing or in-camera curves exactly.
- Bypassing Fujifilm's official Wi-Fi app is very appealing given how unreliable and frustrating that app is.
- Swift implementation could enable deeper integration with PhotoKit/Photos.app compared to prior reverse-engineered tools.
- Managing C1-C7 film simulation recipes outside the camera menus would solve a real frustration with slightly inconsistent settings across banks.

**The pushback**

- Using the 'Fuji' name so prominently in the project and CLI name risks trademark/legal trouble.
- Desktop RAW converters like Capture One may already replicate Fuji's processing well enough, questioning how novel the in-camera conversion feature really is.
- X-Trans sensor demosaicing is notably slower than Bayer sensors, a known pain point for anyone implementing this.
- The protocol work overlaps with existing reverse-engineering projects (rawji, libfuji) and a parallel custom-firmware community (fujimod.com).

**By community**

- hackernews (mixed): Technical enthusiasm about in-camera processing and bypassing the official Wi-Fi app is tempered by naming concerns and pointers to prior art in the space.

**Hottest debate:** Whether prominently using the 'Fuji' brand name in the project/CLI name invites trademark trouble.

**Open questions**

- Will the project support additional camera models like the X-E4?
- Is the in-camera RAW conversion meaningfully more accurate than established desktop tools like Capture One?

**Highlights**

> Interested since I have a Fuji camera, but IMO using the company and/or their product name within your project in a prominent position is just asking for trouble. Does the project really need to claim the "fuji" name for a command line tool and "FujiKit" for the Swift package?
> — [no\_circuit on hackernews · 1 comments](https://news.ycombinator.com/item?id=50706004)

> "pull full-size photos over camera Wi-Fi without Fujifilm's XApp" This is the most immediately-appealing bullet point for me!  "XApp" is atrocious.  It disconnects almost immediately after loading the gallery of on-camera photos approx 90% of the time, infuriatingly -- forcing me to have to reconnect to the camera's wifi for a second time, browse to the gallery and re-set my "JPEGs-only" filter so I can quickly transfer the shots I just took with a group of people or whatever.  It's mind-bogglingly unreliable.  We're talking like, with the camera just 6-12" from the phone.
> — [amatecha on hackernews · 1 comments](https://news.ycombinator.com/item?id=50707720)

> none of the camera raw libraries i’ve tested do the de-mosaic for X-Trans sensors the way the camera’s image signal processor does it. the  curves and such are also different. i haven’t studied too much how desktop editors do it, but im not sure if they handle stuff like saturation-by-luma stage correctly.
> — [jitl on hackernews · 2 comments](https://news.ycombinator.com/item?id=50707614)

> There's a community of us making custom firmware for Fujifilm cameras over at https://fujimod.com we store custom settings as JSON files in /FUJIMOD/CSETTINGS/<name>.JSN and import or share as QR code. you can also just directly set any settings on the camera using QR code. right now I'm working on our new UI for recipe building, which will run both in browser via WebAssembly and on the camera itself. i'll probably post that to hn once its in good shape.
> — [jitl on hackernews](https://news.ycombinator.com/item?id=50707105)

> I think earlier projects had reverse-engineered the protocol -- pinpox/rawji, petabyt/libfuji, et al. To me the appeal of having it in Swift though is that it could be integrated with PhotoKit / Photos.app to perform RAW processing on-camera (as in the first-party, but kinda bad, FUJIFILM X RAW Studio app). Though these days in which reverse engineering is no-effort, it would be better to just extract the algorithms the camera is applying to the RAW, or in the worst case emulate the firmware, and take the physical camera out of the equation.
> — [rgovostes on hackernews · 1 comments](https://news.ycombinator.com/item?id=50707167)

**Source threads**

- [hackernews](https://news.ycombinator.com/item?id=50703504) · 88 points · 40 comments

## Similar posts on daily.dev

- [GitHub - eggricesoy/filmkit: Create and manage Fujifilm camera profiles, with ease and speed. Connect your camera and you are good to go\!](https://daily.dev/posts/github---eggricesoy-filmkit-create-and-manage-fujifilm-camera-profiles-with-ease-and-speed-connec-hzllscclk) · Hacker News · 3 upvotes · 0 comments
- [I built Footage Ferry, a Mac app to import Blackmagic Camera videos](https://daily.dev/posts/i-built-footage-ferry-a-mac-app-to-import-blackmagic-camera-videos-vrfqfztdl) · Flavio Copes · 0 upvotes · 0 comments
- [Novelty Camera To USB Camera](https://daily.dev/posts/novelty-camera-to-usb-camera-vdapm5lat) · Hackaday · 1 upvotes · 0 comments
- [Color Study: Fujifilm vs Pixel](https://daily.dev/posts/color-study-fujifilm-vs-pixel-pbhh3jcmu) · ongoing by Tim Bray · 0 upvotes · 0 comments
- [SimCam: Test camera features directly in the iOS simulator](https://daily.dev/posts/simcam-test-camera-features-directly-in-the-ios-simulator-4t9zgrhy7) · Product Hunt · 0 upvotes · 0 comments

---

Tags: [#cli](https://daily.dev/tags/cli), [#swift](https://daily.dev/tags/swift)

[View this post on daily.dev](https://daily.dev/posts/fujikit-open-source-fujifilm-x-series-protocol-spec-swift-sdk-and-cli-qt0whb8zq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"FujiKit – Open-source Fujifilm X-series protocol spec, Swift SDK, and CLI","url":"https://daily.dev/posts/fujikit-open-source-fujifilm-x-series-protocol-spec-swift-sdk-and-cli-qt0whb8zq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/fujikit-open-source-fujifilm-x-series-protocol-spec-swift-sdk-and-cli-qt0whb8zq"},"datePublished":"2026-12-01T01:51:53.839Z","dateModified":"2026-12-01T01:52:28.352Z","description":"FujiKit is a zero-dependency Swift 6 SDK and macOS CLI that backs up and writes custom film simulation slots (C1 to C7) on Fujifilm X-series cameras over USB....","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/06e83f48833c6d4c3e67e8c0a52f9df4?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/06e83f48833c6d4c3e67e8c0a52f9df4?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/fujikit-open-source-fujifilm-x-series-protocol-spec-swift-sdk-and-cli-qt0whb8zq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"cli,swift","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"FujiKit – Open-source Fujifilm X-series protocol spec, Swift SDK, and CLI"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/fujikit-open-source-fujifilm-x-series-protocol-spec-swift-sdk-and-cli-qt0whb8zq#faq","mainEntity":[{"@type":"Question","name":"Is there an open-source Swift library to write custom film simulation slots on a Fujifilm X100VI over USB?","acceptedAnswer":{"@type":"Answer","text":"FujiKit is an MIT-licensed Swift 6 package with no third-party dependencies that writes custom slots C1 to C7 over USB using ImageCaptureCore. It backs up all seven slots before every write and reads back each property to verify it. Slot writes are verified on the X100VI with firmware 1.10; other bodies are read-only or pending qualification. Developers building camera tooling in Swift follow projects like this on daily.dev."}},{"@type":"Question","name":"How can I pull full-size photos from a Fujifilm camera over Wi-Fi without the XApp?","acceptedAnswer":{"@type":"Answer","text":"FujiKit's `fuji import-wifi --last 10` command wakes the camera over Bluetooth LE and then pulls recent full-size photos over the camera's Wi-Fi using PTP/IP. Imports go through a read-only PTP allowlist that throws before sending destructive opcodes such as DeleteObject, FormatStore or SendObject, so photos on the camera cannot be modified or deleted. Photographers who script their camera workflows keep up with tools like this on daily.dev."}},{"@type":"Question","name":"Where can I find documentation of the Fujifilm USB and Bluetooth wire protocol for writing my own tooling?","acceptedAnswer":{"@type":"Answer","text":"FujiKit includes FUJIFILM-PROTOCOL.md, a language-agnostic reference covering USB PTP slot registers D18C to D1A4, Bluetooth LE basic and 1.30+ secure pairing, the FUJIFILMX-BACKUP binary layout and checksum at 0x108, and Wi-Fi PTP/IP sessions. Each fact is labeled VERIFIED-HW, CODE, CITED or HYPOTHESIS to show its evidence level. Anyone reverse-engineering device protocols can track projects like this on daily.dev."}}]}
```

