Skip to content

FanBox 2.17.0 - Windows x64 port

Choose a tag to compare

@Emberwhirl Emberwhirl released this 20 Oct 13:33
· 20 commits to windows since this release

Community Windows x64 port of FanBox, tracking upstream v2.17.0. macOS users should use the official repo.

Tested OID: packages built from 591cfc2339fbe232b0bebdc5148cd7197c3f29de; tag v2.17.0 = 6338724c772522c5f4cc05b0822930b136aa2dfb (windows, adds only CHANGELOG / implementation-notes text on top of the built tree).

Downloads

File Use
FanBox-2.17.0-win-x64.exe NSIS installer — pick install dir, creates shortcuts
FanBox-2.17.0-win-x64-portable.exe Portable — run without installing

Not code-signed. Windows x64 only. On first launch Windows SmartScreen will warn "unknown publisher" — click More info → Run anyway. Verify what you downloaded against the checksums below; TLS to github.com is otherwise the only integrity control.

cbf1bbfdf7c3234be63cd782b5086d77388f7d50fb2cb088c9669051afd6b1f9  FanBox-2.17.0-win-x64.exe
6051e73c486736b3ec07ea970708234365fb64680e6d728e14953193046e586c  FanBox-2.17.0-win-x64-portable.exe

New since 2.16.1 (upstream 2.17.0)

  • 📊 Token breakdown in the usage panel. Claude Code and Codex each expand into uncached input, cache read, cache write, output and (when the logs carry it) reasoning tokens for the last 5 hours, today and the last 7 days, with an input cache hit rate. Counting moved to a background worker that reads logs incrementally, so a 500 MB log tree no longer blocks the window; Claude sub-agent logs and late streamed usage are now included. These are local-log counts, not your account's bill.
  • 🎫 Codex official quota. The panel asks chatgpt.com/backend-api/wham/usage (login from %USERPROFILE%\.codex\auth.json or CODEX_HOME) for the plan, correctly named windows (Pro weekly is no longer labelled 5h) and reset credits. On Windows the request uses the absolute curl.exe with the OAuth token on stdin only — never argv, never a curl.exe / curl.cmd planted in the cwd or earlier on PATH. Without auth.json, or when the request is refused, the panel falls back to the session-log snapshot and says why; stale snapshots show "pending update", not 0 %. The usage panel now contacts the official Claude and Codex quota endpoints.
  • 📟 Live quota line under Claude Code. Sessions FanBox launches (one-click, resume, scheduled tasks, AI 整理) show 5h 23% · 7d 41% (周 in Chinese mode) and feed the panel within seconds. Upstream's Windows command (set ELECTRON_RUN_AS_NODE=1&&…) is cmd syntax, but Claude Code runs status lines through Git Bash — it would have started a full FanBox on every refresh — so the port writes its own Bash-quoted command. Requires Git for Windows, found the way Claude Code finds it (CLAUDE_CODE_GIT_BASH_PATH, also read from Claude Code's own settings.json env block, then git.exe on PATH, then %ProgramFiles%\Git). Without Git Bash the line is omitted, the panel says so and keeps polling the official API. Your own statusLine is chained through Git Bash, never rewritten; the 7d / 周 label follows FanBox's UI language. Note: once any status line is set, Claude Code hides most footer hints — same trade-off as on macOS.
  • 🤖 Codex launch fixes. The Codex button adds --enable prefer_mxc when the installed CLI supports it (checked via --help; older CLIs launch unchanged), avoiding the legacy elevated sandbox's CryptUnprotectData failed. FanBox now also finds the CLI bundled with the Codex desktop app when started from Explorer, and a broken PATH entry or npm shim no longer makes an installed Codex show as "not installed". Global Codex config is never touched.
  • ⚡ Smoother under agent write bursts. File-watch notifications are deduped and batched, with a capped queue and parallel stat limit; the renderer processes changes in batches. Measured on the packaged build: 2,000-file burst caught up in under a second with an 18 ms worst frame gap.
  • 🔁 Update check fails clearly. A 12 s timeout, and rate-limit / HTTP / network errors are told apart (alchaincyf#64). On Windows the failure dialog speaks the UI language and its button opens this fork's Releases, not upstream's macOS page. Updates still download the installer; no auto-install.
  • 🌐 English UI catches up. ~40 new upstream strings (window labels, sources, reset credits, token rows, quota errors) are translated; file and folder names are marked as user content so a file called 输出 isn't translated.

Verified on Windows 11 Pro 26200 with Node 22.23 / Electron 33.4.11 / node-pty 1.1.0 (ConPTY): upstream npm test 14/14, Windows contract suites (usage / bridge / i18n / real Git Bash / Chrome DOM 87/87, hooks 100/100), golden-rule parity scan with all ten mutation-proof cases caught, Playwright-driven Electron campaigns (status line 112, 10-min soak 27, watcher 13, offline update dialog 23, hooks / quit regression 53, process / files / snapshots 32, Markdown / XSS 19 — all passing), a packaged foreground stress run over a 501 MB log tree (23/23), and manual Claude Code and Codex launches on these two files.

Upgrading: restart any running Claude Code session to get the quota line.

Requires Windows 10/11 (x64). Please file port-related issues in this repo's Issues, not upstream.