FanBox
A single-window cockpit that pairs a file browser and a real terminal with live visibility into every file your coding agent touches.
- Source repo
- alchaincyf/fanbox
- Stars
- ★ 1.1k
- Last updated
- 1d ago
- FARS reviewed
- Nov 25, 2026
- License
- MIT
- Primary language
- JavaScript
- FA score
- 67/100 · Some gaps
At a glance
- How it runs
- Works with
- Portable with changesCodex · Claude Code
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- An indie developer who spun up a dozen projects in one afternoon and needs to find them again, using ⌘K search and folder language badges.
- Not a fit if
- Windows users who won't try unofficial community ports
- Developers wanting a full IDE for heavy refactoring
- Teams needing cloud sync or remote access to the workspace
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-24
- Source review
- 67/100 · Some gaps
What does this agent do, and when should you use it?
FanBox is a local desktop cockpit for vibe coding, built on Electron 33, that fuses a file browser, an embedded real terminal and in-place previews into one window. A zero-dependency Node.js server.js provides file APIs, thumbnails and static serving, while Electron uses node-pty and xterm.js (WebGL) to run a genuine shell where Claude Code, Codex or any CLI can work. As the agent writes files, their cards light up and Follow mode makes the preview track the file being edited. A 'This round' panel lists everything changed in the latest session, grouped by terminal and agent, with per-file line counts, Monaco side-by-side diffs, single-file restores and whole-round rollback. Everything stays on-device: the backend listens on loopback only, and there is no cloud, remote access or account system.
On launch, the local server.js serves file APIs, static assets and thumbnails on loopback; the Electron main process wires node-pty to an xterm.js terminal, so Claude Code or Codex runs as a real process. The file pane offers ⌘K fuzzy search, content: full-text search, rendered Markdown and live HTML, syntax highlighting, inline images/video/PDF (including HEIC), archive listings and checkerboard backing for transparency. When the agent writes a file, its card ripples and glows by change frequency; Follow mode scrolls code to freshly written lines and renders HTML as it is being written with double buffering. The 'This round' panel groups changed files by terminal/agent with +/- counts; clicking opens a Monaco side-by-side diff where you can restore a line, roll back the whole round, or scrub a replay timeline. You can also select diff lines, write a note, and paste it into that agent's terminal as file:lines plus fenced code and your note via bracketed paste. FanBox attaches official Claude Code/Codex hooks when it launches them (in its own settings file, leaving your config untouched), turning working / needs approval / needs input / done into exact events, with a command roster and ⌘⌥L to jump to the next session that needs you. Editing uses Monaco for code/JSON and Milkdown Crepe for WYSIWYG Markdown, plus a Typeset mode that inlines styles for one-click WeChat article pasting, and image annotation. Extras include AI organize (metadata-only proposals with a rollback log), a release wizard for node projects, a Skills X-ray view and a disk usage lens.
- An indie developer who spun up a dozen projects in one afternoon and needs to find them again, using ⌘K search and folder language badges.
- A developer running Codex or Claude Code in a real terminal who wants to see exactly which files and lines the agent changed.
- A content or frontend creator who needs to accept the rendered HTML/Markdown output, not just read a code diff.
- A heavy agent user who wants trigger stats, health checks and context budgets for every installed skill in one place.
- A macOS user with folders of screenshots and assets who wants to drag files into the terminal as agent context.
- A privacy-conscious user who wants the whole workflow offline with no accounts and no data leaving the machine.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Ports
4567- Config files
~/.fanbox/config.json- Install notes cover
- Windows
How do you install or deploy this agent?
The official build is a signed .dmg for Apple Silicon (arm64). Download it from GitHub Releases and drag it into Applications; it is Developer ID signed, hardened-runtime enabled and notarized by Apple.
# Download the latest .dmg from the Releases page, then:
# double-click the dmg and drag FanBox into /ApplicationsRunning the full desktop app from source requires Node.js and npm:
npm install
npm run app # launches the full desktop app via electron .
npm run dist # builds and signs the .dmg (output in dist/)If the Electron download is blocked, retry with a mirror:
ELECTRON_MIRROR="https://registry.npmmirror.com/-/binary/electron/" npm run distThe unpackaged web version only needs Node.js:
node server.js
# open http://localhost:4567 in a browserThe web version covers browsing, search and preview; the embedded terminal and editors require Electron. There is no official Windows build; community ports (daodao166888/fanbox-windows and cookiesheep/fanbox) are listed in the README.
How do you use this agent?
After opening the app, the left file pane takes ⌘K for global fuzzy search, content:keyword to switch to full-text search, and ⌘↵ to open the whole project in your editor. The right or bottom pane is a real terminal: click an agent button (Claude Code, Codex and Antigravity CLI by default, 13 launchers in total) to start one, or add or override commands in the agents array of ~/.fanbox/config.json.
{
"agents": [
{ "name": "My Agent", "command": "my-agent-cli" }
]
}Drag a file from the file list into the terminal to insert its path as agent context; paths in terminal output are clickable and open in FanBox. To watch the agent, enable Follow mode so the file view and preview track the file being edited, then open the 'This round' panel to see changed files, their owning terminal and +/- line counts. Click any file for a side-by-side diff and restore lines or the whole round. Selecting lines in the diff and writing a note pastes it into that agent's terminal as file:lines plus fenced code and your note (no Enter is pressed). With multiple terminals, a command roster appears under the tab bar when sessions are waiting; ⌘⌥L jumps to the next one that needs you.
Shortcuts: ⌘K global search, ⌘↵ open in editor, ⌘B toggle sidebar, ⌘[ back, / filter current folder, ↵ open/preview, Esc close.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- verifiable attribution
What are this agent's strengths and limitations?
- Collapses find-files, run-agent and see-changes into one window: agent writes light up cards, and Follow mode tracks the file being edited in real time.
- The 'This round' panel groups changes by terminal/agent with per-file +/- lines and Monaco side-by-side diffs, with per-line restore, whole-round rollback, and diff comments pasted back into the agent.
- The terminal is a real node-pty + xterm.js (WebGL) shell, so Claude Code, vim and htop render correctly including CJK wide characters, and paths are clickable.
- When FanBox launches Claude Code or Codex it attaches their official hooks in its own settings file, turning working / needs approval / needs input / done into exact events instead of terminal-text guesses.
- Clear privacy boundary: loopback-only backend with Host header validation, per-launch random tokens on write endpoints, and locally vendored frontend assets for fully offline use.
- Zero-dependency Node backend and no-build runtime, so
node server.jsruns the web version straight from a clone.
- The official build targets Apple Silicon (arm64) macOS only; there is no official Windows build, only community ports the author explicitly cannot vouch for.
- The embedded terminal, editors and hooks all depend on Electron; the web version covers only browsing, search and preview.
- Unlocking the agent features requires separately installing and logging into Claude Code, Codex or another CLI, with subscription or API costs paid to those providers.
- Usage and hook-related features contact the official Claude and Codex quota endpoints, and update checks contact GitHub, so it is not strictly network-free.
- Specification evidence rests mainly on the README and docs rather than a published automated test suite, and the third-party integration surface is narrow.
How does this agent compare with similar options?
The README explicitly positions FanBox against Finder (file management) and VS Code-style IDEs (code editing): it does not compete on file operations or editing depth but fills the find-projects, preview-output, light-edit and command-the-agent loop. It reuses xterm.js, Monaco and Milkdown for terminal, code editing and Markdown rather than building its own editor core.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| FanBox This agent | 67 · Some gaps | Desktop appFree + model costs | ★ 1.1k | 1d ago | JavaScript | Codex · Claude Code |
| Superagent | 62 · Some gaps | Desktop appFree + model costs | ★ 38 | today | TypeScript | Codex · Claude Code |
| Yardlet | 80 · Good | Desktop appFree | ★ 47 | today | Swift | Codex · Claude Code |
| wsp | 59 · Major gaps | Desktop appFree + model costs | ★ 16 | 12d ago | TypeScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
least_privilege: There is real least-privilege design — loopback-only backend, Host header validation, a per-launch random token that never touches disk and is injected only into FanBox's own pty environments (main.js comments match SKILL.md). But defaults loosen it: Antigravity CLI launches with `--dangerously-skip-permissions`, T3 Code new threads default to Full access, and the agent control API can send keystrokes to, create, or kill sibling terminals. Score 1. user_confirmation: Explicit confirmation appears in many places — diff comments are pasted without a newline, AI organize requires per-item approval, overwriting an image asks first, unsaved-exit guards, and the skill requires consent for kill/Ctrl-C/overwrite commands, deletion and `full:true`. Deducted because auto-resume (on by default, types "继续" automatically) and cross-window relay (on by default) act without confirmation. Score 2. data_flow_transparency: The privacy section states data never leaves the machine and proactively discloses that the usage panel contacts official Claude/Codex quota endpoints, update checks contact GitHub, and local token logs are processed on-device; relay is memory-only. Deducted because this is documentation only, with no code-level data-flow inventory. Score 2. sensitive_data_handling: Token never persisted, no platform credentials stored, DOMPurify plus CSP without inline/eval, HTML previews in an opaque-origin sandboxed iframe, and the skill forbids passing on other windows' output. Deducted for ~200KB per-terminal output buffers, relay logs and screenshot cards living in memory with no stated retention policy, and a `FANBOX_AGENT_TOKEN` env override for injecting a known token. Score 2. dependency_security: Dependencies are declared and third-party licenses are listed in the README, but the packet has no lockfile, no audit/SBOM, no pinning policy, and node-pty is a native module requiring electron-rebuild with no vulnerability-handling note. Score 1. external_effects: The release wizard pushes and creates GitHub Releases, cron opens terminals and runs agents on schedule, fanbox-notify messages the user's phone, and relay injects text into other sessions' context; all are described and mostly visible in the terminal. Deducted because several are on by default and there is no consolidated external-effects inventory. Score 2. rollback: Per-line restore, per-file restore, whole-round rollback, a scrubbable replay timeline, a rollback log with one-click undo for AI organize, deletions to system Trash, and atomic config writes. Deducted because all of this is README assertion with no matching implementation in the packet. Score 2. source_attribution: The README tabulates Electron/node-pty/xterm.js/Monaco/Milkdown/marked/highlight.js/esbuild/electron-builder/Playwright with usage and license, and credits huashu-design for the UI and editor.huasheng.ai for typeset themes. Score 3.
self_consistency: The "zero dependency" claim is scoped to server.js and the web version and does not contradict the Electron dependencies in package.json; "no cloud, no remote" coexists with the disclosed quota endpoints and GitHub update checks; version 2.21.1 matches the badge and appId. Deducted for unsupported performance and acceptance assertions ("under 0.1s", "everything ships at ≥90") and for citing docs/05-验收角色与评分标准.md, which is not in the packet. Score 2. dependency_availability: All dependencies are public npm packages, engines requires node>=18, and the README documents electron-rebuild, the ELECTRON_MIRROR workaround and PTY_ARCH for dist:x64. Deducted because the node-pty native build is a hard prerequisite and no lockfile guarantees reproducible installs. Score 2. failure_messages: main.js prints an actionable "run npm run rebuild" message and degrades when node-pty is missing, the backend child has a 5-second liveness check and restart counter, fanbox-notify emits stderr and distinct exit codes, and SKILL.md says to report 403/501 or missing env vars to the user without retrying. Deducted because most failure paths are console.error only, with no structured user-facing error. Score 2.
audience_and_scenarios: The target user (vibe coders on Claude Code/Codex) and the scenarios (find projects, run agents, watch changes, review artifacts, release, clean disk) are described concretely with a real workflow comparison. Score 3. capability_boundaries: It explicitly declines to compete with Finder on file ops or VS Code on editing, does no cloud/remote/accounts, states the web version only browses/searches/previews, and gates the skill on FANBOX_CTL. Deducted because the 13 launchers include entries that skip permission prompts, so capability and safety boundaries are not fully aligned. Score 2. trigger_precision: The SKILL.md description lists trigger utterances ("open a window and run X", "make window N do…", "every day at X") and enforces a hard `[ -n "$FANBOX_CTL" ]` gate plus a "don't message yourself" rule. Deducted because this precision belongs to one skill, not the product as a whole. Score 2. environment_fit: Officially macOS Apple Silicon (arm64) dmg only, requiring Electron 33 plus a native node-pty build; Windows is community-only and explicitly not vouched for; the web version is feature-limited. Narrow but well disclosed. Score 2.
information_architecture: Anchors, in-page jump links, sectioned headings, tables, a collapsible project-layout block and parallel Chinese/English text give a clear hierarchy. Score 3. install_notes: dmg download with notarization notes, web `node server.js`, dev `npm install`/`npm run app`/`npm run dist`, the Electron mirror workaround and rebuild scripts are all documented. Score 3. naming_stability: Package name fanbox, appId com.huashu.fanbox, skill name fanbox-agent and the FANBOX_* env prefix are consistent. Deducted because there is no deprecation or compatibility policy for the `/api/agent/*` surface or the skill interface. Score 2. examples_and_faq: The README has a shortcuts table and feature examples, and SKILL.md has complete curl examples plus a multi-window parallel recipe. Deducted because there is no dedicated FAQ; common questions are scattered through the body. Score 2. known_limitations: Windows is unofficial and unvouched, the web version lacks terminal and editors, WYSIWYG round-trip failures disable Rich mode, node-pty absence degrades the terminal, T3 Code defaults to Full access and Antigravity skips permission prompts. Deducted because there is no consolidated known-limitations section. Score 2. license: A full MIT LICENSE file, `license: MIT` in package.json and an MIT badge in the README agree. Score 3. versioning_changelog: package.json carries 2.21.1, the README has a Release badge and update notifications, and the release wizard promotes a CHANGELOG, but the packet contains no CHANGELOG file and no versioning policy. Score 1. maintenance_responsibility: Only a single author (花叔) and an MIT copyright line; no CONTRIBUTING, SECURITY, issue templates or support commitment, and the publisher is not verified by the FollowAgents registry. Score 1.
output_usability: Outputs are directly usable GUI artifacts — side-by-side diffs, rendered-Markdown comparison, before/after image slider, clickable paths, and a comment format designed to be pasted back into the terminal. Deducted because these are described, not demonstrated, and no sample artifacts are in the packet. Score 2. marginal_value: Folding find-files, run-agent, watch-changes and feed-back into one window is a real increment over Finder + iTerm + browser, especially the per-round attribution panel and hook-driven exact states. Deducted because adjacent tools (VS Code terminal plus Git diff, Claude Code's own /usage) already cover part of this, and the increment needs hands-on use to confirm. Score 2. cost_benefit: MIT, free, local, no accounts, zero-dependency backend and fully vendored frontend assets for offline use. The cost is Electron weight, a native node-pty build and official macOS-arm64-only support; no resource-usage figures are given. Score 2.
claim_traceability: Many capability claims (0.1s thumbnails, double-buffered zero white flash, exact hook events, rollback logs) point to no specific file or line, the cited docs/05-验收角色与评分标准.md is not in the packet, and the "Playwright-captured, unedited" screenshot claim cannot be checked statically. Score 1. cross_source_corroboration: Some key claims are corroborated across files — package.json dependencies and scripts match the stated stack and install steps, main.js really does generate a random AGENT_TOKEN, write hook files, run relay and keep termFacts, and tests/ covers agent-state, token normalization and the always-on inbox/timers in the same direction as the README. Score 2. fact_inference_separation: The README mixes marketing language ("cockpit", "anti-AI-slop", "everything ships at ≥90") with checkable facts, and performance numbers and acceptance scores appear as bare assertions without being marked as estimates or unverified. Score 1.
- Auto-resume is on by default and will type "继续" for a stalled Claude Code session, and cross-window relay is also on by default, forwarding what you say to other sessions in the same directory — neither asks per action, so disable both in settings for sensitive projects.
- Antigravity CLI launches with `--dangerously-skip-permissions` and T3 Code new threads default to Full access; the skill can also send keystrokes to sibling terminals, open windows, kill them, and create `full:true` scheduled jobs, so the permission surface is much wider than plain file browsing.
- The packet has no lockfile, no audit/SBOM and no dependency pinning policy, and node-pty is a native module requiring electron-rebuild; supply-chain risk cannot be assessed from static material.
- Rollback, per-line restore, exact hook-driven states and 0.1s thumbnails are README assertions with no matching implementation in the packet, and the cited docs/05 acceptance-standard file is not included.
- Official support is macOS Apple Silicon only; Windows builds are community ports the author explicitly does not vouch for, and the publisher is unverified by FollowAgents, leaving maintenance and security-response responsibility unclear.
FAQ
Does FanBox itself cost anything, and do I pay separately for Claude Code or Codex?
Do my files ever leave my machine?
Can I use it on Windows?
Will FanBox modify my Claude Code configuration?
Can the AI organize feature move my files without asking?
Is FanBox open source?
Is FanBox safe to use?
Is FanBox still maintained?
Who makes FanBox?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.