everettjf /scriptwidget
Write native widgets for iPhone, iPad, Mac and Android in JavaScript and JSX. Open source, with a browser studio, templates and AI.
★ 299⑂ 44👁 4⑃ 67● 9▤ 8
299
stars
44
forks
4
watchers
67
prs
9
issues
8
releases
README
ScriptWidget 🎨 Website: Create native widgets for iPhone, iPad, Mac, and Android with JavaScript, JSX, and AI English | 简体中文 | Español | 日本語 | 한국어 | Français | Deutsch | Português | Русский | العربية ✨ Build iPhone, iPad, Mac, and Android widgets in ScriptWidget Studio—without writing Swift or Kotlin. Get it: iPhone and iPad · Mac · Android 1.0.0 (APK) · Web Studio in your browser Create with your Agent — scriptwidget-creator Describe a widget in Claude Code. Generate it, validate it, and open it directly in Web Studio. Use your own Agent and model with the scriptwidget-creator Skill. sh brew install everettjf/tap/scriptwidget-cli mkdir -p ~/.claude/skills First installation; preserve any existing customized Skill. test ! -e ~/.claude/skills/scriptwidget-creator && cp -R "$(brew --prefix scriptwidget-cli)/libexec/ScriptWidgetCLI.app/Contents/Resources/scriptwidget-creator" ~/.claude/skills/ In Claude Code: /scriptwidget-creator Create a reading habit widget and show it in Web Studio. sh scriptwidget preview ./MyWidget opens Web Studio and loads your widget automatically scriptwidget render ./MyWidget --output ./artifacts --format json native macOS verification Preview links carry the validated package in a URL fragment and load a separate project; no upload server or model hosting is required. Links support up to 45 KB of compressed package data. Keep links private when code/resources are private. Larger packages can use native previews or explicit .swt import. Import .swt on iPhone through the existing App; adding a Home Screen widget is a separate user action. Install the Skill and get started · Creator website · CLI details --- 🎯 What is ScriptWidget? ScriptWidget is an open-source widget development platform for building native widgets with JavaScript and JSX-like syntax: WidgetKit on iPhone, iPad, and Mac, and App Widgets on Android. Write once, preview on Mac or in the browser, and run the same package on all four—without requiring Swift or Kotlin for widget authoring. It combines a JavaScriptCore runtime with native SwiftUI rendering on Apple platforms, a QuickJS runtime with its own renderer on Android, a desktop development environment, a browser studio, secure package sharing, AI-assisted generation, and a GitHub-backed community catalog. The Android app (version 1.0.0, Android 15 or later) is available as an APK on GitHub Releases. On Google Play it is in closed testing: to join, become a member of the Atomsprout Testers group, then become a tester and install from Google Play. See ScriptWidget for Android for what differs from iOS. !ScriptWidget template gallery --- ✨ Features | Feature | Description | |---------|-------------| | 🖥️ Cross-Platform | One widget package for iPhone, iPad, Mac and Android | | 🎨 JSX Support | Declarative UI with JavaScript XML syntax | | ⚡ Native Rendering | JSX elements are rendered as native SwiftUI views | | 🔧 Versioned Runtime API | Storage, files, networking,
Latest release
ScriptWidget 27.2.6 for iPhone, iPad and Mac v27.2.6 2026-11-17ScriptWidget 27.2.6 for iPhone, iPad and Mac, released on the App Store on 15 November 2026. What's new - Updated the product, support and privacy links, the contact email and the copyright information for AtomSprout. - Added email feedback that includes the app version and basic system information. Download - iPhone and iPad on the App Store - Mac on the App Store The Apple apps are distributed through the App Store only, so this release has no files attached. For Android, see ScriptWidget for Android 1.0.0.