Skip to content

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

updates

Jareerb9c51a449063
diff --git a/assets/icons/wolfcut_logo_128.png b/assets/icons/wolfcut_logo_128.png
new file mode 100644
index 00000000..bc456e9a
Binary files /dev/null and b/assets/icons/wolfcut_logo_128.png differ
diff --git a/assets/icons/wolfcut_logo_16.png b/assets/icons/wolfcut_logo_16.png
new file mode 100644
index 00000000..3bd0fa1d
Binary files /dev/null and b/assets/icons/wolfcut_logo_16.png differ
diff --git a/assets/icons/wolfcut_logo_256.png b/assets/icons/wolfcut_logo_256.png
new file mode 100644
index 00000000..d76cb9e3
Binary files /dev/null and b/assets/icons/wolfcut_logo_256.png differ
diff --git a/assets/icons/wolfcut_logo_32.png b/assets/icons/wolfcut_logo_32.png
new file mode 100644
index 00000000..90613764
Binary files /dev/null and b/assets/icons/wolfcut_logo_32.png differ
diff --git a/assets/icons/wolfcut_logo_512.png b/assets/icons/wolfcut_logo_512.png
new file mode 100644
index 00000000..b7295b70
Binary files /dev/null and b/assets/icons/wolfcut_logo_512.png differ
diff --git a/assets/icons/wolfcut_logo_64.png b/assets/icons/wolfcut_logo_64.png
new file mode 100644
index 00000000..e740347a
Binary files /dev/null and b/assets/icons/wolfcut_logo_64.png differ
diff --git a/scripts/generate-icons.sh b/scripts/generate-icons.sh
new file mode 100755
index 00000000..6ed7e360
--- /dev/null
+++ b/scripts/generate-icons.sh
@@ -0,0 +1,45 @@
+#!/usr/bin/env bash
+# Generate a folder of square icon PNGs from a single 512x512 source.
+#
+# Usage:
+# scripts/generate-icons.sh [source.png] [output-dir]
+#
+# Defaults:
+# source assets/wolfcut_logo_512.png
+# output-dir assets/icons
+#
+# Uses sips on macOS, ImageMagick (magick/convert) elsewhere.
+set -euo pipefail
+
+REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
+SRC="${1:-$REPO_ROOT/assets/wolfcut_logo_512.png}"
+OUT="${2:-$REPO_ROOT/assets/icons}"
+SIZES=(512 256 128 64 32 16)
+
+if [[ ! -f "$SRC" ]]; then
+ echo "error: source image not found: $SRC" >&2
+ exit 1
+fi
+
+mkdir -p "$OUT"
+
+resize() { # resize <size> <dest>
+ if command -v sips >/dev/null 2>&1; then
+ sips -z "$1" "$1" "$SRC" --out "$2" >/dev/null
+ elif command -v magick >/dev/null 2>&1; then
+ magick "$SRC" -resize "${1}x${1}" "$2"
+ elif command -v convert >/dev/null 2>&1; then
+ convert "$SRC" -resize "${1}x${1}" "$2"
+ else
+ echo "error: need sips or ImageMagick (magick/convert) on PATH" >&2
+ exit 1
+ fi
+}
+
+base="$(basename "$SRC" .png)"
+base="${base%_512}"
+for size in "${SIZES[@]}"; do
+ dest="$OUT/${base}_${size}.png"
+ resize "$size" "$dest"
+ echo "wrote $dest"
+done