Skip to content

armgit / klad

Public Imported from GitHub
0

A drawing app built for agent/human collaboration

Rust

Licences: contributions, the MIT paths and sold builds

Indicode BV4f204a665cfc
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7572c87..db0fa75 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,7 @@
The first builds, and klad's licences.
-- klad is source-available, not open source: the app is under the PolyForm Internal Use License 1.0.0, with permission for personal use and to share the drawings you make (`LICENSE`). The file format (`docs/format.md`), the command reference (`docs/cli.md`), the agent skill and the new `klad-client` crate are MIT (`LICENSE-MIT`), so any program or agent can read, write and make klad drawings. Contributions come in under a contributor licence agreement (`CLA.md`).
+- klad is source-available, not open source: the app is under the PolyForm Internal Use License 1.0.0, with permission for personal use, to propose contributions and to share the drawings you make (`LICENSE`); bought builds are under the same terms. The file format (`docs/format.md`), the command reference (`docs/cli.md`), the agent skill and the new `klad-client` crate are MIT (`LICENSE-MIT`), so any program or agent can read, write and make klad drawings. Contributions come in under a contributor licence agreement (`CLA.md`).
- `klad-client`: run klad from Rust, apply edits as JSON ops, read drawings back as JSON, render them.
- Builds for macOS (an app, Apple silicon and Intel in one) and Windows, sold on itch.io; Linux from source. Each has the `klad` command line, the editor, the fonts, the licences and the agent skill.
- The editor runs on Windows and Linux (`klad open`, or `klad-editor`), with the platform's open dialog; pens that report pressure through the system (Windows) draw with it.
diff --git a/CLA.md b/CLA.md
index 21f1db3..a42de0c 100644
--- a/CLA.md
+++ b/CLA.md
@@ -1,6 +1,6 @@
# klad contributor licence agreement
-Thank you for contributing to klad. This agreement is between you and Indicode BV, which makes klad. It lets Indicode BV ship what you send in klad, under the licences klad has now and any it has later; you keep the copyright to your work and may do anything else you like with it. Sign it once, through the CLA assistant on your first pull request, and it covers everything you contribute after.
+Thank you for contributing to klad. This agreement is between you and Indicode BV, which makes klad. It licenses what you send to Indicode BV for inclusion in klad and in the builds of klad it sells, under the licences klad has now and any it has later; you keep the copyright to your work and may do anything else you like with it. Sign it once, through the CLA assistant on your first pull request, and it covers everything you contribute after.
## 1. Words used here
@@ -9,7 +9,7 @@ Thank you for contributing to klad. This agreement is between you and Indicode B
## 2. Copyright licence
-You give Indicode BV, and everyone who receives klad from it, a perpetual, worldwide, non-exclusive, free, royalty-free and irrevocable licence to reproduce, change, make works based on, publicly display, publicly perform, sublicense and distribute your contributions and works based on them, under any terms, including the licences klad is offered under now and any Indicode BV chooses later, open source or not.
+You give Indicode BV, and everyone who receives klad from it, a perpetual, worldwide, non-exclusive, free, royalty-free and irrevocable licence to reproduce, change, make works based on, publicly display, publicly perform, sublicense and distribute your contributions and works based on them, under any terms, including the licences klad is offered under now and any Indicode BV chooses later, open source or not, and in the builds of klad that Indicode BV sells.
## 3. Patent licence
diff --git a/CLAUDE.md b/CLAUDE.md
index 2e67587..41e6eab 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -32,5 +32,5 @@ Agent-first 2D art application in Rust: a `klad` CLI for agents and a native edi
- Determinism in `core`, `brush` and `render`: transcendental math through `libm`, one seeded RNG (`klad_core::rng`), no wall clock, no `HashMap` iteration order in output, parallelism only over independent units (tiles, image rows).
- Bundles are never broken by a format change: bump the format version and add a migration. The format id inside `doc.json` stays `draw-anything/N` (the project's earlier name) so every bundle keeps opening.
- Permissive dependencies only: MIT, Apache-2.0, BSD-2/3, ISC, Zlib, BSL-1.0, Unicode-3.0, CC0-1.0; fonts bundled in the editor may be OFL-1.1 or the Ubuntu Font Licence (egui's), and the fonts in `fonts/` OFL-1.1 or Apache-2.0 (`fonts/update.py` fetches them unchanged; the notices list them). No GPL, LGPL or MPL unless dual licensed with one of these. `deny.toml` holds the list and `just audit` checks it; every shipped licence text is in `THIRD-PARTY-NOTICES.md` (`just notices`).
-- klad is source-available, not open source, copyright Indicode BV: the app is under the PolyForm Internal Use License 1.0.0 with a personal-use permission and one for drawings (`LICENSE`). `docs/format.md`, `docs/cli.md`, `docs/skill/` and `crates/client` are MIT (`LICENSE-MIT`): `klad-client` depends on none of the other crates, a format change updates `docs/format.md` in the same change, and a command change runs `just reference` (a test checks `docs/cli.md`). Outside contributions come in under the CLA (`CLA.md`).
+- klad is source-available, not open source, copyright Indicode BV: the app is under the PolyForm Internal Use License 1.0.0 with permissions for personal use, proposing contributions and sharing drawings, which also covers the builds it sells (`LICENSE`; `license-file` in Cargo, since it has no SPDX identifier). `docs/format.md`, `docs/cli.md`, `docs/skill/` and `crates/client` are MIT (`LICENSE-MIT`): `klad-client` depends on none of the other crates, a format change updates `docs/format.md` in the same change, and a command change runs `just reference` (a test checks `docs/cli.md`). Outside contributions come in under the CLA (`CLA.md`).
- No em-dashes in docs, messages or UI text.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 697a56f..1343425 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -34,9 +34,9 @@ These come from `CLAUDE.md`, which is also the guide for coding agents working o
1. Fork, branch from `main`, keep the change to one thing.
2. `just lint`, `just test` and `just audit` pass.
3. Describe what changed and how you checked it; for anything visual, attach a render (`klad render`) before and after.
-4. The first time, the CLA assistant asks you in the pull request to sign the contributor licence agreement (`CLA.md`): one click, and it covers every later change. It lets Indicode BV ship your change in klad under its licences; you keep the copyright to your work.
+4. The first time, the CLA assistant asks you in the pull request to sign the contributor licence agreement (`CLA.md`): one click, and it covers every later change. Under it your contribution is licensed to Indicode BV for inclusion in klad and in the builds of klad it sells; you keep the copyright to your work.
-klad is source-available, not open source (`LICENSE`): a fork on GitHub to send pull requests is fine, publishing klad or builds of it elsewhere is not. The file format, the command reference, the agent skill and `klad-client` are MIT (`LICENSE-MIT`); `klad-client` depends on nothing in the other crates, so it stays MIT on its own.
+klad is source-available, not open source (`LICENSE`): its licence lets you send changes to Indicode BV to propose them, so a fork on GitHub for pull requests is fine; publishing klad or builds of it elsewhere is not. `docs/format.md`, `docs/cli.md`, `docs/skill/` and `crates/client/` are MIT (`LICENSE-MIT`); `klad-client` depends on nothing in the other crates, so it stays MIT on its own.
## Releases
diff --git a/README.md b/README.md
index 8ab4827..2f32ba7 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ Early, and open for testing. What works today:
## Try it
-- macOS and Windows: signed installers will be sold on itch.io and Steam. Until then, build klad from source as below.
+- macOS and Windows: signed installers will be sold on itch.io and Steam, under the same licence as the source (see [Licence](#licence)). Until then, build klad from source as below.
- Linux: build it from source, free.
Every build holds the `klad` command line tool, the editor, the fonts, the licences and the agent skill (`klad skill` prints it). In the editor, the document menu's "install the klad command" puts `klad` on your terminal's path for you and for agents (`klad install` does the same). The editor checks klad's releases once a day for a new version and says so; it installs nothing by itself (turn it off in the settings window).
@@ -95,8 +95,9 @@ just samples # build the sample drawings
klad is source-available, not open source, copyright Indicode BV.
-- The app (everything not listed below) is under the [PolyForm Internal Use License 1.0.0](https://polyformproject.org/licenses/internal-use/1.0.0) with two additional permissions (`LICENSE`): you may use it for your own personal purposes as well as inside your company, and the drawings you make with it are yours to share, with the brush settings and pictures klad copies into them. You may build it and change it for those uses; you may not distribute it, from source or as a build.
-- The parts other programs and agents need to work with klad are under the MIT License (`LICENSE-MIT`): the file format (`docs/format.md`), the command reference (`docs/cli.md`), the agent skill (`docs/skill/`) and the `klad-client` crate (`crates/client`).
-- Contributions are welcome under the contributor licence agreement (`CLA.md`); see `CONTRIBUTING.md`.
+- The app, meaning everything not listed in the next point, is under the [PolyForm Internal Use License 1.0.0](https://polyformproject.org/licenses/internal-use/1.0.0) with three additional permissions (`LICENSE`): you may use it for your own personal purposes as well as inside your company; you may send changes to Indicode BV to propose them as contributions; and the drawings you make with it are yours to share, with the brush settings and pictures klad copies into them. You may build it and change it for those uses; you may not distribute it, from source or as a build.
+- Builds you buy, on itch.io, Steam or from Indicode BV, are licensed under these same terms: one licence for the source and the builds, with no separate end-user licence.
+- These files are under the MIT License (`LICENSE-MIT`), so any program or agent can work with klad drawings: `docs/format.md` (the file format), `docs/cli.md` (the command reference), `docs/skill/` (the agent skill) and `crates/client/` (the `klad-client` crate).
+- Contributions are licensed to Indicode BV for inclusion in klad and in its sold builds, under the contributor licence agreement (`CLA.md`); see `CONTRIBUTING.md`.
klad is built on open source libraries, fonts and Skia; their licences are in `THIRD-PARTY-NOTICES.md`, also shown by `klad licences` and in the editor's About window.
diff --git a/docs/DESIGN.md b/docs/DESIGN.md
index ead1f92..006eb1b 100644
--- a/docs/DESIGN.md
+++ b/docs/DESIGN.md
@@ -44,7 +44,7 @@ Two binaries from one crate: `klad`, the command line, and `klad-editor`, the ed
| File dialogs (Windows, Linux) | `rfd` | The platform's own dialog (the XDG portal on Linux); macOS keeps `NSOpenPanel` |
| Compression | `zstd` | Stroke files and cache tiles |
-klad is source-available, not open source, copyright Indicode BV: the app is under the PolyForm Internal Use License 1.0.0 with a personal-use permission and one for drawings (`LICENSE`); the file format (`docs/format.md`), the command reference (`docs/cli.md`, written by `klad reference`), the agent skill and the `klad-client` crate (`crates/client`, which runs the CLI and depends on no other klad crate) are MIT (`LICENSE-MIT`), so any program or agent can work with klad drawings. Contributions come in under a CLA (`CLA.md`, signed through the CLA assistant). Every dependency is permissive: MIT, Apache-2.0, BSD-2/3, ISC, Zlib, BSL-1.0, Unicode-3.0, CC0-1.0, and for the fonts the editor shows its interface in, OFL-1.1 and the Ubuntu Font Licence. No GPL, LGPL or MPL unless dual licensed with one of these (two crates are, and are taken as `self_cell` under Apache-2.0 and `r-efi` under MIT). `deny.toml` holds the list, RustSec advisories, yanked versions and crates.io as the only source; `just audit` checks it with `cargo deny` and that `THIRD-PARTY-NOTICES.md` is current (`just notices` makes it with `cargo about`, plus the parts Cargo does not see: Skia's built-in libraries and the fonts, from `licenses/bundled/`). `klad licences` and the editor's About window show the same text.
+klad is source-available, not open source, copyright Indicode BV: the app is under the PolyForm Internal Use License 1.0.0 with permissions for personal use, proposing contributions and sharing drawings, which also covers the builds it sells (`LICENSE`; `license-file` in Cargo, since it has no SPDX identifier); the file format (`docs/format.md`), the command reference (`docs/cli.md`, written by `klad reference`), the agent skill and the `klad-client` crate (`crates/client`, which runs the CLI and depends on no other klad crate) are MIT (`LICENSE-MIT`), so any program or agent can work with klad drawings. Contributions come in under a CLA (`CLA.md`, signed through the CLA assistant). Every dependency is permissive: MIT, Apache-2.0, BSD-2/3, ISC, Zlib, BSL-1.0, Unicode-3.0, CC0-1.0, and for the fonts the editor shows its interface in, OFL-1.1 and the Ubuntu Font Licence. No GPL, LGPL or MPL unless dual licensed with one of these (two crates are, and are taken as `self_cell` under Apache-2.0 and `r-efi` under MIT). `deny.toml` holds the list, RustSec advisories, yanked versions and crates.io as the only source; `just audit` checks it with `cargo deny` and that `THIRD-PARTY-NOTICES.md` is current (`just notices` makes it with `cargo about`, plus the parts Cargo does not see: Skia's built-in libraries and the fonts, from `licenses/bundled/`). `klad licences` and the editor's About window show the same text.
### Dependencies