Liturgy of the Hours app for Even Realities G2 smart glasses.
Displays the Divine Office prayers on the glasses as a smooth-scrolling teleprompter. Prayer text is sourced from divineoffice.org.
- A Node.js backend scrapes and parses prayer content from divineoffice.org
- A companion web app (Vite + TypeScript) runs on the phone and connects to the glasses via the Even Hub SDK
- Prayer text is pre-rendered onto an off-screen canvas and streamed to the glasses as image tiles for pixel-smooth scrolling
_shared/ Shared utilities (vite config, event helpers, styles)
liturgy/
src/ Companion app + glasses controller
server/ Express backend (scraper + cache)
cd liturgy/server
npm install
npx tsx src/index.tsRuns on port 3210. Endpoints:
GET /api/hours?date=YYYYMMDD— list available hoursGET /api/hour/:slug?date=YYYYMMDD— parsed prayer sectionsGET /api/health— health check
cd liturgy
npm install
npm run devnpx @evenrealities/evenhub-simulator@latest http://localhost:5179- Hour list: Scroll to navigate, tap to select
- Reading: Scroll up/down to move through text, tap to pause/resume auto-scroll, double-tap to exit
Configurable from the companion UI:
- Scroll mode (manual / auto-scroll)
- Auto-scroll speed
- Font size, weight, letter spacing
- Display columns (1 = narrow/tall, 2 = wide)
- Visible hours (toggle individual hours on/off)