Glassly Miniapp SDK betaThe SDK is in beta, so its APIs may change before general availability.Developing on Mentra Live? We recommend using the Glassly Bluetooth SDK.The developer tools are available in the Glassly App under Settings → Miniapp developer settings. To show that row, tap the version number at the bottom of Settings 10 times.Share feedback with an in-app bug report, on Discord, or by email at help@glassly.ai.
A miniapp is a bundle that runs on the user’s phone: there’s no server to host, no domain, no uptime to manage. Distribution means producing that bundle and getting it installed. There are four ways to get a miniapp onto a device, from quickest to widest reach. Before any of them, you can run the miniapp on your own computer with glassly sim. Nothing is installed anywhere; it is for building and checking, not for sharing.

Dev install (you, iterating)

While you’re building, glassly dev serves your project over the LAN with hot reload. Scan the QR from the Glassly App and your changes reload on save. This is the inner loop; see the Quickstart. Dev mode is not an installation: the computer and CLI must remain running to serve each miniapp’s runtime bundle. The Glassly App keeps a separate dev entry for each manifest package name and caches its name and icon, so you can scan and test multiple dev miniapps together. Rescanning the same package updates that entry. Use a release install when you want the miniapp to run without the computer.

Release install (sharing a build over LAN)

To put a real, installed build on one or more phones without going through the Glassly Miniapp Store, run:
This builds, packs, and serves the bundle behind a miniapp://release QR. Anyone on the same network can scan it to install. The miniapp installs on the device, runs offline, and persists across restarts: no laptop required once it’s installed. Great for testers, demos, and dogfooding. Each install is logged in your terminal, and the server stays up so multiple devices can install from the same QR.

Share the file

To hand a build to someone who is not on your network, pack it and send the file:
This writes build/<packageName>-<version>.gls, a zip under the Glassly miniapp extension. Send it any way you like: AirDrop, chat, email, a shared drive. On the receiving phone, save the file, then choose it from Settings → Miniapp developer settings → Install Miniapp from File. The app opens a Store-style page for it (icon, description, version, permissions and glasses hardware) with an Install button. Like a release install, it runs offline and persists across restarts. The Miniapp developer settings row is hidden until Developer Tools is on. In the Glassly App, open Settings and tap the version number at the bottom ten times in quick succession. The app confirms with “Debug mode enabled!” and the row appears under Advanced settings. Developer Tools also has its own switch under Settings → Debug settings → Developer Tools. A file installed this way is tagged “Installed from a file” on its settings page. It is never auto-updated by the Store, though the Store still offers an update when it has a newer version of the same package. Users are told the file did not come through the Store, so share builds only with people who know you.

Store submission (reaching everyone)

To reach users who aren’t on your network, publish to the Glassly Miniapp Store. Sign in to the Developer Console once to create your developer org. The org owns a package prefix such as com.example, and every miniapp you publish must have a packageName under it (the scaffolder asks for the prefix so a new project starts out right). Then, from the miniapp folder:
glassly login prints a one-time console.glassly.ai/device link and code, and opens Glassly’s sign-in page so you can approve this machine. Your org, package prefix, releases, and API keys live in the Developer Console. For CI or an AI coding agent that can’t open a browser, an org owner or admin can create an API key on the console’s API keys page and export it as CLI_TOKEN. publish reserves the package name for your org on first use and submits the release for review; the console shows its status. Make sure your miniapp.json is accurate before you publish: its hardwareRequirements decide which glasses can see your miniapp, its permissions drive the OS prompts users see, and its tagline and tags are the copy on your store card. If you only want the artifact, glassly pack writes the same build/<packageName>-<version>.gls without uploading it. Once a release is published, the listing shows in the Glassly Miniapp Store inside the Glassly App and on the web at store.glasslyos.com, at https://store.glasslyos.com/<packageName>. The web Store is browse-only: it shows the same card and detail page and sends visitors to get the Glassly App to install.

Store listing media

The store icon is the icon.png from your bundle. A listing shows two screenshot galleries: “On your phone”, your miniapp’s page in the Glassly App, and “On your glasses”, the glasses display. To ship screenshots with a release, add a store/ folder next to miniapp.json:
Screenshots are PNG or JPEG, at most 2 MB each, up to 8 per gallery, shown in file-name order. Images placed directly in store/screenshots/ count as glasses screenshots. glassly publish uploads the folder with the release, and each gallery the release carries replaces that gallery on the listing; a gallery with no folder keeps its current screenshots. After a release is published, the Developer Console’s miniapp page lets you replace the icon, add, remove or reorder the screenshots of each gallery, and override the tagline, description, and tags without shipping a new version. The simulator takes both kinds: glassly sim screenshot store/screenshots/glasses/01.png for the display, and glassly sim screenshot --phone --tap Skip store/screenshots/phone/01.png for the phone page (it needs Chrome or Chromium).
Camera, photo, and live-streaming features run through the on-glasses Bluetooth stack, not a cloud server. See the Bluetooth SDK docs for those workflows.

Versioning

Bump version in miniapp.json for every release you distribute. The CLI names the artifact <packageName>-<version>.gls, and installed miniapps are stored per version (lmas/<package>/<version>/), so a new version installs cleanly alongside or over the old one.

Next steps

CLI reference

dev, release, pack, and publish in detail.

The manifest

Get permissions and hardware requirements right before you ship.