How blocher/dailyoffice2019 works
Daily Office is a prayer service for following the Anglican Book of Common Prayer: users open a day or office, receive prayer text and readings, and can listen or continue offline. The Vue/Capacitor app presents the experience; Django supplies office content and related services. Distinct branches support calendar and Bible material, audio and podcasts, offline downloads, voice and car access, and psalm chanting. The tree and excerpts establish several native and cache relationships; many backend and frontend routes were not sampled, so their wiring is shown only where evidence supports it.
Main entry points: index.py Office API · main.js App bootstrap · MainViewController.swift iOS app plugins · App.vue Prayer reader
Components 25
App experience
- Prayer reader
app/src/App.vue - App bootstrap
app/src/main.js - Prayer views
app/src/views - Display preferences
app/src/helpers/displayPreferences.js
Prayer content
- Office API
site/office/api/views/index.py - Office content
site/office/models.py - Church calendar
site/churchcal/calculations.py - Bible passages
site/bible/sources.py - Office response cache
site/office/response_cache.py - Edge cache
site/website/edge_cache.py
Audio and offline
- Web offline support
app/src/offline - Offline change log
site/office/offline_content.py - Audio player
app/src/components/AudioPlayer.vue - Podcast service
site/podcasts
Chant and psalms
- Chant pointing
site/psalter/chant/service.py - Psalm data
site/psalter/models.py
Native access
- Android playback
app/android/app/src/main/java/com/dailyoffice2019/app/audio/PlaybackService.java - Android Auto library
app/android/app/src/main/java/com/dailyoffice2019/app/car/OfficeLibrary.kt - Android voice playback
app/android/app/src/main/java/com/dailyoffice2019/app/voice/VoicePlayActivity.kt - Android offline sync
app/android/app/src/main/java/com/dailyoffice2019/app/offline/OfflineSyncWorker.java - iOS app plugins
app/ios/App/App/MainViewController.swift - iOS audio player
app/ios/App/App/OfficePlayer.swift - iOS offline sync
app/ios/App/App/OfflineSyncPlugin.swift - iOS voice intents
app/ios/App/App/Voice/VoiceIntents.swift
Other components
- Prayer reader
Connections 22
- Prayer reader → App bootstrap: opens app
app/src/main.js - App bootstrap → Prayer reader: mounts
app/src/main.js - App bootstrap → Prayer views: installs router
app/src/main.js - App bootstrap → Web offline support: installs
app/src/main.js - Prayer reader → Office API: requests settings
app/src/App.vue - Prayer reader → Display preferences: applies preferences
app/src/App.vue - Prayer views → Office API: loads prayer content
- Office API → Office content: reads content
- Office API → Church calendar: uses calendar
- Office API → Bible passages: gets passages
- Office API → Office response cache: caches responses
- Office response cache → Edge cache: purges
site/office/response_cache.py - Offline change log → Office content: tracks changes
site/office/offline_content.py - Android offline sync → Office API: fetches updates
- Android offline sync → Offline change log: checks changes
- Audio player → Android playback: native playback
- Android playback → Android Auto library: registers library
app/android/app/src/main/java/com/dailyoffice2019/app/audio/PlaybackService.java - Android voice playback → Android playback: starts playback
app/android/app/src/main/java/com/dailyoffice2019/app/voice/VoicePlayActivity.kt - iOS app plugins → iOS audio player: registers plugin
app/ios/App/App/MainViewController.swift - iOS app plugins → iOS offline sync: registers plugin
app/ios/App/App/MainViewController.swift - iOS app plugins → iOS voice intents: registers launch plugin
app/ios/App/App/MainViewController.swift - Chant pointing → Psalm data: reads and saves
site/psalter/chant/service.py