Skip to content

aleapc/glance-g2

Repository files navigation

Glance G2

Personal dashboard aggregator for Even Realities G2 smart glasses.

Glance shows rotating contextual cards on your glasses:

  • Next meeting (Apple Calendar)
  • Weather (OpenWeather)
  • Finance quotes (Alpha Vantage)
  • Battery levels
  • Activity (HealthKit — roadmap)
  • Unread email count (roadmap)
  • Reminders (roadmap)
  • RSS headlines

Cards rotate every 5 seconds. Scroll to pause and navigate manually. Tap a card to expand, double-tap to exit. When a calendar meeting is starting in <5 minutes, Glance auto-switches to meeting mode — a large layout with title, time, and attendees.

Architecture

glance-mobile (Expo) --POST--> glance-backend (SSE) <--SSE-- glance-g2

The mobile companion reads your calendar, weather, finance and RSS data and POSTs a card snapshot to a small backend every 60 seconds. The G2 app streams snapshots from that backend and renders them on the glasses using pixel-art icons (72x72, 16-grey, upng-js).

Build

npm install
npm run build
npm run pack    # produces glance-v0.1.0.ehpk
npm run sim     # launch EvenHub simulator

Runtime SDK quirks handled

  • sysEvent fallback for real G2 hardware taps/scrolls
  • eventType 0 (CLICK) normalized from undefined
  • Text rotation via TextContainerUpgrade — no rebuild flicker
  • Pixel art via the dummy page → rebuild → updateImageRawData sequence

See the companion repos: glance-mobile.

v0.1.0

About

Personal dashboard aggregator for Even Realities G2 glasses

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors