Skip to content

sangularvilue/Even-LotH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Even-LotH

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.

How it works

  • 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

Project structure

_shared/            Shared utilities (vite config, event helpers, styles)
liturgy/
  src/              Companion app + glasses controller
  server/           Express backend (scraper + cache)

Setup

Backend server

cd liturgy/server
npm install
npx tsx src/index.ts

Runs on port 3210. Endpoints:

  • GET /api/hours?date=YYYYMMDD — list available hours
  • GET /api/hour/:slug?date=YYYYMMDD — parsed prayer sections
  • GET /api/health — health check

Companion app

cd liturgy
npm install
npm run dev

Testing with the emulator

npx @evenrealities/evenhub-simulator@latest http://localhost:5179

Glasses controls

  • 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

Settings

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)

About

Liturgy of the Hours reader for Even G2 glasses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors