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.Share feedback with an in-app bug report, on
Discord, or by email at
[email protected].
Building a mobile app that connects directly to glasses over Bluetooth? Use the
Bluetooth SDK Quickstart instead.
Step 1: Install the Glassly App
Install the Glassly App on your Android or iPhone from glassly.ai/OS, sign in, and connect your glasses (if you have them).Step 2: Scaffold a project
com.example), and
the kind of glasses you’re targeting (display glasses like Even Realities
G1/G2 and Vuzix Z100, or camera glasses like Mentra Live), then generates a
ready-to-run two-layer project.
bun install pulls in @glassly/miniapp
(the runtime) and @glassly/cli
(the glassly command) automatically.
Step 3: Start the dev server
miniapp.json, builds both layers, serves them over your
LAN, and prints a QR code plus a miniapp://dev?... URL. It hot-reloads on
save and forwards the miniapp’s console logs back to your terminal.
Step 4: Load it on your phone
In the Glassly App, go to Settings → Miniapp Developer Settings → Scan Miniapp QR Code and scan the QR from your terminal.Your phone and your laptop must be on the same Wi-Fi network.
bun dev
watches for Wi-Fi changes and reprints the QR if your LAN IP moves.Understanding the starter
A scaffolded miniapp has two entry points wired together by a shared, typed channel registry:session and all glasses logic:
src/background/index.ts
glassly. It has no
direct hardware access:
src/ui/App.tsx
src/shared/channels.ts
Next steps
Two-layer architecture
How background and UI work and communicate.
The session
Every capability you can reach on the glasses.
The manifest
Permissions, hardware requirements, and entry points.
Ship it
Pack a release and put it in front of users.

