Culla is a Windows desktop app for culling a folder of Nikon photos. You look at each shot once and swipe it right to keep or left to reject. Every decision goes into a queue; nothing on disk changes until you review the full plan and confirm it. Then Culla moves or copies the keepers and sets the rejects aside in a _rejected folder, treating each JPEG, its RAW (NEF) and its sidecars as one unit. Every file operation is journaled, verified and resumable, so a crash or a pulled SD card never costs you a photo.
Status: pre-release. M0 (repo and tooling) is done; M1 (core engine, headless) is in progress. There is no download yet. See the roadmap.
- Pick a folder. Choosing the folder is part of the experience: recent folders show their session status, and the folder dialog opens from the app itself. Then choose whether the RAW follows the JPEG, whether keepers are moved or copied, and where they go. If you have been here before, resume where you left off.
- Swipe. A full-screen photo on a dark surround. Drag it, press → to keep or ← to reject, or click the Keep and Reject buttons. Each decision is saved as you go.
- Change your mind. Ctrl+Z and Ctrl+Shift+Z walk back and forth through your decisions, and U clears the photo in front of you. Z zooms to 100%, I shows EXIF, N jumps to the next undecided photo, ? lists every shortcut.
- Review. Counts, grids of kept and rejected photos, the full list of operations, preflight checks (free space, locked files, read-only card) and an estimated time.
- Apply. Confirm, then watch it run per file. You can pause or cancel; it ends with a report and a log file.
flowchart LR
pick["Pick a folder<br/>recent folders or dialog"] --> options["Options<br/>RAW follows JPEG,<br/>move or copy, destination"]
options --> swipe["Swipe<br/>right keeps, left rejects"]
swipe -->|"Ctrl+Z, U"| swipe
swipe --> review["Review<br/>plan, preflight, estimate"]
review -->|"back to swiping"| swipe
review --> confirm{"Confirm?"}
confirm -->|"yes"| apply["Apply<br/>journaled, pause or cancel"]
confirm -->|"not yet"| review
apply --> report["Report and log file"]
These are design rules. Lints enforce them now; tests enforce more of them as the engine lands (see Safety and quality).
- Nothing moves before you confirm. Swiping only records decisions. Files are touched only after you press Apply and confirm the counts.
- Nothing is ever overwritten. If a target name is taken, the whole group gets a suffix (
_1,_2). A rename that would replace a file fails instead. - Nothing is deleted. Rejects are moved to
_rejected, not removed. The only file Culla ever removes is the original of a move to another drive, and only after the copy and the original have both been read back from disk and their hashes match. (It also cleans up its own unfinished*.culla-partialfiles.) - Undecided photos are left alone. Only photos you kept or rejected appear in the plan.
- The window that shows your photos has no file access. The user interface only knows opaque photo IDs. It cannot read, list or move files, and it never sees a path.
There is no download yet. From the first release, Culla is installed from GitHub Releases with a per-user installer that needs no administrator rights. Because the first versions are not code-signed, Windows shows a SmartScreen warning; the install guide explains how to check the download, why the warning appears and how to judge it, where Culla keeps its data, updates and uninstalling; the same guide, with a 30 s demo video (the install video comes with the first release), is the download page of the demo site (culla.margauxfaurie.com/install, not public yet). To build Culla yourself, see Building from source.
Culla is built as a hexagon: a pure core in the middle, real-world adapters plugged into its ports, and thin shells that wire them together.
flowchart LR
subgraph ui["src: React UI"]
screens["Screens and card stack"]
backend{"Backend interface<br/>chosen at build time"}
tauriB["TauriBackend<br/>desktop"]
demoB["DemoBackend<br/>web demo"]
end
subgraph shell["src-tauri: wiring only"]
cmds["Typed commands<br/>opaque IDs, IpcError"]
scheme["culla:// image scheme"]
end
subgraph core["crates/core: pure, no I/O"]
logic["Grouping, decision log,<br/>plan, preflight"]
journal["Journal state machine<br/>and apply executor"]
ifd["IFD walker"]
ports["Ports (traits)<br/>FileSystem, ReadAt,<br/>SessionStore, ..."]
end
subgraph adapters["crates/adapters"]
winfs["winfs<br/>no-replace rename,<br/>remove_verified"]
meta["EXIF and NEF reads,<br/>decode, preview cache"]
sql["SQLite store"]
end
subgraph tools["Headless and dev tools"]
cli["crates/cli<br/>culla binary"]
bench["crates/bench"]
dev["xtask, fuzz, testdata"]
end
screens --> backend
backend --> tauriB
backend --> demoB
tauriB -->|"invoke"| cmds
tauriB -->|"image URLs"| scheme
cmds --> logic
cmds --> journal
scheme --> ports
logic --> ports
journal --> ports
ifd --> ports
winfs -.->|"implements"| ports
meta -.->|"implements"| ports
sql -.->|"implements"| ports
cli --> journal
bench --> logic
crates/coreholds every decision that matters: how files are grouped, how the decision log folds into state, which operations a plan contains and which journal transitions are legal. It does no I/O and forbidsunsafe, so it is tested on any OS with in-memory fakes.crates/adaptersimplements the ports for real: Windows file operations (all inwinfs, the only place allowed to remove a file), EXIF and NEF reads, JPEG decode and the SQLite session store.src-tauriis wiring only. The UI calls typed commands with opaque IDs and gets images through theculla://scheme, never through file paths. The desktop and web demo builds share one React app;vite.config.tspoints the#backend-implalias at the Tauri or the demo backend, so the demo bundle contains no Tauri code at all.crates/cliandcrates/benchwire the same core and adapters without a UI, for crash tests and benchmarks.
Each file operation of an apply is a row in a journal, written to SQLite before or after the step it names. This is the path of a move to another drive:
stateDiagram-v2
[*] --> pending
pending --> copying: copy to a partial file, hash 1
copying --> verifying: copy flushed
copying --> pending: crash, resume
verifying --> committed: hashes 1, 2 and 3 match, renamed into place
committed --> source_removed: whole group committed, remove_verified
committed --> copied_source_kept: another file in the group failed
source_removed --> done: target re-checked
copying --> failed
verifying --> failed
failed --> pending: retry
done --> [*]
Hash 1 is taken while copying, hash 2 by reading the copy back from disk and hash 3 by reading the original again, both bypassing the Windows cache, so a flaky card reader cannot fool the check. Because the journal is never ahead of the disk, Culla can roll an interrupted apply forward the next time it opens. There is no rollback: every photo always has at least one complete, verified copy, and the journal says where it is. The full state machine, including same-drive renames, is in the file engine design.
| Folder | What lives there |
|---|---|
crates/core |
culla-core: domain, ports and pure logic. No I/O, no Tauri. |
crates/adapters |
culla-adapters: Windows file operations, EXIF and NEF parsing, decode, SQLite. |
crates/cli |
culla-cli, binary culla: headless scan, preview, plan, apply, resume. |
crates/bench |
culla-bench: benchmark harness. |
src-tauri |
culla-app: Tauri 2 shell, commands, culla:// scheme, capabilities. |
src |
React and TypeScript UI, built for the desktop or the web demo. |
xtask |
Development tasks such as fixture generation. |
fuzz |
cargo-fuzz targets for the file parsers. |
testdata |
Synthetic and golden test fixtures. |
e2e |
Playwright and accessibility tests on the web demo. |
docs |
Specification, design docs, ADRs and research. |
In place now:
- Lints that make unsafe file calls fail the build. Clippy bans
std::fs::remove_*,std::fs::rename,std::fs::copyandstd::fs::writein the core, adapters, CLI and app crates; in product code, removal is allowed only in the auditedwinfsmodule (benchmarks and tests may clean up their own temp folders), and a CI script checks every lint exception. - CI on every pull request: on Linux, rustfmt, clippy with warnings as errors,
cargo deny, Rust tests, Biome, TypeScript, Vitest and Playwright with axe; on Windows, clippy, Rust tests and the app build. CodeQL runs on pull requests and weekly, OpenSSF Scorecard weekly and on main, and actions are pinned by SHA. - Independent review. Every pull request is read by separate read-only reviewer agents (spec, file safety and security) before it is merged. Changes to protected paths, such as CI and lint configuration, are blocked for agents and need the author's go-ahead.
- A bounded NEF parser. The NEF preview reader checks every offset, caps every count, size and pixel total, detects loops and reports broken structures instead of crashing; its fuzz target exists, and nightly fuzz runs are still to come.
- Decisions on record as architecture decision records.
Planned, as the engine is built:
- Property tests on plan building and the decision log, golden decision-log fixtures shared by Rust and TypeScript (the CI check is already in place), and Windows integration tests on a second mounted volume (M2).
- Crash tests that kill the process and detach the volume mid-apply, then check that resume ends in a correct state (M2).
- Nightly fuzzing of the NEF, EXIF and JPEG parsers; the NEF target exists, the others follow in M1.
- Signed updates through the Tauri updater (M6). Windows code signing comes later, so early builds will show a SmartScreen warning.
What could go wrong and how each risk is handled is in the threat model; how it is tested is in the test strategy.
| Document | What it covers |
|---|---|
| SPEC | The author's decisions and the map of every other document |
| PRD | Problem, users, scope, no-gos, success criteria |
| Architecture | Crates, runtime views, IPC, the culla:// scheme, glossary |
| File engine | Data model, grouping, plan, apply, recovery, invariants |
| ADRs | Decisions and their reasons |
| Threat model | Threats and mitigations |
| Incident response | What to do about a leaked key, a bad release or a vulnerability |
| Testing | Test strategy and definition of done |
| Roadmap | Milestones M0 to M6 |
| Install guide | Download, check, install, update and uninstall, for users (also the demo site's install page) |
| Videos | Scripts and storyboards for the demo and install videos |
Requirements: Windows 11 with WebView2 for the desktop app, the Rust toolchain pinned in rust-toolchain.toml (rustup installs it), Node.js 22.12 or later and pnpm. The web demo and the Rust tests also run on Linux (untested on macOS); there, install libwebkit2gtk-4.1-dev or run the tests with --exclude culla-app.
pnpm install # install UI dependencies
pnpm dev:demo # run the web demo in a browser
cargo test --workspace # run the Rust tests
cargo run -p culla-cli -- scan <folder> # list a folder's photos, read-only
cargo run -p culla-cli -- preview <folder> # time each photo's preview, read-only
pnpm tauri dev # run the desktop app (Windows)The full list of commands is in CLAUDE.md.
Issues and ideas are welcome: bug reports, Nikon files that do not behave, and suggestions. Outside pull requests are not merged for now, so that the project keeps a single author. See CONTRIBUTING.md.
Please report vulnerabilities privately through GitHub private vulnerability reporting, not in a public issue. Scope and response times are in SECURITY.md.
Culla is licensed under the GNU General Public License v3.0 only (GPL-3.0-only); see LICENSE. Copyright © 2026 Margaux Faurie.
The name "Culla" and its logo are not covered by the licence; see TRADEMARKS.md. Forks are welcome under the licence but must use a different name.
The Bricolage Grotesque typeface in src/assets/fonts/ is © 2022 The Bricolage Grotesque Project Authors, licensed under the SIL Open Font License 1.1; see its licence.
The demo video and its poster in public-demo/videos/ contain the author's photographs and are not covered by the GPL: © 2026 Margaux Faurie, all rights reserved; see their notice.
Built by Margaux Faurie, with Claude Code as a pair; the design docs double as notes for a future guide on building with agents.