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
help@glassly.ai.
Start from the scaffolder
The fastest path is@glassly/create-miniapp. It writes a ready-to-run project
with both layers wired together. The Quickstart
walks through it end to end.
--type choice only changes the manifest’s hardwareRequirements (display
vs. camera plus microphone). The generated code is the same either way: a glasses
button press calls session.display.render(...), and the WebView UI sends a
ping that the background answers with a pong carrying a roundtrip timestamp.
That gives you a button-to-display path and a UI-to-background path to edit from.
The in-repo reference miniapp
If you’ve cloned the monorepo,miniapps/example-miniapp is the reference app
that consumes the SDK. Its manifest names it “Glassly Example”, and it exercises
more of the surface than the starter does: transcription, text-wall display, TTS,
button events, and an “SDK Tester” UI that drives each session module
(session.camera, session.location, notifications, calendar) page by page.
Run it from the repo to see the SDK working against your phone:
bun dev validates the manifest, builds both layers, serves them over your LAN,
and prints a QR code. In the Glassly App, scan it from Settings → Miniapp
Developer Settings → Scan Miniapp QR Code (phone and laptop on the same Wi-Fi).
First-party miniapps in this repo
These are apps Glassly ships, all underminiapps/. Read them when you want a
real feature rather than a demo. Each builds with bun dev the same way the
example does.
Teleprompter
miniapps/teleprompter: paste a script and read it off the glasses;
scrolling follows your voice or runs at a set speed.Navigation
miniapps/navigation: turn-by-turn walking navigation with compass heading
and Google Maps, driven by session.navigation.Recorder
miniapps/recorder: capture the glasses microphone to a WAV file on your
phone, play it back, and export it. Built on session.mic +
session.blob.Captions
miniapps/captions: live transcription rendered on the display, with a
WebView for language and display settings.Translation
miniapps/translation: translate a detected source language into a target
language and render it on the display.New here? Read the Quickstart first, then
come back and open whichever app above is closest to what you’re building.

