Expo companion app for Glance G2 — a personal dashboard aggregator for Even Realities G2 smart glasses.
This mobile app is the data source. It reads Apple Calendar, fetches
weather/finance/RSS from public APIs, builds a card snapshot, and pushes it to
a glance-backend server every 60 seconds. The glance-g2 app on the glasses
streams from that backend via SSE and rotates through the cards.
- Meeting card — nearest non-all-day calendar event in next 24h
- Weather card — OpenWeather by city (user-provided API key)
- Finance card — Alpha Vantage GLOBAL_QUOTE (user-provided key)
- RSS headlines — minimal regex-based parser, no deps
- Battery / activity cards — placeholders for future HealthKit integration
- Dark-themed settings UI, card selector, force-refresh button
glance-mobile/
App.tsx Settings screen
src/
state.ts AppState + card types
storage.ts AsyncStorage wrapper
calendar.ts expo-calendar wrapper (getNextMeeting)
weather.ts OpenWeather fetcher
finance.ts Alpha Vantage fetcher
rss.ts Regex RSS/Atom parser
cards.ts Builds CardSnapshot from all sources
backend.ts POSTs snapshot to glance-backend
glance-backend/ Express + SSE server (see its README)
npm install
npm start
Point the backend URL at your running glance-backend (default
http://localhost:8790).
glance-mobile (Expo)
|
| POST /snapshot (every 60s)
v
glance-backend (Express + SSE)
|
| SSE /stream
v
glance-g2 (Even Hub SDK)
v0.1.0