Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

Rename app to WolfCut, fix fresh-checkout build, add macOS+Windows CI

Jareerd4cdd27fcbb1
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 00000000..844460cc
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,75 @@
+name: Build App
+
+# Compiles the WolfCut desktop app for macOS and Windows and uploads the
+# bundles as artifacts. Runs on pushes to main and on demand.
+#
+# The bundled FFmpeg (desktop/src-tauri/ffmpeg/) is not staged here - these
+# builds fall back to FFmpeg on PATH at runtime, which is the dev behaviour.
+# Drop platform binaries into that directory before building to ship them.
+on:
+ workflow_dispatch:
+ push:
+ branches: [main]
+
+concurrency:
+ group: build-${{ github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ engine-tests:
+ name: Engine tests (ubuntu)
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: dtolnay/rust-toolchain@stable
+ - uses: Swatinem/rust-cache@v2
+ with:
+ workspaces: engine
+ - run: cargo test --workspace
+ working-directory: engine
+
+ app:
+ name: App (${{ matrix.platform }})
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - platform: macos
+ os: macos-latest
+ - platform: windows
+ os: windows-latest
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 22
+ cache: npm
+ cache-dependency-path: desktop/package-lock.json
+
+ - uses: dtolnay/rust-toolchain@stable
+
+ - uses: Swatinem/rust-cache@v2
+ with:
+ workspaces: desktop/src-tauri
+
+ - run: npm ci
+ working-directory: desktop
+
+ - run: npm run typecheck
+ working-directory: desktop
+
+ # Full release build - LTO and codegen-units=1 make this the slow step.
+ - run: npm run app:build
+ working-directory: desktop
+
+ - uses: actions/upload-artifact@v4
+ with:
+ name: WolfCut-${{ matrix.platform }}
+ path: |
+ desktop/src-tauri/target/release/bundle/macos/*.app/**
+ desktop/src-tauri/target/release/bundle/dmg/*.dmg
+ desktop/src-tauri/target/release/bundle/msi/*.msi
+ desktop/src-tauri/target/release/bundle/nsis/*.exe
+ if-no-files-found: error
diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md
index ed419c2a..63adb87a 100644
--- a/ARCHITECTURE.md
+++ b/ARCHITECTURE.md
@@ -1,4 +1,4 @@
-# How Relay works
+# How WolfCut works
A map of the whole system. For *why* particular choices were made, see the
decision logs in `engine/docs/decisions/` and `desktop/docs/decisions/`.
diff --git a/BUILD.md b/BUILD.md
index 75afcc75..b76689d4 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -1,4 +1,4 @@
-# Building Relay
+# Building WolfCut
Two independent pieces:
@@ -17,7 +17,7 @@ You can work on the engine without ever touching the desktop app.
| **FFmpeg** | 7+ | Runtime dependency — the engine shells out to it | `ffmpeg -version` |
| **MSVC Build Tools** | 2022 | Windows only; Rust's default toolchain links with it | — |
-FFmpeg must be on `PATH` as both `ffmpeg` **and** `ffprobe`. Relay does not
+FFmpeg must be on `PATH` as both `ffmpeg` **and** `ffprobe`. WolfCut does not
bundle it. Without it the app starts fine and then fails on first import with
"could not run `ffprobe` - is FFmpeg installed and on PATH?".
@@ -60,8 +60,8 @@ under `src/` hot-reloads without a Rust rebuild at all.
```
relay-desktop.exe standalone, no install needed
-bundle/nsis/Relay_0.1.0_x64-setup.exe installer
-bundle/msi/Relay_0.1.0_x64_en-US.msi installer
+bundle/nsis/WolfCut_0.1.0_x64-setup.exe installer
+bundle/msi/WolfCut_0.1.0_x64_en-US.msi installer
```
Release builds use `lto = true` and `codegen-units = 1`, so expect them to be
@@ -83,7 +83,7 @@ timestamps and cannot seek to an exact frame, so there is a second decoder that
links FFmpeg directly, behind the `ffi` feature.
Nothing in the app enables it yet. **You do not need any of this to build or
-run Relay.**
+run WolfCut.**
### Setup, exactly as verified
diff --git a/desktop/README.md b/desktop/README.md
index 55c15ebb..e31cf4cd 100644
--- a/desktop/README.md
+++ b/desktop/README.md
@@ -2,7 +2,7 @@
<img src="../assets/wolfcut_logo_512.png" alt="Wolfcut logo" width="160" />
</p>
-# Relay Desktop
+# WolfCut Desktop
The editor front end. Tauri v2 + React 19 + Tailwind v4, talking to the Rust
engine in [`../engine`](../engine).
diff --git a/desktop/package-lock.json b/desktop/package-lock.json
index 6d964c66..36c2f935 100644
--- a/desktop/package-lock.json
+++ b/desktop/package-lock.json
@@ -1,11 +1,11 @@
{
- "name": "relay-desktop",
+ "name": "wolfcut-desktop",
"version": "0.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
- "name": "relay-desktop",
+ "name": "wolfcut-desktop",
"version": "0.1.0",
"dependencies": {
"@tauri-apps/api": "^2",
diff --git a/desktop/package.json b/desktop/package.json
index 57f3c3ad..bac6802c 100644
--- a/desktop/package.json
+++ b/desktop/package.json
@@ -1,5 +1,5 @@
{
- "name": "relay-desktop",
+ "name": "wolfcut-desktop",
"private": true,
"version": "0.1.0",
"type": "module",
diff --git a/desktop/src-tauri/icons/android/mipmap-anydpi-v26/ic_launcher.xml b/desktop/src-tauri/icons/android/mipmap-anydpi-v26/ic_launcher.xml
deleted file mode 100644
index 2ffbf24b..00000000
--- a/desktop/src-tauri/icons/android/mipmap-anydpi-v26/ic_launcher.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
- <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
- <background android:drawable="@color/ic_launcher_background"/>
-</adaptive-icon>
\ No newline at end of file
diff --git a/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png b/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png
deleted file mode 100644
index 928379e0..00000000
Binary files a/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png and /dev/null differ
diff --git a/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png b/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png
deleted file mode 100644
index dc612881..00000000
Binary files a/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png and /dev/null differ
diff --git a/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png b/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png
deleted file mode 100644
index 3ebfca26..00000000
Binary files a/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png and /dev/null differ
diff --git a/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png b/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png
deleted file mode 100644
index 1602e149..00000000
Binary files a/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png and /dev/null differ
diff --git a/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png b/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png
deleted file mode 100644
index 43f23453..00000000
Binary files a/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png and /dev/null differ
diff --git a/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png b/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png
deleted file mode 100644
index 45019bec..00000000
Binary files a/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png and /dev/null differ
diff --git a/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png b/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png
deleted file mode 100644
index f6d1efe6..00000000
Binary files a/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png and /dev/null differ
diff --git a/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png b/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png
deleted file mode 100644
index f6df9ff3..00000000
Binary files a/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png and /dev/null differ
diff --git a/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png b/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png
deleted file mode 100644
index 26211773..00000000
Binary files a/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png and /dev/null differ
diff --git a/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png b/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png
deleted file mode 100644
index 5373d4ae..00000000
Binary files a/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png and /dev/null differ
diff --git a/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png b/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png
deleted file mode 100644
index 9f59ca3c..00000000
Binary files a/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png and /dev/null differ
diff --git a/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png b/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png
deleted file mode 100644
index 7a105a4a..00000000
Binary files a/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png and /dev/null differ
diff --git a/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png b/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png
deleted file mode 100644
index d6c8e4d5..00000000
Binary files a/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ
diff --git a/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png b/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png
deleted file mode 100644
index 63b303b0..00000000
Binary files a/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png and /dev/null differ
diff --git a/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png b/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png
deleted file mode 100644
index f34e61af..00000000
Binary files a/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png and /dev/null differ
diff --git a/desktop/src-tauri/icons/android/values/ic_launcher_background.xml b/desktop/src-tauri/icons/android/values/ic_launcher_background.xml
deleted file mode 100644
index ea9c223a..00000000
--- a/desktop/src-tauri/icons/android/values/ic_launcher_background.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <color name="ic_launcher_background">#fff</color>
-</resources>
\ No newline at end of file
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index ba0fc26a..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index 3c41e9eb..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index 3c41e9eb..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index d47e8209..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index 902c86ec..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index 9f5c509c..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index 9f5c509c..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index 934ee072..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index 3c41e9eb..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index 3cc745f6..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index 3cc745f6..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index b3c9f018..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index d25a7d16..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index b3c9f018..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index 13944698..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index 8695d5c8..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index a08f30de..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/icons/ios/[email protected] b/desktop/src-tauri/icons/ios/[email protected]
deleted file mode 100644
index 372d927c..00000000
Binary files a/desktop/src-tauri/icons/ios/[email protected] and /dev/null differ
diff --git a/desktop/src-tauri/tauri.conf.json b/desktop/src-tauri/tauri.conf.json
index ef79878d..705101bf 100644
--- a/desktop/src-tauri/tauri.conf.json
+++ b/desktop/src-tauri/tauri.conf.json
@@ -1,6 +1,6 @@
{
"$schema": "https://schema.tauri.app/config/2",
- "productName": "Relay",
+ "productName": "WolfCut",
"version": "0.1.0",
"identifier": "dev.relay.editor",
"build": {
@@ -12,7 +12,7 @@
"app": {
"windows": [
{
- "title": "Relay",
+ "title": "WolfCut",
"width": 1440,
"height": 900,
"minWidth": 1024,
diff --git a/desktop/src/components/StartScreen.tsx b/desktop/src/components/StartScreen.tsx
index f7b4ee75..006a01e2 100644
--- a/desktop/src/components/StartScreen.tsx
+++ b/desktop/src/components/StartScreen.tsx
@@ -64,11 +64,11 @@ export function StartScreen({ onCreate }: { onCreate: (session: ProjectSession)
const [error, setError] = useState<string | null>(null);
const [recents, setRecents] = useState<ProjectInfo[]>([]);
- // Default to Desktop/Relay. Failing to resolve it is not worth surfacing;
+ // Default to Desktop/WolfCut. Failing to resolve it is not worth surfacing;
// the field simply starts empty and Choose still works.
useEffect(() => {
void desktopDir()
- .then((desktop) => join(desktop, "Relay"))
+ .then((desktop) => join(desktop, "WolfCut"))
.then(setLocation)
.catch(() => undefined);
}, []);
diff --git a/desktop/src/components/TitleBar.tsx b/desktop/src/components/TitleBar.tsx
index 9d3c84e8..ef9ba5b5 100644
--- a/desktop/src/components/TitleBar.tsx
+++ b/desktop/src/components/TitleBar.tsx
@@ -75,7 +75,7 @@ export function TitleBar({
<span className="flex h-4 w-4 items-center justify-center rounded bg-accent text-on-accent">
<Icon name="film" size={11} strokeWidth={2.5} />
</span>
- <span className="font-display text-[13px] font-bold tracking-tight text-primary">Relay</span>
+ <span className="font-display text-[13px] font-bold tracking-tight text-primary">WolfCut</span>
</span>
<nav className="flex items-center">
diff --git a/desktop/src/lib/assets.ts b/desktop/src/lib/assets.ts
index 683a3773..dc144dcf 100644
--- a/desktop/src/lib/assets.ts
+++ b/desktop/src/lib/assets.ts
@@ -155,7 +155,7 @@ async function loadPeaks(path: string): Promise<Peaks | null> {
return { min, max, bucketsPerSecond: buffer.sampleRate / bucketSize };
} catch (cause) {
- console.warn(`Relay: no waveform for ${path}`, cause);
+ console.warn(`WolfCut: no waveform for ${path}`, cause);
return null;
}
}
@@ -166,7 +166,7 @@ async function loadImage(path: string): Promise<ImageBitmap | null> {
const bytes = await readMediaBytes(path);
return await createImageBitmap(new Blob([bytes]));
} catch (cause) {
- console.warn(`Relay: could not decode ${path}`, cause);
+ console.warn(`WolfCut: could not decode ${path}`, cause);
return null;
}
}
@@ -185,7 +185,7 @@ async function loadStrip(path: string, duration: number | null): Promise<ImageBi
// stall the timeline.
return await createImageBitmap(new Blob([bytes], { type: "image/jpeg" }));
} catch (cause) {
- console.warn(`Relay: no filmstrip for ${path}`, cause);
+ console.warn(`WolfCut: no filmstrip for ${path}`, cause);
return null;
}
}
diff --git a/desktop/src/lib/audio.ts b/desktop/src/lib/audio.ts
index 1c55f4ab..b395b8c5 100644
--- a/desktop/src/lib/audio.ts
+++ b/desktop/src/lib/audio.ts
@@ -307,7 +307,7 @@ export class AudioPreview {
// failure than a clip that has gone quiet for no visible reason.
.catch((cause) => {
if (!voice.filter) throw cause;
- console.error(`Relay: filter render failed for ${voice.path}; playing it dry`, cause);
+ console.error(`WolfCut: filter render failed for ${voice.path}; playing it dry`, cause);
loaded.offset = 0;
return readMediaBytes(voice.path);
})
@@ -326,7 +326,7 @@ export class AudioPreview {
loaded.element.src = url;
loaded.element.load();
})
- .catch((cause) => console.error(`Relay: could not load audio for ${voice.path}`, cause))
+ .catch((cause) => console.error(`WolfCut: could not load audio for ${voice.path}`, cause))
.finally(() => {
loaded.loading = false;
if (this.rendering.delete(voice.clipId)) this.onRenderChange?.();
diff --git a/desktop/src/lib/theme.ts b/desktop/src/lib/theme.ts
index 666a3657..ad97ee80 100644
--- a/desktop/src/lib/theme.ts
+++ b/desktop/src/lib/theme.ts
@@ -3,7 +3,7 @@ import { useCallback, useLayoutEffect, useState } from "react";
/**
* Light or dark, chosen explicitly.
*
- * Relay defaults to light whatever the OS is set to. A creative tool that
+ * WolfCut defaults to light whatever the OS is set to. A creative tool that
* inverts itself because of a system setting the user was not thinking about
* is disorienting, and judging an image against a surround that changed on its
* own is worse than disorienting.