LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Docs: ROADMAP.md with milestones and estimates; README Craft family table
Brandon Thomas474e44c29e73
diff --git a/.claude/worktrees/agent-a8bf459ac163f66ba b/.claude/worktrees/agent-a8bf459ac163f66banew file mode 160000index 000000000..3f1ffeb69--- /dev/null+++ b/.claude/worktrees/agent-a8bf459ac163f66ba@@ -0,0 +1 @@+Subproject commit 3f1ffeb690d1832b3dc8f4c2bcd049f2df69b83bdiff --git a/.claude/worktrees/agent-af7fd3f101800f8dc b/.claude/worktrees/agent-af7fd3f101800f8dcnew file mode 160000index 000000000..3f1ffeb69--- /dev/null+++ b/.claude/worktrees/agent-af7fd3f101800f8dc@@ -0,0 +1 @@+Subproject commit 3f1ffeb690d1832b3dc8f4c2bcd049f2df69b83bdiff --git a/README.md b/README.mdindex 5e2cf1a1c..de204a3b4 100644--- a/README.md+++ b/README.md@@ -9,10 +9,26 @@ alternative to Adobe Lightroom. Runs on macOS, Windows, Linux and the web (WASM)- Scene-referred, wide-gamut float pipeline; own RAW decoders; local-first catalog.```sh-cargo run --release -p lightcraft # desktop app-cargo run --release -p lightcraft -- --control 7980 # with the automation channel-cargo run -p lightcraft-cli -- mcp # MCP server (stdio)-cargo xtask ci # fmt, clippy, tests, layering, wasm+cargo run --release -p lightcraft # desktop app+cargo run --release -p lightcraft -- --control 7980 # with the automation channel+cargo run -p lightcraft-cli -- mcp # MCP server (stdio)+cargo xtask ci # fmt, clippy, tests, layering, wasm```+See [ROADMAP.md](ROADMAP.md) for milestones and estimates.++## The Craft family++Clean-room, pure-Rust creative tools from the same workshop — native on macOS, Windows and Linux, and in the browser.++<table>+ <tr>+ <td width="20%" valign="top"><a href="https://github.com/storytold/photocraft"><b>PhotoCraft</b></a><br><sub>Layered raster image editor — a Photoshop-class app with layers, masks, adjustments, brushes and PSD support.</sub></td>+ <td width="20%" valign="top"><a href="https://github.com/storytold/drawcraft"><b>DrawCraft</b></a><br><sub>Vector illustration — an Illustrator-class app with pen tools, live shapes, Pathfinder, type and SVG/PDF.</sub></td>+ <td width="20%" valign="top"><a href="https://github.com/storytold/filmcraft"><b>FilmCraft</b></a><br><sub>Non-linear video editor — a Premiere-class app with its own H.264/ProRes/AAC codecs, timeline and colour.</sub></td>+ <td width="20%" valign="top"><a href="https://github.com/storytold/lightcraft"><b>LightCraft</b></a><br><sub>Photo library and raw developer — a Lightroom-class app with a scene-referred pipeline, masking and presets.</sub></td>+ <td width="20%" valign="top"><a href="https://github.com/storytold/printcraft"><b>PrintCraft</b></a><br><sub>PDF viewer and editor — an Acrobat-class app for reading, organizing, annotating and editing PDFs.</sub></td>+ </tr>+</table>+Licence: MIT OR Apache-2.0. By the artcraft team.diff --git a/ROADMAP.md b/ROADMAP.mdnew file mode 100644index 000000000..ffa6e534f--- /dev/null+++ b/ROADMAP.md@@ -0,0 +1,48 @@+# LightCraft roadmap++Milestones toward full Adobe Lightroom parity (cloud Lightroom first, then every Lightroom Classic module), with wall-clock+estimates for continuous (24/7) agent-driven development with 4–6 parallel agents. Estimates are calibrated on the sibling+projects (DrawCraft reached its first four milestones in ≈ 4½ h) and are revised as milestones land.++**Status legend:** ✅ done · 🚧 in progress · ⬜ not started++| # | Milestone | Scope (summary) | Estimate (h) | Status |+|---|---|---|---|---|+| M0 | Skeleton + visual shell | workspace, xtask CI + layering, geom/color/raster, develop model, pipeline v0, catalog v0, engine commands, Lightroom-look UI (grid, loupe, filmstrip, Edit panel), control channel, MCP, web build | 3–5 | 🚧 |+| M1 | Library core | import (JPEG/PNG/TIFF/WebP), EXIF/XMP, persistent catalog (op log + snapshots), albums, ratings/flags/labels, filter/search/sort, thumbnail cache, 100k-photo grid | 6–10 | 🚧 (codecs, meta) |+| M2 | Pipeline v1 (quality) | WB temp/tint, profiles, local tone mapping (highlights/shadows), curves, HSL, point colour, colour grading, texture/clarity/dehaze, vignette, grain, B&W, auto tone/WB, histogram, before/after | 10–15 | ⬜ |+| M3 | RAW I | TIFF/DNG (LJ92, deflate, tiles, opcodes), demosaic (AHD/PPG/bilinear), highlight recovery, DNG colour model, CR2, NEF, ARW, embedded previews | 10–15 | 🚧 |+| M4 | Crop, geometry, optics | crop tool + overlays, straighten, Upright (auto/level/vertical/full/guided), manual transforms, CA, defringe, manual lens corrections | 6–10 | ⬜ |+| M5 | Performance | source pyramids, wgpu compute pipeline (CPU oracle), draft/full renders, prefetch, budgets (16 ms slider updates on 24 MP) | 10–15 | ⬜ |+| M6 | Masking | brush, linear/radial gradients, colour/luminance/depth range, add/subtract/intersect/invert, all local adjustments, masks panel | 8–12 | ⬜ |+| M7 | Detail | sharpening + masking preview, luminance/colour NR, Denoise, Raw Details, Super Resolution | 6–10 | ⬜ |+| M8 | Heal / Remove | content-aware remove (PatchMatch), heal, clone, brush spots, visualize spots, red/pet eye | 6–10 | ⬜ |+| M9 | Presets, profiles, versions, sync | preset browser + amount, create/import presets, profile browser, versions, history, copy/paste/sync settings | 5–8 | ⬜ |+| M10 | Export & share | export dialog (JPEG/PNG/TIFF/DNG/AVIF/JXL/original), sizing, sharpening, metadata, watermark, naming, batch jobs, XMP sidecars, HDR export | 6–10 | ⬜ |+| M11 | RAW II | CR3, RAF (X-Trans), ORF, RW2, PEF, SRW, 3FR, IIQ + long tail; camera calibration DB; HEIC/AVIF/JXL import | 20–35 | ⬜ |+| M12 | AI & smart features | subject/sky/background/people/object masks, semantic search, faces/People (permissively licensed models, pure-Rust inference) | 20–40 | ⬜ |+| M13 | Merge | HDR merge (deghost), panorama (projections, boundary warp, fill edges), HDR panorama | 10–15 | ⬜ |+| M14 | Video | import/playback/trim via FilmCraft crates, global edits + presets on video, video export | 6–10 | ⬜ |+| M15 | Classic modules | Map, Book, Slideshow, Print, Web; smart collections, stacks, virtual copies, publish services, tethering | 25–40 | ⬜ |+| M16 | 1.0 polish | preferences, shortcut editor, accessibility, localization, packaging (dmg/msi/AppImage/web), hardening | 10–20 | ⬜ |++## Totals++| Target | Milestones | Wall-clock estimate |+|---|---|---|+| Cloud-Lightroom feature complete | M0–M11, M13–M14 | **≈ 130–180 h** (6–8 days, 24/7) |+| Full parity incl. Classic modules and AI | M0–M16 | **≈ 200–300 h** (9–13 days, 24/7) |++## Risks that coding hours alone don't retire++- **AI features** (subject/sky/people masks, generative remove) need model weights with licences we can ship; classical+ fallbacks first. No permissively licensed sky-segmentation or raw-denoise model was found — we may need to train our own.+- **Camera colour and lens data** is a data problem: we never use Adobe's matrices, DCPs or LCPs. DNG-embedded data first,+ then our own calibration; long-tail camera/lens coverage grows over time.+- **Legal decisions pending:** whether GPL-licensed *prose* format descriptions (e.g. the public CR3 write-up) may be read+ by a designated engineer to produce an internal spec; freedom-to-operate review for local Laplacian filters, PatchMatch and+ HEVC (HEIC).+- **Look parity** with Adobe's default rendering is subjective tuning against our own reference targets.++## Log+- 2026-09-30: roadmap created; M0 in progress; research docs (Lightroom reference, Rust imaging ecosystem) complete.diff --git a/crates/develop/Cargo.toml b/crates/develop/Cargo.tomlnew file mode 100644index 000000000..c42aaaa3a--- /dev/null+++ b/crates/develop/Cargo.toml@@ -0,0 +1,18 @@+[package]+name = "lightcraft-develop"+version.workspace = true+edition.workspace = true+license.workspace = true+description = "LightCraft develop settings: the non-destructive edit model, control specs, presets (L1)"++[lints]+workspace = true++[dependencies]+lightcraft-geom = { workspace = true }+lightcraft-color = { workspace = true }+serde = { workspace = true }+serde_json = { workspace = true }++[dev-dependencies]+proptest = { workspace = true }