Repository navigation
ScriptWidget CLI 0.2.0 — Instant Web Preview
Create with your own Coding Agent and the scriptwidget-creator Skill, then open your generated widget directly in Web Studio:
brew install everettjf/tap/scriptwidget-cli
# Existing installation: brew upgrade scriptwidget-cli
scriptwidget preview ./MyWidgetThe CLI validates/compiles a Package 2.0 snapshot and opens the browser with a complete ZIP in a versioned URL fragment. Studio loads a separate project, preserves existing work and removes the fragment before import. No upload server or model hosting is needed. Both cold startup and reused tabs are supported; reload does not duplicate the import. Invalid links fail visibly without changing projects.
Install the entire scriptwidget-creator folder in ~/.claude/skills/, then invoke /scriptwidget-creator in Claude Code. Refresh your copied Skill after upgrading the CLI, preserving any custom edits. ZIP download is also available below.
--no-open --format json returns a private link for environments without browser launching. Links contain package code/resources and must not be shared if private. Capacity is 45,000 compressed archive bytes; larger packages fail explicitly without silently dropping resources. Browser previews use default browser mocks; native fixture files/settings are not transferred. Handoff reports mark execute/render notRun; opening a browser is not proof of successful rendering. Native macOS PNG verification remains available with render.
Both arm64 and x86_64 archives are Developer ID signed, Apple notarized and stapled. Each exact architecture binary passed 16 smoke tests (Intel under Rosetta). The App stays separately distributed through the App Store; .swt import is supported, while adding a Home Screen widget remains a user action.