You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(windows): native Windows support + double-click launchers; drop WSL guidance
Make Fables run natively on Windows (no WSL) and add a one-double-click way to
start it on every OS — for non-technical users this is the difference between
"works" and "gives up".
- Cross-platform scripts: the dev/CLI scripts used a POSIX-only `VAR=… cmd`
prefix that breaks in PowerShell/cmd. Wrap them with `cross-env` so `pnpm dev`,
`pnpm seed:demo`, `pnpm forge:run`, etc. work on Windows too. (Production
`pnpm start` was already cross-platform; better-sqlite3 ships Windows
prebuilds, so there's nothing to compile.)
- Double-click launchers at the repo root: `start-fables.cmd` (Windows),
`start-fables.command` (macOS), `start-fables.sh` (Linux). First run does
install + build, then starts the server and opens the browser; each has a
clearly-marked block to drop in optional power-up env vars.
- README: replace the WSL detour with native-Windows steps (PowerShell, env-var
syntax), lead with the double-click launcher, and answer "is there an
installer?" honestly (launcher + PWA install today; a signed .msi needs a
build/sign pipeline — future). Also soften the cloud-AI consent wording to not
promise an exact UI screen, and tidy the demo-seed instructions.
Full suite green (4,091); production `pnpm start` boots and serves v2.0.0.
|**Ollama** (local, easiest) | ✅ 100% on-device | Install [Ollama](https://ollama.com), run `ollama pull llama3.1` (or any model). Fables **auto-detects** it on the default port. Override with `FABLES_OLLAMA_URL`. |
284
-
|**llama.cpp** (local) | ✅ 100% on-device | Run `llama-server`. Set `FABLES_LLAMACPP_URL` if it's not on `http://127.0.0.1:8080`. |
285
-
|**Claude API** (cloud) | ⚠️ Opt-in | Get a key at [console.anthropic.com](https://console.anthropic.com), set `ANTHROPIC_API_KEY="sk-ant-…"`. **Two locks:** the key enables the adapter, **and**you must turn cloud AI on + accept the egress-consent prompt inside Fables (Settings → AI). Nothing is sent until you do. A global **kill switch** turns all AI off instantly, and secret/encrypted notes are filtered out before any prompt is built. |
|**Ollama** (local, easiest) | ✅ 100% on-device | Install [Ollama](https://ollama.com), run `ollama pull llama3.1` (or any model). Fables **auto-detects** it on the default port. Override with `FABLES_OLLAMA_URL`. |
323
+
|**llama.cpp** (local) | ✅ 100% on-device | Run `llama-server`. Set `FABLES_LLAMACPP_URL` if it's not on `http://127.0.0.1:8080`. |
324
+
|**Claude API** (cloud) | ⚠️ Opt-in | Get a key at [console.anthropic.com](https://console.anthropic.com), set `ANTHROPIC_API_KEY="sk-ant-…"`. **Two locks:** the key enables the adapter, **and**the cloud path stays off until you explicitly enable it and grant egress consent (via Fables' AI settings, or the `/api/v1/ai/settings` endpoint). Nothing is sent until you do. A global **kill switch** turns all AI off instantly, and secret/encrypted notes are filtered out before any prompt is built. |
286
325
287
326
#### 🎨 Generated art (cover & scene illustrations for your stories, via Stable Diffusion / Flux, etc.)
288
327
@@ -325,8 +364,9 @@ and accept its consent prompt.**
325
364
326
365
-**`command not found` for `pnpm` or `node`** — Step 1 didn't finish; reinstall
327
366
Node.js, close and reopen the Terminal, and try again.
328
-
-**"port already in use"** — something else is on port 4870. Start on another port:
329
-
`PORT=4871 pnpm start` (and then `tailscale serve --bg 4871`).
367
+
-**"port already in use"** — something else is on port 4870. Start on another port
368
+
(Mac/Linux: `PORT=4871 pnpm start`; Windows PowerShell: `$env:PORT="4871"; pnpm start`),
369
+
then `tailscale serve --bg 4871`.
330
370
-**The phone can't reach it** — make sure (a) Fables is still running on the
331
371
laptop, (b) `tailscale serve` is running, and (c) both devices are signed into the
332
372
**same** Tailscale account. Run `pnpm doctor` on the laptop for a quick health
0 commit comments