Prismbox: what's good about it
IDEA
- Visual editor for React Three Fiber that works on your real running page, not an isolated canvas. Dragging a mesh becomes a minimal text diff in your .tsx.
- MCP server lets Claude Code, Cursor, and Windsurf see your selection and the live canvas (without gizmos) and make validated edits.
ENGINEERING
- Zero lock-in: vite build emits 0 bytes of Prismbox code, enforced by a test (including from the packed tarball).
- Safe writes: magic-string edits keep formatting and comments. Writes are atomic and compare-and-set, and undo restores the exact original bytes.
- Careful security: loopback-only daemon with Host/Origin checks, disarmed by default, page edits treated as untrusted proposals and re-validated, writes confined to source files, Playground sandboxed with connect-src 'none'.
- Real testing: unit and integration tests per package, plus e2e with a real browser, daemon, and MCP client.
PRODUCT AND DESIGN
- Seven hero templates: plain .tsx, no Prismbox import, shader uniforms exposed as sliders via ordinary // @prism GLSL comments.
- Live Playground (no install) and a read-only remote MCP endpoint for browsing templates.
- Agent-friendly errors with stable codes, what happened, and the fix.
- Documented design system: tokens, single accent color, layout, full state matrix, plain-spoken copy.
HONESTY AND MAINTAINABILITY
- Candid about limits: early 0.1, Vite-only, literal props only, unimplemented features listed.
- Fair Triplex and Spline comparison, and the ~97% vs ~72% editable stat is labeled a regression signal, not a benchmark.
- Strong open-source hygiene: MIT license, SECURITY, CONTRIBUTING, CODE_OF_CONDUCT, CHANGELOG, architecture docs, CI, and open template slots (7 to 10) for contributors.