Open source CapCut alternative.
TypeScript
docs: update install and release guides for the single host
David Leb0989a85bdda
diff --git a/docs/guides/cut/README.md b/docs/guides/cut/README.mdindex 24ffe0fc..0d544d3e 100644--- a/docs/guides/cut/README.md+++ b/docs/guides/cut/README.md@@ -1,6 +1,6 @@# Cut-Cut (publicly "Donkey Cut") is a standalone, free video editor. Its product domain is `donkeycut.com` — a marketing landing at `/` and the editor at `/app/…`; old `cut.donkeyuse.com` links are redirected there at the edge (Cloudflare). The host serves only the client bundle — every page is client-rendered — and the page does all real work against the Cut engine: a local server the Donkey Mac app ships and supervises on the user's own Mac. The engine uses local disk, the app's bundled ffmpeg, on-device speech, and the user's own Claude/Codex CLI logins. Using the app requires a Donkey sign-in, and every engine request carries the signed-in account id: each account's projects and library live in that account's own folder on the Mac, so accounts sharing a machine don't see each other's work. AI generation — images, video, and voiceovers — and the assistant's Gemini models additionally spend credits: the page posts to Donkey's hosted inference routes with the user's session and credits. `donkeycut.com` owns sign-in directly — the auth pages and the Google callback serve on that host — so the session is a plain host-only cookie. Generated media lands back in the project through the engine like any other file; Gemini chat turns, including their editor tool calls, run entirely in the page.+Cut (publicly "Donkey Cut") is a standalone, free video editor. Its product domain is `donkeycut.com` — a marketing landing at `/` and the editor at `/app/…`; links on retired domains are redirected there at the edge (Cloudflare). The host serves only the client bundle — every page is client-rendered — and the page does all real work against the Cut engine: a local server the Donkey Mac app ships and supervises on the user's own Mac. The engine uses local disk, the app's bundled ffmpeg, on-device speech, and the user's own Claude/Codex CLI logins. Using the app requires a Donkey sign-in, and every engine request carries the signed-in account id: each account's projects and library live in that account's own folder on the Mac, so accounts sharing a machine don't see each other's work. AI generation — images, video, and voiceovers — and the assistant's Gemini models additionally spend credits: the page posts to Donkey's hosted inference routes with the user's session and credits. `donkeycut.com` owns sign-in directly — the auth pages and the Google callback serve on that host — so the session is a plain host-only cookie. Generated media lands back in the project through the engine like any other file; Gemini chat turns, including their editor tool calls, run entirely in the page.**The engine rule:** the engine API surface (`/api/cut/*`) runs only on the user's Mac. On a hosted deploy every one of those routes answers 404 before any handler runs, so the unauthenticated routes are unreachable there and nothing can execute off-Mac — the engine has no path to Donkey's production models; the page reaches them only through Donkey's own authenticated inference APIs. Don't wrap the engine's routes in the Donkey auth helper, reach for Prisma from them, or bill them against credits; local-only is the design for everything the engine does.diff --git a/docs/guides/install-donkey.md b/docs/guides/install-donkey.mdindex 2c074102..fa3e8947 100644--- a/docs/guides/install-donkey.md+++ b/docs/guides/install-donkey.md@@ -29,12 +29,7 @@ DONKEY_APP_BUILD="2" \```The app has no account and makes no authenticated calls; the menu bar's "Go to-App" opens the site at the packaged base URL — `https://donkeyuse.com` by-default. Override it for local or staging testing:--```bash-DONKEY_WEB_BASE_URL="http://localhost:3000" ./scripts/package-donkey-app.sh-```+App" opens the Cut app at `https://donkeycut.com/app`.Launch the packaged app with `open dist/Donkey.app`; test the installer flowwith `open dist/Donkey.dmg`.@@ -61,7 +56,7 @@ user driver and surfaces the update itself in the menu bar, so Sparkle's standarupdate windows are never shown.The public Sparkle feed lives in `site/public/appcast.xml`, served as-`https://donkeyuse.com/appcast.xml`. Appcast enclosure URLs point to the+`https://donkeycut.com/appcast.xml`. Appcast enclosure URLs point to thenumeric GitHub Release asset URL, not a moving `latest` or `-latest` URL. Donot use the Supabase Storage `/release` bucket for release binaries or appcasthosting.@@ -71,7 +66,7 @@ Configure Sparkle when packaging:```bashDONKEY_APP_VERSION="0.1.1" \DONKEY_APP_BUILD="2" \-DONKEY_SPARKLE_FEED_URL="https://donkeyuse.com/appcast.xml" \+DONKEY_SPARKLE_FEED_URL="https://donkeycut.com/appcast.xml" \DONKEY_SPARKLE_PUBLIC_ED_KEY="..." \./scripts/package-donkey-app.sh```@@ -122,7 +117,7 @@ with a packaged `Donkey.app` over macOS privacy settings.|---|---|| `DONKEY_START_SITE=0` | skip starting the site || `DONKEY_LAUNCH_APP=0` | build and register the debug app without opening it |-| `DONKEY_WEB_BASE_URL` | point the app at a different site |+| `DONKEY_WEB_BASE_URL` | where the dev site server is expected; non-local values skip starting it || `DONKEY_CODESIGN_IDENTITY` | sign with a local identity so macOS privacy grants stick to it; otherwise ad-hoc signing with a stable dev designated requirement || `DONKEY_KEEP_APP_ON_EXIT=1` | don't stop running `Donkey`, `Donkey Dev`, and sidecar processes when the script exits or receives `SIGINT`/`SIGTERM`/hangup || `DONKEY_STOP_APPS_BEFORE_BUILD=0` | don't stop running Donkey app processes before rebuilding (only when intentionally inspecting a running build) |diff --git a/docs/guides/releasing-donkey.md b/docs/guides/releasing-donkey.mdindex 2621e27b..8ecc8062 100644--- a/docs/guides/releasing-donkey.md+++ b/docs/guides/releasing-donkey.md@@ -230,7 +230,7 @@ After the workflow finishes:enclosure URL under `/releases/download/vMAJOR.MINOR.PATCH/Donkey.dmg`.- The GitHub Releases page keeps no more than 10 numeric production releases,plus the separate nightly prerelease when present.-- `https://donkeyuse.com/appcast.xml` updates after the site deploy completes.+- `https://donkeycut.com/appcast.xml` updates after the site deploy completes.If Sparkle cannot validate an update, first check that the app was packagedwith the `DONKEY_SPARKLE_PUBLIC_ED_KEY` that matches the private key stored in