What problem does it solve?
It removes the boilerplate of turning a Stacks web application into native iOS and Android apps by orchestrating Craft project generation, mobile configuration, and native capability wiring from a single config file.
Core Features & Use Cases
- Native Build Orchestration: Run
buddy build:ios and buddy build:android to validate config/mobile.ts, generate the Xcode project via xcodegen, and record build provenance.
- Native Runtime APIs: Access haptics, geolocation, push notifications, sharing, keep-awake, and health services through the browser-safe
@stacksjs/mobile runtime with web fallbacks.
- STX Native Components: Use
<NativeAppShell>, <NativeTabBar>, <NativeShareButton>, and related components for safe areas, tab navigation, permissions, and offline banners.
- Use Case: A team with an existing Stacks web app configures
config/mobile.ts with a bundle ID and capabilities, then generates a shippable Xcode project with HealthKit and watchOS companion support without writing Swift.
Quick Start
Configure config/mobile.ts with your app name, bundle ID, and content URL, then ask the assistant to build the iOS project with buddy build:ios.