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.
The Reader shows long text without scrolling. It marks one line and moves down the text at the wearer’s reading speed: the marked line stays just above the middle, read lines dim, and a status row shows the title, how far the wearer is, the speed and the time left. Reddit reads posts and comments with it, and News reads stories.
Call it from the background side. It needs no manifest permission. While it is open it draws the glasses and listens to touches, so skip your own touch handling while reader.isOpen and draw your screen again when it closes.

Text and stops

sections are read in order. Each takes text, an optional label drawn above it, an optional status that replaces the title in the status row, and an optional stop: an end screen after that section with a heading and what a tap does. A tap without an action reads on into the next section, so Reddit stops after the post (“tap top comments (12)”) and reads the comments after a tap. The last section always ends on an end screen. hold: {action, label} makes hold emit your action anywhere in the Reader. reader.toast(text) shows a 2-second message such as ”★ Saved”. reader.update({sections}) adds text that arrives later without moving the wearer’s place. start: {part, percent} opens at a saved place: use the percent from the Reader’s progress events.

Gestures

The Reader claims double_tap while it is open, so the first double tap leaves the Reader and the next leaves your app.

The wearer’s speed

Wearers have one reading speed for all of Glassly, along with starting by itself, a beat at paragraph ends and the highlight style. A speed change on the glasses becomes their speed everywhere. Your app never stores it; the Reader applies it. These are platform settings any miniapp may read and change, and the wearer edits them on the phone page of an app that reads: add a Reading section with followReadingSettings from @glassly/miniapp/reader in the background and the UI kit’s <ReadingSection> on the page. See reading settings. The full reference is in the SDK’s reader.md.