How rand-h/mofonaina-app works
Mofonaina is a multilingual web/mobile devotional app. The documented user journey centers on daily and annual devotional reading, with Bible reading and hymnbooks as major companion features. Sampled code shows the Bible page controller invoking its Bible API, and the hymn API fetching categorized JSON data. The README documents AI verse explanations, but implementation details and several app entry points are absent from the supplied excerpts, so those relationships are shown only where documented or left unconnected.
Main entry points: app.js Bible page controller · FihiranaAPI.js Hymnbook API · verset_chaque_jour.json Daily reading · mofonaina_full_2026.json Annual program
Components 12
Daily devotion
- Daily reading
data/verset_chaque_jour.json - Annual program
data/mofonaina_full_2026.json - AI verse explanations
Bible reading
- Bible page controller
APIs/BibleAPI/app.js - Bible data and reading API
APIs/BibleAPI/BibleAPI.js - Bible versions
data/baiboly/bible_versions.json - Bible text datasets
data/baiboly - Version comparison
APIs/BibleAPI/BibleAPI.js
Hymnbooks
- Hymnbook API
APIs/FihiranaAPI/FihiranaAPI.js - Hymn collections
data/fihirana
Language support
- Three-language interface
Other components
- Reader
Connections 9
- Reader → Daily reading: reads daily
README.md - Reader → Annual program: follows program
README.md - Reader → AI verse explanations: requests explanation
README.md - Reader → Bible page controller: opens Bible
README.md - Bible page controller → Bible data and reading API: calls
APIs/BibleAPI/app.js - Reader → Version comparison: compares versions
README.md - Reader → Hymnbook API: reads hymns
README.md - Hymnbook API → Hymn collections: fetches JSON
APIs/FihiranaAPI/FihiranaAPI.js - Reader → Three-language interface: uses app
README.md