Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/pack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Pack for the marketplace
description: Send a pack you made (edits packs share ID makes the .tgz and opens this)
title: "Pack: "
labels: [pack]
body:
- type: markdown
attributes:
value: Drag the `.tgz` that `edits packs share ID` made into the box below. It is read before it is listed; a pack that runs a program is read line by line.
- type: textarea
id: pack
attributes:
label: The pack
description: Its id, name, what it is, and the .tgz attached
validations:
required: true
- type: checkboxes
id: mine
attributes:
label: Yours to share
options:
- label: I made it, or may share everything in it
required: true
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,22 @@ on:
branches: [main]
pull_request:
jobs:
# edits and the app inside it, on each system it ships for
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libxkbcommon-x11-dev libwayland-dev libfontconfig-dev libx11-xcb-dev libvulkan-dev
- run: cargo clippy --all-targets -- -D warnings
- run: cargo test
# the build for servers, without a screen
server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo clippy --no-default-features --all-targets -- -D warnings
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: rustup target add ${{ matrix.target }}
# what GPUI (the app inside edits) builds against on Linux
- if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libxkbcommon-x11-dev libwayland-dev libfontconfig-dev libx11-xcb-dev libvulkan-dev
- run: cargo test --release
if: matrix.target != 'x86_64-apple-darwin'
- run: cargo build --release --target ${{ matrix.target }}
Expand All @@ -32,6 +35,13 @@ jobs:
run: |
mkdir out
Compress-Archive -Path target/${{ matrix.target }}/release/edits.exe -DestinationPath out/edits-${{ matrix.target }}.zip
# the download is a selling point: edits, its app inside, stays under 15 MB
- name: size
shell: bash
run: |
f=$(ls out/*); n=$(wc -c < "$f")
echo "$f: $n bytes"
[ "$n" -le 15728640 ] || { echo "$f is over 15 MB"; exit 1; }
- uses: actions/upload-artifact@v4
with:
name: edits-${{ matrix.target }}
Expand Down
14 changes: 7 additions & 7 deletions BRAND.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# EditsMaker brand standards

<sub>Version 1, November 2026. Applies to the README, release pages, the design kit, the MCP server's text and anything else that carries the EditsMaker name.</sub>
<sub>Version 1, November 2026. Applies to the README, release pages, the app, the MCP server's text and anything else that carries the EditsMaker name.</sub>

## 0. Why these rules exist

A brand is a promise that keeps its shape. People judge a page in about 50 milliseconds, and that first judgement holds after they read further [9]. Anything that is quick to take in also feels better to look at [12]. So each rule below does one of two things: it makes EditsMaker recognisable at a glance, or it makes the page easier to take in.

The system descends from the 1976 NASA Graphics Standards Manual (NHB 1430.2) by Danne & Blackburn [5]: one logotype, one red, one typeface, a strict grid and nothing decorative. Since November 2026 one thing differs from the manual: sections sit on soft cards with round corners, because research and our readers both found that more comfortable (§ 6).

Every value here also lives as code: colours and sizes in [`design/tokens.css`](design/tokens.css), the README pictures in [`design/readme.py`](design/readme.py). If this document and the code disagree, the code is the bug: fix it, then this page.
Every value here also lives as code: colours, type and sizes in [`src/app/theme.rs`](src/app/theme.rs), which the app draws with. The README pictures in [`assets/readme`](assets/readme) are SVG files, kept to these rules by hand. If this document and the code disagree, the code is the bug: fix it, then this page.

---

Expand Down Expand Up @@ -60,7 +60,7 @@ All text meets WCAG 2.2 level AA [15]: 4.5 : 1 for body text, 3 : 1 for large te
| Brand red (`--cut-red`), large only | 3.95 : 1 | 3.99 : 1 |
| Paper on `--red-deep` | 5.0 : 1 | 5.0 : 1 |

The brand red passes only at large sizes, which is why small red text switches to `--red-text`. `design/readme.py` does this by itself, by size, so no picture has to remember it.
The brand red passes only at large sizes, which is why small red text switches to `--red-text`.

### 3.2 One red per view

Expand All @@ -73,7 +73,7 @@ Each picture, section or screen gets **one** red thing: the punchline, our row i
| Role | Size / weight | Where |
|---|---|---|
| Display | 76 / 700, tracking −3.5 | the name in the title |
| Number | 64–104 / 700, tracking −3 to −6 | one big figure per view, e.g. 3.7 MB |
| Number | 64–104 / 700, tracking −3 to −6 | one big figure per view, e.g. 12.4 MB |
| Call to action | 32 / 700 | Download |
| Label | 19 / 700 | a section's name, left column |
| Body | 15 / 300 | what the section says |
Expand Down Expand Up @@ -111,12 +111,12 @@ Our comparisons have to survive someone checking them.
## 8. Other brands' logos

- Shown only to say what EditsMaker works with or is compared to (nominative use), **one colour**, at the same size as the text beside them.
- Taken from Simple Icons (CC0) or LobeHub icons (MIT); see [`design/logos.json`](design/logos.json).
- Taken from Simple Icons (CC0) or LobeHub icons (MIT).
- Where a brand has no free icon, such as Adobe, which asked Simple Icons to remove theirs, we set its **initials in our type** ("Pr", "Ae"). We never redraw or copy a logo.

## 9. Words

- **Plain words, short sentences, numbers before adjectives**: "3.7 MB", not "lightweight". Concrete claims are easier to process, and so feel truer [12].
- **Plain words, short sentences, numbers before adjectives**: "12.4 MB", not "lightweight". Concrete claims are easier to process, and so feel truer [12].
- **One call to action**. Every extra choice adds decision time [7]: the page asks for one thing, Download.
- **Lists of at most six**. Working memory holds about four chunks at once [4]; six badges is the ceiling, and four is better.
- **The visible README is the sales page.** No licence, language, version, citations or caveats above the folded sections: those live below, in `<details>`. Honest labels inside a picture are fine; footnotes are not.
Expand Down Expand Up @@ -153,7 +153,7 @@ Edits carry the brand by their captions, not by a logo.
- [ ] Bars from zero on a linear scale; any differently measured value labelled in the picture
- [ ] Other brands' logos in one colour, or their initials
- [ ] No licence, version or source text in the visible README
- [ ] Pictures regenerated with `python3 design/readme.py` and checked light and dark
- [ ] Pictures and the app checked light and dark

---

Expand Down
40 changes: 4 additions & 36 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,48 +14,16 @@ cargo build --release && ./target/release/edits doctor
```

- New logic needs a test beside it (`#[cfg(test)]` in the same file).
- Keep it one binary: new crates only when the standard library or ffmpeg cannot do the job.
- Rust and packs only: no HTML, JS or Python beside the code. A script a website must run is an automation pack.
- `edits` stays one binary: new crates only when the standard library or ffmpeg cannot do the job. The app is
`src/app` (GPUI, the `app` feature; `--no-default-features` builds without it), and its look follows [BRAND.md](BRAND.md).
- Check a change on a real video before calling it done: render one, look at the frames.

## Packs

A pack is a folder holding a preset (`preset.json`), an agent skill (`SKILL.md`) or both, with a `manifest.json` and
a picture. The ones in [`packs/`](packs) are built into the binary; community packs live in their own repositories.

```json
{
"schemaVersion": 1,
"id": "io.github.you.sad-rain",
"name": "Sad rain",
"version": "1.0.0",
"author": "you",
"description": "Long grey holds that breathe, for a quiet song.",
"kinds": ["preset", "skill"],
"preview": "preview.svg",
"tags": ["slow", "9:16"],
"license": "MIT"
}
```

- `id`: lowercase letters, digits, dots and dashes, unique; `edits.` is the built-in packs'.
- `kinds`: `preset` when `preset.json` is there, `skill` when `SKILL.md` is (with a `name:` in its front matter).
- `preview`: `preview.svg`, `.png`, `.jpg` or `.webp` beside the manifest. Leave it out and one is drawn.
- `edits packs make DIR [--preset NAME] [--id ID]` writes the manifest and the picture for you, and checks the pack.

**A community pack:** a public GitHub repository with the pack at its root, a README and a license. Check it with
`edits packs add https://github.com/you/repo`, then open a pull request adding a line to [`packs.json`](packs.json):

```json
{"id": "io.github.you.sad-rain", "repo": "https://github.com/you/repo", "name": "Sad rain", "description": "...", "kinds": ["preset"]}
```

Everyone can then `edits packs browse` and `edits packs add io.github.you.sad-rain`. A pack's skill is instructions
agents follow, so it is read before it is listed.

**A built-in pack:** a folder in `packs/` (from Alight Motion or Premiere: `edits preset import <zip|xml|folder|prfpset>
--into packs/NAME`, then rename the file to `preset.json`), `edits packs make packs/NAME --id edits.NAME`,
`edits packs gallery packs`, and `cargo test` (every shipped pack must be whole). Only add presets you made or may
share, and keep the maker's name in `name` or `about`.
What a pack must hold, how to make one (`edits packs create`, `edits packs make`) and how to list it: [PACKS.md](PACKS.md).

## Pull requests

Expand Down
Loading
Loading