Free, open-source AI video generator for Mac. Run LTX-2.5 and MiniMax H3 (Hailuo) locally on Apple Silicon: text-to-video and image-to-video with sound, lip-sync, character LoRA training, songs from lyrics (YuE2) and image editing (Qwen-Image-Edit). One-click install via Pinokio. Offline: no cloud, no API key, no NVIDIA GPU.
Python ai-filmmakingai-videoai-video-generatorapple-siliconhailuoimage-to-videolip-synclocal-ailora-trainingltx-2ltx-2-5ltx-videomacosminimax-h3mlxmusic-generationoffline-aipinokiotext-to-videovideo-generation
Y1.003 · recovery path for pre-2026-05-01 clones + no-force-push policy
mrbizarro3a3bce3eb826
diff --git a/.clinerules b/.clinerulesindex 5f5972c..fa8737f 100644--- a/.clinerules+++ b/.clinerules@@ -165,6 +165,28 @@ new patch versions without a venv rebuild — used when we addedserious project shipped by `mrbizarro`. Co-author trailers showing"Claude" make it look like a vibe-coded toy.+### Git policy — NEVER FORCE-PUSH `origin/main`+- A history-rewrite + force-push on 2026-05-01 (to scrub identity+ leaks from old commits) broke `git pull` for every existing user+ whose local clone contained orphaned commits — Pinokio's Update+ silently stalled for them and they couldn't get any new features.+ GitHub aggressively GC'd the orphaned objects within hours, so the+ pre-rewrite history is unrecoverable.+- **Do not run `git filter-branch`, `git rebase` (on shared history),+ `git push --force`, `git push --force-with-lease`, or anything else+ that rewrites already-published commits on `origin/main`. Ever.**+- If a commit needs amending and it's already pushed, **make a new+ commit that reverts/fixes it.** The history is append-only.+- If the user requests a history rewrite (e.g. "scrub my name"), say+ no and explain why: existing users get orphaned, their `git pull`+ fails, the entire user base needs out-of-band recovery. Offer+ alternatives instead — going-forward commits use the right+ identity; old commits stay as they are.+- The recovery infrastructure for the 2026-05-01 incident lives in+ `recover.sh`, the README's "Stuck on an old version?" section, and+ the resilient `update.js` (which now `fetch + reset --hard` falls+ back automatically). Don't remove or weaken any of those.+### Commit message style- Subject line in imperative mood, 50–72 chars max, no trailing period.Use `feat:` / `fix:` / `refactor:` / `docs:` / `chore:` / `perf:` /diff --git a/.cursorrules b/.cursorrulesindex 5f5972c..fa8737f 100644--- a/.cursorrules+++ b/.cursorrules@@ -165,6 +165,28 @@ new patch versions without a venv rebuild — used when we addedserious project shipped by `mrbizarro`. Co-author trailers showing"Claude" make it look like a vibe-coded toy.+### Git policy — NEVER FORCE-PUSH `origin/main`+- A history-rewrite + force-push on 2026-05-01 (to scrub identity+ leaks from old commits) broke `git pull` for every existing user+ whose local clone contained orphaned commits — Pinokio's Update+ silently stalled for them and they couldn't get any new features.+ GitHub aggressively GC'd the orphaned objects within hours, so the+ pre-rewrite history is unrecoverable.+- **Do not run `git filter-branch`, `git rebase` (on shared history),+ `git push --force`, `git push --force-with-lease`, or anything else+ that rewrites already-published commits on `origin/main`. Ever.**+- If a commit needs amending and it's already pushed, **make a new+ commit that reverts/fixes it.** The history is append-only.+- If the user requests a history rewrite (e.g. "scrub my name"), say+ no and explain why: existing users get orphaned, their `git pull`+ fails, the entire user base needs out-of-band recovery. Offer+ alternatives instead — going-forward commits use the right+ identity; old commits stay as they are.+- The recovery infrastructure for the 2026-05-01 incident lives in+ `recover.sh`, the README's "Stuck on an old version?" section, and+ the resilient `update.js` (which now `fetch + reset --hard` falls+ back automatically). Don't remove or weaken any of those.+### Commit message style- Subject line in imperative mood, 50–72 chars max, no trailing period.Use `feat:` / `fix:` / `refactor:` / `docs:` / `chore:` / `perf:` /diff --git a/.windsurfrules b/.windsurfrulesindex 5f5972c..fa8737f 100644--- a/.windsurfrules+++ b/.windsurfrules@@ -165,6 +165,28 @@ new patch versions without a venv rebuild — used when we addedserious project shipped by `mrbizarro`. Co-author trailers showing"Claude" make it look like a vibe-coded toy.+### Git policy — NEVER FORCE-PUSH `origin/main`+- A history-rewrite + force-push on 2026-05-01 (to scrub identity+ leaks from old commits) broke `git pull` for every existing user+ whose local clone contained orphaned commits — Pinokio's Update+ silently stalled for them and they couldn't get any new features.+ GitHub aggressively GC'd the orphaned objects within hours, so the+ pre-rewrite history is unrecoverable.+- **Do not run `git filter-branch`, `git rebase` (on shared history),+ `git push --force`, `git push --force-with-lease`, or anything else+ that rewrites already-published commits on `origin/main`. Ever.**+- If a commit needs amending and it's already pushed, **make a new+ commit that reverts/fixes it.** The history is append-only.+- If the user requests a history rewrite (e.g. "scrub my name"), say+ no and explain why: existing users get orphaned, their `git pull`+ fails, the entire user base needs out-of-band recovery. Offer+ alternatives instead — going-forward commits use the right+ identity; old commits stay as they are.+- The recovery infrastructure for the 2026-05-01 incident lives in+ `recover.sh`, the README's "Stuck on an old version?" section, and+ the resilient `update.js` (which now `fetch + reset --hard` falls+ back automatically). Don't remove or weaken any of those.+### Commit message style- Subject line in imperative mood, 50–72 chars max, no trailing period.Use `feat:` / `fix:` / `refactor:` / `docs:` / `chore:` / `perf:` /diff --git a/AGENTS.md b/AGENTS.mdindex 5f5972c..fa8737f 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -165,6 +165,28 @@ new patch versions without a venv rebuild — used when we addedserious project shipped by `mrbizarro`. Co-author trailers showing"Claude" make it look like a vibe-coded toy.+### Git policy — NEVER FORCE-PUSH `origin/main`+- A history-rewrite + force-push on 2026-05-01 (to scrub identity+ leaks from old commits) broke `git pull` for every existing user+ whose local clone contained orphaned commits — Pinokio's Update+ silently stalled for them and they couldn't get any new features.+ GitHub aggressively GC'd the orphaned objects within hours, so the+ pre-rewrite history is unrecoverable.+- **Do not run `git filter-branch`, `git rebase` (on shared history),+ `git push --force`, `git push --force-with-lease`, or anything else+ that rewrites already-published commits on `origin/main`. Ever.**+- If a commit needs amending and it's already pushed, **make a new+ commit that reverts/fixes it.** The history is append-only.+- If the user requests a history rewrite (e.g. "scrub my name"), say+ no and explain why: existing users get orphaned, their `git pull`+ fails, the entire user base needs out-of-band recovery. Offer+ alternatives instead — going-forward commits use the right+ identity; old commits stay as they are.+- The recovery infrastructure for the 2026-05-01 incident lives in+ `recover.sh`, the README's "Stuck on an old version?" section, and+ the resilient `update.js` (which now `fetch + reset --hard` falls+ back automatically). Don't remove or weaken any of those.+### Commit message style- Subject line in imperative mood, 50–72 chars max, no trailing period.Use `feat:` / `fix:` / `refactor:` / `docs:` / `chore:` / `perf:` /diff --git a/CLAUDE.md b/CLAUDE.mdindex 5f5972c..fa8737f 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -165,6 +165,28 @@ new patch versions without a venv rebuild — used when we addedserious project shipped by `mrbizarro`. Co-author trailers showing"Claude" make it look like a vibe-coded toy.+### Git policy — NEVER FORCE-PUSH `origin/main`+- A history-rewrite + force-push on 2026-05-01 (to scrub identity+ leaks from old commits) broke `git pull` for every existing user+ whose local clone contained orphaned commits — Pinokio's Update+ silently stalled for them and they couldn't get any new features.+ GitHub aggressively GC'd the orphaned objects within hours, so the+ pre-rewrite history is unrecoverable.+- **Do not run `git filter-branch`, `git rebase` (on shared history),+ `git push --force`, `git push --force-with-lease`, or anything else+ that rewrites already-published commits on `origin/main`. Ever.**+- If a commit needs amending and it's already pushed, **make a new+ commit that reverts/fixes it.** The history is append-only.+- If the user requests a history rewrite (e.g. "scrub my name"), say+ no and explain why: existing users get orphaned, their `git pull`+ fails, the entire user base needs out-of-band recovery. Offer+ alternatives instead — going-forward commits use the right+ identity; old commits stay as they are.+- The recovery infrastructure for the 2026-05-01 incident lives in+ `recover.sh`, the README's "Stuck on an old version?" section, and+ the resilient `update.js` (which now `fetch + reset --hard` falls+ back automatically). Don't remove or weaken any of those.+### Commit message style- Subject line in imperative mood, 50–72 chars max, no trailing period.Use `feat:` / `fix:` / `refactor:` / `docs:` / `chore:` / `perf:` /diff --git a/GEMINI.md b/GEMINI.mdindex 5f5972c..fa8737f 100644--- a/GEMINI.md+++ b/GEMINI.md@@ -165,6 +165,28 @@ new patch versions without a venv rebuild — used when we addedserious project shipped by `mrbizarro`. Co-author trailers showing"Claude" make it look like a vibe-coded toy.+### Git policy — NEVER FORCE-PUSH `origin/main`+- A history-rewrite + force-push on 2026-05-01 (to scrub identity+ leaks from old commits) broke `git pull` for every existing user+ whose local clone contained orphaned commits — Pinokio's Update+ silently stalled for them and they couldn't get any new features.+ GitHub aggressively GC'd the orphaned objects within hours, so the+ pre-rewrite history is unrecoverable.+- **Do not run `git filter-branch`, `git rebase` (on shared history),+ `git push --force`, `git push --force-with-lease`, or anything else+ that rewrites already-published commits on `origin/main`. Ever.**+- If a commit needs amending and it's already pushed, **make a new+ commit that reverts/fixes it.** The history is append-only.+- If the user requests a history rewrite (e.g. "scrub my name"), say+ no and explain why: existing users get orphaned, their `git pull`+ fails, the entire user base needs out-of-band recovery. Offer+ alternatives instead — going-forward commits use the right+ identity; old commits stay as they are.+- The recovery infrastructure for the 2026-05-01 incident lives in+ `recover.sh`, the README's "Stuck on an old version?" section, and+ the resilient `update.js` (which now `fetch + reset --hard` falls+ back automatically). Don't remove or weaken any of those.+### Commit message style- Subject line in imperative mood, 50–72 chars max, no trailing period.Use `feat:` / `fix:` / `refactor:` / `docs:` / `chore:` / `perf:` /diff --git a/QWEN.md b/QWEN.mdindex 5f5972c..fa8737f 100644--- a/QWEN.md+++ b/QWEN.md@@ -165,6 +165,28 @@ new patch versions without a venv rebuild — used when we addedserious project shipped by `mrbizarro`. Co-author trailers showing"Claude" make it look like a vibe-coded toy.+### Git policy — NEVER FORCE-PUSH `origin/main`+- A history-rewrite + force-push on 2026-05-01 (to scrub identity+ leaks from old commits) broke `git pull` for every existing user+ whose local clone contained orphaned commits — Pinokio's Update+ silently stalled for them and they couldn't get any new features.+ GitHub aggressively GC'd the orphaned objects within hours, so the+ pre-rewrite history is unrecoverable.+- **Do not run `git filter-branch`, `git rebase` (on shared history),+ `git push --force`, `git push --force-with-lease`, or anything else+ that rewrites already-published commits on `origin/main`. Ever.**+- If a commit needs amending and it's already pushed, **make a new+ commit that reverts/fixes it.** The history is append-only.+- If the user requests a history rewrite (e.g. "scrub my name"), say+ no and explain why: existing users get orphaned, their `git pull`+ fails, the entire user base needs out-of-band recovery. Offer+ alternatives instead — going-forward commits use the right+ identity; old commits stay as they are.+- The recovery infrastructure for the 2026-05-01 incident lives in+ `recover.sh`, the README's "Stuck on an old version?" section, and+ the resilient `update.js` (which now `fetch + reset --hard` falls+ back automatically). Don't remove or weaken any of those.+### Commit message style- Subject line in imperative mood, 50–72 chars max, no trailing period.Use `feat:` / `fix:` / `refactor:` / `docs:` / `chore:` / `perf:` /diff --git a/README.md b/README.mdindex cb4b08f..ea2679a 100644--- a/README.md+++ b/README.md@@ -18,6 +18,26 @@---+> ### ⚠ Pinokio Update silently doing nothing? Stuck on an old version?+>+> A one-time history scrub on 2026-05-01 made `git pull` refuse to+> fast-forward for clones that pre-date it. If your Pinokio Update fires+> but you don't see new features, you're hitting that — one command+> fixes it permanently:+>+> ```bash+> cd ~/pinokio/api/phosphene.git && git fetch origin && git reset --hard origin/main+> ```+>+> Or download and run [`recover.sh`](./recover.sh):+> `curl -fsSL https://raw.githubusercontent.com/mrbizarro/phosphene/main/recover.sh | bash`+>+> Then click **Update** in Pinokio (it'll succeed now), then **Stop → Start**.+> From **Y1.002 onward** Update self-recovers from any future divergence+> automatically, so this is a one-time fix.++---+## What it looks like<p align="center">diff --git a/VERSION b/VERSIONindex c057c13..bb06584 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-Y1.002+Y1.003diff --git a/pinokio.json b/pinokio.jsonindex bb34b11..9fbe857 100644--- a/pinokio.json+++ b/pinokio.json@@ -1,6 +1,6 @@{"title": "Phosphene",- "description": "[MAC ONLY] Local generative video panel for Apple Silicon. Joint audio+video via LTX 2.3 (MLX). T2V, I2V, FFLF, Extend. Lossless h264. Hardware-tier feature gating. Free, open source.",+ "description": "[MAC ONLY] Local generative video panel for Apple Silicon. Joint audio+video via LTX 2.3 (MLX). T2V, I2V, FFLF, Extend. Lossless h264. LoRA picker + CivitAI browser. Free, open source. — Update silently doing nothing on an existing install? Run recover.sh from the README (one-time fix for clones from before 2026-05-01).","icon": "icon.png","links": [{"title": "Phosphene (panel by Mr. Bizarro)",diff --git a/recover.sh b/recover.shnew file mode 100755index 0000000..cc8d5d5--- /dev/null+++ b/recover.sh@@ -0,0 +1,78 @@+#!/usr/bin/env bash+#+# Phosphene one-line recovery — gets a stuck install onto current main.+#+# Why this exists:+# A one-time history scrub on 2026-05-01 (rewriting commit identities to+# anonymize an author leak) force-pushed origin/main on+# github.com/mrbizarro/phosphene. Any clone that existed before that push+# has commits in its local main that no longer exist on origin, so plain+# `git pull` refuses to fast-forward and Pinokio's Update step silently+# stalls. From Y1.002 onward Pinokio's update.js + the in-panel+# "magic version pill" both fall back to `git reset --hard origin/main`+# on divergence — but to GET to Y1.002, an existing user needs this+# one-time fix.+#+# What it does:+# 1. Locate the phosphene install dir (default: ~/pinokio/api/phosphene.git;+# override via PHOSPHENE_DIR=/path/to/install).+# 2. Verify it's actually phosphene's repo (defensive: don't reset a+# repo that just happens to live there).+# 3. Fetch origin and reset --hard to origin/main. Wipes the working+# tree and any local commits — which a Pinokio install isn't expected+# to have anyway. Models, queue, settings, and downloaded LoRAs all+# live OUTSIDE git tracking, so they're untouched.+#+# Usage:+# curl -fsSL https://raw.githubusercontent.com/mrbizarro/phosphene/main/recover.sh | bash+# # — or after downloading —+# bash recover.sh+# # — or pointing at a non-default install dir —+# PHOSPHENE_DIR=/Volumes/AI/pinokio/api/phosphene.git bash recover.sh++set -euo pipefail++DIR="${PHOSPHENE_DIR:-$HOME/pinokio/api/phosphene.git}"++if [[ ! -d "$DIR/.git" ]]; then+ echo "✗ no git repo at: $DIR" >&2+ echo " set PHOSPHENE_DIR=/your/install/path and re-run." >&2+ exit 1+fi++cd "$DIR"++# Defensive sanity check — this script wipes the tree, so we don't run it+# on a non-phosphene repo by accident.+remote_url="$(git config --get remote.origin.url || echo '')"+if [[ "$remote_url" != *"mrbizarro/phosphene"* ]]; then+ echo "✗ this isn't phosphene (origin = $remote_url)" >&2+ echo " refusing to reset --hard on an unrelated repo." >&2+ exit 1+fi++echo "→ phosphene install: $DIR"+echo "→ origin: $remote_url"+echo "→ before: $(git rev-parse --short HEAD 2>/dev/null || echo '?')"+echo++echo "→ git fetch origin..."+git fetch origin++echo "→ git reset --hard origin/main..."+git reset --hard origin/main++new_sha="$(git rev-parse --short HEAD)"+new_version="$(cat VERSION 2>/dev/null || echo 'pre-Y1.001')"++echo+echo "✓ recovered. now on: $new_sha (version $new_version)"+echo+echo "Next:"+echo " 1. Open Pinokio."+echo " 2. Click Update on the Phosphene panel — should run cleanly now."+echo " 3. Click Stop, then Start."+echo " 4. Hard-refresh the panel page in your browser (Cmd+Shift+R)."+echo+echo "From Y1.002 onward this fallback runs automatically inside Update,"+echo "so you should never need to run this script again."