DesignCraft: An open-source page and layout design editor written by scratch in pure Rust
Licensing: standard LICENSE files, NOTICE, ArtCraft brand terms
Brandon Thomasa848431dba76
diff --git a/AGENTS.md b/AGENTS.mdindex 6856b8083..de504127e 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -10,7 +10,7 @@ DesignCraft is a clean-room, open-source, Rust-native page-layout application ta## Non-negotiables- **Clean-room.** InDesign is installed on the dev machine and may be *observed* black-box: run it, use its UI with synthetic documents, take screenshots (by window id) stored only under `plan/indesign/screenshots/` (never committed). Never read, disassemble or copy anything inside the InDesign bundle (names/listings only), never copy Adobe icons, artwork, presets or wording beyond feature names, never commit files produced by InDesign. Never copy GPL/AGPL/LGPL code (Scribus, LibreOffice, Ghostscript…).-- **Assets:** no Adobe iconography or images — ever. Every asset is original / OSI / CC0 / redistributable CC and has a row in `ASSETS.md` (`cargo xtask assets` enforces it). Prefer art generated in code.+- **Assets:** no Adobe iconography or images — ever. Every asset is original / OSI / CC0 / redistributable CC (except the ArtCraft trademarks in `docs/brand/`, under `docs/brand/LICENSE-brand.txt`) and has a row in `ASSETS.md` (`cargo xtask assets` enforces it). Prefer art generated in code.- **Everything is a command.** User-visible behaviour = a command in `crates/engine/src/cmd/*` (id, label, menu path, shortcut, params doc, `enabled`, `run`) + tests. Tools emit commands (Begin/Preview/Commit). UI-only commands live in `crates/ui-egui/src/menus.rs` (`UI_COMMANDS`). The control channel and MCP reach all of them.- **Layering** is enforced by `cargo xtask layers`. Nothing below L6 depends on egui/eframe/winit/rfd. The UI crate is swappable.- **The UI is thin**: panels read engine state and act through `app.run(id, params)`. Colours come from `theme::Tokens`.diff --git a/ASSETS.md b/ASSETS.mdindex 37ee406dd..e6225e038 100644--- a/ASSETS.md+++ b/ASSETS.md@@ -2,7 +2,7 @@Every non-code asset in this repository (fonts, images, example art, presets) is listed here with its author, source and licence. `cargo xtask assets` (part of `cargo xtask ci`) fails if an asset file is missing from this table.-**Policy (mandatory):** DesignCraft contains **no Adobe iconography, images, artwork, presets, swatch libraries or ICC profiles**. Every asset is original work by DesignCraft contributors or third-party material under an open licence (OSI open source, public domain / CC0, or Creative Commons that allows redistribution). Screenshots of Adobe software are never committed.+**Policy (mandatory):** DesignCraft contains **no Adobe iconography, images, artwork, presets, swatch libraries or ICC profiles**. Every asset is original work by DesignCraft contributors or third-party material under an open licence (OSI open source, public domain / CC0, or Creative Commons that allows redistribution). Screenshots of Adobe software are never committed. The one exception is the ArtCraft brand files in `docs/brand/`: ArtCraft trademarks, not open source, used under `docs/brand/LICENSE-brand.txt`.Generated-in-code art is original and has no file to list: the UI icon set (`crates/ui-egui/src/icons.rs`), default swatches, and the sample magazine's imagery (`crates/engine/src/sample.rs`).@@ -54,7 +54,8 @@ Generated-in-code art is original and has no file to list: the UI icon set (`cra| `assets/app-icon/hicolor/512x512/apps/ai.storyteller.designcraft.png` | DesignCraft project owner (drawn in ArtCraft) | rendered from `assets/app-icon/designcraft.svg` by `packaging/icons.sh` | MIT OR Apache-2.0 (`assets/app-icon/LICENSE.txt`) | App icon: calico cat in a polka-dot scarf (see `assets/app-icon/README.md`) || `assets/app-icon/hicolor/64x64/apps/ai.storyteller.designcraft.png` | DesignCraft project owner (drawn in ArtCraft) | rendered from `assets/app-icon/designcraft.svg` by `packaging/icons.sh` | MIT OR Apache-2.0 (`assets/app-icon/LICENSE.txt`) | App icon: calico cat in a polka-dot scarf (see `assets/app-icon/README.md`) || `assets/app-icon/hicolor/scalable/apps/ai.storyteller.designcraft.svg` | DesignCraft project owner (drawn in ArtCraft) | owner's ArtCraft drawing, vectorised with craftrules `assets/logo-options/_tools/vectorize_tile.py` | MIT OR Apache-2.0 (`assets/app-icon/LICENSE.txt`) | App icon: calico cat in a polka-dot scarf (see `assets/app-icon/README.md`) |-| `docs/brand/artcraft-logo.svg`, `docs/brand/artcraft-logo.png` | ArtCraft / Storyteller | ArtCraft brand kit (project owner) | ArtCraft trademark — used with the owner's permission; not covered by the code licence | ArtCraft wordmark (README header) |-| `docs/brand/artcraft-logo-white.svg`, `docs/brand/artcraft-logo-white.png` | ArtCraft / Storyteller | ArtCraft brand kit (project owner) | ArtCraft trademark — used with the owner's permission; not covered by the code licence | Wordmark for dark backgrounds |-| `docs/brand/artcraft-mark.svg`, `docs/brand/artcraft-mark.png` | ArtCraft / Storyteller | ArtCraft brand kit (project owner) | ArtCraft trademark — used with the owner's permission; not covered by the code licence | The mark; its outline is drawn in code by `crates/ui-egui/src/about.rs` (About splash, start screen) |-| `docs/brand/artcraft-mark-black.svg`, `docs/brand/artcraft-mark-black.png` | ArtCraft / Storyteller | ArtCraft brand kit (project owner) | ArtCraft trademark — used with the owner's permission; not covered by the code licence | Mark for light backgrounds |+| `docs/brand/artcraft-logo.svg`, `docs/brand/artcraft-logo.png` | ArtCraft / Storyteller | ArtCraft brand kit (project owner) | ArtCraft trademark, see docs/brand/LICENSE-brand.txt (not open source) | ArtCraft wordmark (README header) |+| `docs/brand/artcraft-logo-white.svg`, `docs/brand/artcraft-logo-white.png` | ArtCraft / Storyteller | ArtCraft brand kit (project owner) | ArtCraft trademark, see docs/brand/LICENSE-brand.txt (not open source) | Wordmark for dark backgrounds |+| `docs/brand/artcraft-mark.svg`, `docs/brand/artcraft-mark.png` | ArtCraft / Storyteller | ArtCraft brand kit (project owner) | ArtCraft trademark, see docs/brand/LICENSE-brand.txt (not open source) | The mark; its outline is drawn in code by `crates/ui-egui/src/about.rs` (About splash, start screen) |+| `docs/brand/artcraft-mark-black.svg`, `docs/brand/artcraft-mark-black.png` | ArtCraft / Storyteller | ArtCraft brand kit (project owner) | ArtCraft trademark, see docs/brand/LICENSE-brand.txt (not open source) | Mark for light backgrounds |+| `docs/brand/LICENSE-brand.txt` | (licence text) | ArtCraft Team | — | Terms for the ArtCraft Marks in `docs/brand/` |diff --git a/CLAUDE.md b/CLAUDE.mdindex 6856b8083..de504127e 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -10,7 +10,7 @@ DesignCraft is a clean-room, open-source, Rust-native page-layout application ta## Non-negotiables- **Clean-room.** InDesign is installed on the dev machine and may be *observed* black-box: run it, use its UI with synthetic documents, take screenshots (by window id) stored only under `plan/indesign/screenshots/` (never committed). Never read, disassemble or copy anything inside the InDesign bundle (names/listings only), never copy Adobe icons, artwork, presets or wording beyond feature names, never commit files produced by InDesign. Never copy GPL/AGPL/LGPL code (Scribus, LibreOffice, Ghostscript…).-- **Assets:** no Adobe iconography or images — ever. Every asset is original / OSI / CC0 / redistributable CC and has a row in `ASSETS.md` (`cargo xtask assets` enforces it). Prefer art generated in code.+- **Assets:** no Adobe iconography or images — ever. Every asset is original / OSI / CC0 / redistributable CC (except the ArtCraft trademarks in `docs/brand/`, under `docs/brand/LICENSE-brand.txt`) and has a row in `ASSETS.md` (`cargo xtask assets` enforces it). Prefer art generated in code.- **Everything is a command.** User-visible behaviour = a command in `crates/engine/src/cmd/*` (id, label, menu path, shortcut, params doc, `enabled`, `run`) + tests. Tools emit commands (Begin/Preview/Commit). UI-only commands live in `crates/ui-egui/src/menus.rs` (`UI_COMMANDS`). The control channel and MCP reach all of them.- **Layering** is enforced by `cargo xtask layers`. Nothing below L6 depends on egui/eframe/winit/rfd. The UI crate is swappable.- **The UI is thin**: panels read engine state and act through `app.run(id, params)`. Colours come from `theme::Tokens`.diff --git a/LICENSE-APACHE b/LICENSE-APACHEindex 4947287f7..f433b1a53 100644--- a/LICENSE-APACHE+++ b/LICENSE-APACHE@@ -174,4 +174,4 @@incurred by, or claims asserted against, such Contributor by reasonof your accepting any such warranty or additional liability.- END OF TERMS AND CONDITIONS\ No newline at end of file+ END OF TERMS AND CONDITIONSdiff --git a/LICENSE-MIT b/LICENSE-MITindex 7b09fda34..cb4104315 100644--- a/LICENSE-MIT+++ b/LICENSE-MIT@@ -1,6 +1,6 @@MIT License-Copyright (c) 2026 The PrintCraft Contributors+Copyright (c) 2026 ArtCraft Team and the DesignCraft contributorsPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealdiff --git a/NOTICE b/NOTICEindex ed809a79e..701f22cec 100644--- a/NOTICE+++ b/NOTICE@@ -1,8 +1,16 @@DesignCraft-Copyright the DesignCraft contributors. Licensed under MIT OR Apache-2.0.+Copyright (c) 2026 ArtCraft Team and the DesignCraft contributors.+Licensed under the MIT License or the Apache License, Version 2.0, at your option+(LICENSE-MIT, LICENSE-APACHE).-This product bundles third-party material under the following licences. Per-file attribution-(author, source, licence) for every asset is in ASSETS.md. No Adobe icons, images or artwork are included.+The ArtCraft name, wordmark and logos in docs/brand/ are trademarks of the ArtCraft Team. They are+not open source and are not covered by the license above; their terms are in+docs/brand/LICENSE-brand.txt.++Third-party material++This product bundles third-party material under its own licenses, listed below. The per-file+list (author, source, license) is in ASSETS.md.- Source Sans 3 and Source Serif 4 (assets/fonts/Source*) — SIL Open Font License 1.1. See assets/fonts/OFL-SourceSans3.txt, OFL-SourceSerif4.txt.- Inter (assets/fonts/Inter-*.ttf) — SIL Open Font License 1.1. See assets/fonts/OFL-Inter.txt.@@ -14,3 +22,5 @@ This product bundles third-party material under the following licences. Per-fileRust dependencies (vello_cpu, kurbo, skrifa, harfrust, image, egui, eframe, …) are permissivelylicensed (MIT/Apache-2.0/BSD/ISC/Zlib) and fetched through crates.io.++No Adobe icons, images or artwork are included.diff --git a/README.md b/README.mdindex 12f216303..afd90e9e9 100644--- a/README.md+++ b/README.md@@ -23,7 +23,7 @@<p align="center"><img alt="Written in Rust" src="https://img.shields.io/badge/written%20in-Rust-4d7a0a?style=flat-square&logo=rust&logoColor=white"><img alt="Runs on macOS, Windows, Linux and the web" src="https://img.shields.io/badge/runs%20on-macOS%20%C2%B7%20Windows%20%C2%B7%20Linux%20%C2%B7%20Web-7bb51c?style=flat-square">- <img alt="License: MIT or Apache-2.0" src="https://img.shields.io/badge/license-MIT%20%2F%20Apache--2.0-4d7a0a?style=flat-square">+ <img alt="License: MIT OR Apache-2.0" src="https://img.shields.io/badge/license-MIT%20%2F%20Apache--2.0-4d7a0a?style=flat-square"><img alt="Agent-drivable over MCP" src="https://img.shields.io/badge/agents-MCP-7bb51c?style=flat-square"></p>@@ -55,7 +55,7 @@<a href="#web">Web</a> ·<a href="#architecture">Architecture</a> ·<a href="#the-crafting-apps">The Crafting Apps</a> ·- <a href="#license">License</a>+ <a href="#license-and-credits">License and credits</a></p>## The sample magazine@@ -181,11 +181,20 @@ And [**ArtCraft**](https://getartcraft.com/) itself, our AI image and video stud<a href="https://getartcraft.com/apps/designcraft">DesignCraft</a></p>-## License+## License and credits-MIT OR Apache-2.0 ([`LICENSE-MIT`](LICENSE-MIT), [`LICENSE-APACHE`](LICENSE-APACHE)). Bundled fonts-are OFL; all icons are drawn in code and are original. Per-asset attribution is in-[`ASSETS.md`](ASSETS.md) (see also [`NOTICE`](NOTICE)).+DesignCraft is dual-licensed under [MIT](LICENSE-MIT) or [Apache-2.0](LICENSE-APACHE), at your option.+Copyright (c) 2026 ArtCraft Team and the DesignCraft contributors. Required notices are in [NOTICE](NOTICE).++Bundled fonts, icons, images and other assets keep their own open licenses; each one is listed+with its author, source and license in [ASSETS.md](ASSETS.md).++The bundled fonts are under the SIL Open Font License; all UI icons are drawn in code and are original.++The ArtCraft name, wordmark and logos in [`docs/brand/`](docs/brand/) are trademarks of the+ArtCraft Team and are not covered by this license. They may be used only unmodified, and only as+part of this repository and DesignCraft, under [`docs/brand/LICENSE-brand.txt`](docs/brand/LICENSE-brand.txt).+Forks and modified versions must remove them.<sub>Adobe, Photoshop, Illustrator, Premiere Pro, Lightroom, Acrobat, After Effects and InDesign are trademarks or registered trademarks of Adobe Inc. in the United States and/or other countries. DesignCraft is an independent, open-source project and is not affiliated with, sponsored by or endorsed by Adobe Inc.; these names are used only to describe the workflows it is compatible with.</sub>diff --git a/docs/brand/LICENSE-brand.txt b/docs/brand/LICENSE-brand.txtnew file mode 100644index 000000000..6319613cf--- /dev/null+++ b/docs/brand/LICENSE-brand.txt@@ -0,0 +1,42 @@+ArtCraft brand assets: license++The ArtCraft name, wordmark and mark (the "ArtCraft Marks"), including every file in this+directory in every color, size and format, are owned by the ArtCraft Team. They are trademarks+and are NOT open source. They are not covered by DesignCraft's MIT OR Apache-2.0 license, and nothing in+that license, in NOTICE or in any other file of this repository grants any right to them.++Permission++The ArtCraft Team grants a limited, non-exclusive, non-transferable, revocable, royalty-free+permission to use the ArtCraft Marks only:++ 1. as part of copies of this repository; and+ 2. within DesignCraft itself, its documentation and its official builds, to identify DesignCraft as made+ by the ArtCraft team and community and to link to getartcraft.com and its community.++Conditions++The permission holds only while every one of these is true:++ - The marks are used exactly as supplied in this directory. Do not redraw, recolor, crop,+ stretch, rotate, animate, outline or add effects to them, extract parts of them, or combine+ them with any other name, mark or artwork.+ - They are used only in the context of DesignCraft, and only to say that the ArtCraft team makes it.+ They must never suggest that the ArtCraft Team made, sponsors, endorses, certifies or supports+ any other product, service, fork, modified version, plug-in, organization or person.+ - Neither the marks nor the ArtCraft name appear in the name, logo, icon, domain, social media+ handle, app-store listing, advertising or marketing of anything other than DesignCraft.++Forks and modified versions++If you distribute or publish a modified version of DesignCraft, or any work derived from it, you must+remove the ArtCraft Marks from it (or replace them with your own) and must not call it ArtCraft or+present it as an ArtCraft product. You may say, in plain text, that your work is based on DesignCraft by+the ArtCraft team. A fork kept only to propose changes back to this repository may keep the marks+unchanged.++Everything else++Any use not expressly permitted here needs prior written permission from the ArtCraft Team+(https://getartcraft.com/). The permission ends automatically for anyone who breaks these terms.+All other rights are reserved.