Get a Melody app running on your machine in under 5 minutes.
git clone https://github.com/aspect-build/melody.git
cd melody
swift build -c release
cp .build/release/melody /usr/local/bin/Verify it's working:
melody --helpmelody create MyApp
cd MyAppThis generates everything you need:
MyApp/
app.yaml # Your app
screens/ # Screen files
components/ # Reusable components
assets/ # Images and static files
MyApp.xcodeproj/ # Xcode project (ready to build)
android/ # Android project
Open the Xcode project and hit Run:
open MyApp.xcodeprojYou should see a screen with a counter button. That's your starter app — defined entirely in app.yaml.
In a separate terminal, start hot reload:
melody devNow edit app.yaml, save, and watch the app update instantly. No rebuild, no recompile.
You can also target a specific platform:
melody dev --platform ios --simulator "iPhone 16 Pro"
melody dev --platform macos
melody dev --platform ios --device
melody dev --platform androidOpen app.yaml.
Try changing the title text to something else, save, and watch it update live.
If something looks wrong, run the validator:
melody validateIt'll catch missing fields, duplicate IDs, and common mistakes before you hit runtime.
- Tutorial: Build a Notes App — build something real from scratch
- Core Concepts — understand YAML structure, state, and expressions
- Components — the full component toolkit with examples
- Navigation — screens, tabs, sheets, and routing
- Theming — colors, dark mode, and adaptive themes
- Plugins — extend Melody with native code

