Developers · Quick start

Your first app, step by step.

You write each screen in HAM, an HTML-like markup. Each tag picks one of the native components built into Hype Apps, such as text, buttons, lists, forms, maps and video, and Hype Apps draws them as real iOS and Android screens. If you know HTML and Tailwind-style classes, most of it will look familiar.

Build your first Hype Apps app in about ten minutes: the tools, a new app, your phone, a first edit, a database, and the way to the stores.

  1. Get the tools

    Pick one: Shipyard if you like an editor, or the hype command line if you work in a terminal or with an AI coding agent. Both use the same engine.

    Shipyard

    The studio for Mac and Linux (Windows is coming): an editor, a live preview in phone, tablet and watch frames, and the simulators. Shipyard downloads are paused while we finish version 1.0.1. If you have a Hype Apps 1.0 license, we'll email you when it's ready to download.

    The hype command line

    For Mac and Linux (on Windows, inside WSL): one line in a terminal, below. Read the script first.

    curl -fsSL https://hypeapps.dev/install.sh | sh

    Shipyard is free for building your own apps and opening them on your phone. Hype Apps 1.0, a one-time license, adds store builds, on-device AI and the hype command line: see pricing. Put the Hype Apps app on your phone as well, from the App Store or Google Play.

  2. Make an app

    In Shipyard

    Choose New app, give it a name, pick the device it's for, and start from the sample app or a blank screen. Your app is a folder in Documents/Hype Apps: home.ham is its first screen, and app.json holds its name and settings.

    With hype

    In an empty folder:

    hype start

    It writes hype.toml (the app's name, id and version) and index.ham (its first screen), checks them, and opens the app on the iPhone Simulator or an Android emulator. In a Laravel, Rails, Django or Node project it points the app at your dev server instead, and leaves your code alone.

  3. See it on your phone

    In Shipyard

    Tick Publish to Hype Apps. Your app appears in My Apps in the Hype Apps app on your phone, and updates as you save.

    With hype

    hype run opens it on a simulator or emulator. For your own phone, hype pair shows a code to type into the Hype Apps app, then hype push --watch puts the app in My Apps and updates it as you save.

  4. Make your first edit

    Replace the first screen with this: a heading, a button, and a line that counts the taps.

    <app>
        <screen>
            <main>
                <column style="p-24 gap-12"
                        var-count="0">
                    <text style="text-2xl font-bold">Hello</text>
                    <button variant="filled"
                            @click="$count = $count + 1">Tap me</button>
                    <text>Tapped @{$count} times</text>
                </column>
            </main>
        </screen>
    </app>
    <app>, <screen>, <main>
    the app, its first screen, and the part of the screen that scrolls.
    <column style="p-24 gap-12">
    stacks what's inside, with padding and a gap. Styles are Tailwind-style tokens.
    var-count="0"
    a variable, $count, that starts at 0 and lives on this screen.
    <button @click="…">
    a native button. The tap runs on the phone, with no server round trip.
    @{$count}
    puts the variable in the text, and updates it whenever $count changes.

    Save, and the phone follows. HAM only has its own words, so a tag or style that doesn't exist does nothing. hype check flags those, and hype ref <tag> shows what a tag takes.

  5. Add data

    A database is markup too. This one has a table of notes, a button that adds a row, and a list that follows the table on its own.

    <app>
        <screen>
            <main>
                <database name="notes">
                    <model name="note">
                        <field name="text"/>
                    </model>
                </database>
                <column style="p-24 gap-12">
                    <button @click="#db.note.create:text=Hello">Add</button>
                    <text>@{$db.note.count} notes</text>
                    <@foreach in="note"
                              as="n">
                        <text @text="$n.text"></text>
                    </@foreach>
                </column>
            </main>
        </screen>
    </app>

    The rows are saved on the phone and are still there after the app closes. #db.note.create writes a row, $db.note.count counts them, and <@foreach in="note"> lists them; every one of them updates after each write.

    To share the table between every install of your app, add one attribute:

    <database name="notes" sync="on">

    Each change is encrypted on the phone under your app's own key, which goes into your store build, so hypeapps.dev keeps your app's data but can't read it. The sync guide builds a shared poll with it, step by step.

  6. Ship it

    To publish your app as its own app in the stores, you need an Apple Developer account ($99 a year) and a Google Play developer account ($25 once). Apple and Google check who you are first, so start early: getting ready for the stores has every step.

    In Shipyard

    Connect each store once, then build and upload from Shipyard's store tab. App Store builds need a Mac with Xcode; Google Play builds work from a Mac, Windows or Linux.

    With hype

    hype keys
    hype build ios
    hype publish ios

    hype keys connects the stores, hype build makes the signed build (ios or android), and hype publish uploads it to TestFlight or a Google Play track.

Where to go next

Learn HAM, in the app

The Hype Apps app teaches HAM on the phone itself: layout, styles, taps, data, media and sensors, each with its markup.

The full reference

Every tag, style, action and setting in one document (llms.txt), for you and for AI assistants. From the terminal: hype guide, hype ref and hype docs.

The docs

Guides that build one app step by step, a cookbook of finished screens, and a page for every tag.

For AI agents

Give your coding agent hypeapps.dev/start. You install hype with one line; the agent sets up the app and builds it.

The agent skill

A skill (SKILL.md, zip) that teaches an AI assistant to write HAM and publish Playground snippets.

The Playground

Write HAM in your browser, get a five-letter code, and open it in the Hype Apps app.

The Playground API

A small public HTTP API publishes and reads Playground snippets, at https://hypeapps.dev. It has no accounts: a snippet is published anonymously and edited with the token it hands back once. The full contract is the OpenAPI spec.

Publish

POST /p
Content-Type: application/json

{ "ham": "<app><screen><main><text>Hi</text></main></screen></app>" }

→ 201 { "slug": "7m3ef", "edit_token": "…",
        "url": "https://hypeapps.dev/p/7m3ef" }

Read and update

GET /p/{slug}          # the HAM (text/html)
GET /p/{slug}.json     # { "slug", "ham" }
PUT /p/{slug}          # { "ham", "edit_token" }:
                       # 200, or 403 for a wrong token

Errors are JSON: { "error": { "code", "status", "message", "hint", "documentation" } }, and validation failures are 422 with { "message", "errors" }.

Contact

Questions, bugs or feature requests: lazarus@hypeapps.dev, or the contact page.