How ezhil04z/omadict-android works
OMADICT is an offline-first English dictionary packaged as an Android app. The user starts a lookup from the home or search UI; the app checks bundled dictionary data and provides offline spelling suggestions, then can enrich results online with synonyms, related words, and definitions. Other user-facing branches include word of the day, saved favorites and history, themes, and pronunciation. The Android activity is a Capacitor host for the web app. The sampled app source is partial, so the graph omits uncertain internal call paths and shows documented capabilities at the app-module level.
Main entry points: app.js UI and lookup controller · index.html Web app shell · MainActivity.java Capacitor Android host · style.css Responsive themes UI
Components 13
App experience
- Web app shell
web/index.html - UI and lookup controller
web/js/app.js - Responsive themes UI
web/css/style.css
Dictionary lookup
- Bundled dictionary
web/js/dict-data.js - Datamuse API
- FreeDictionary API
- Word of the day
web/js/app.js
Personalization
- Favorites and history
web/js/app.js - Theme preferences
web/js/app.js - Browser localStorage
Android platform
- System text-to-speech
- Capacitor Android host
android/app/src/main/java/com/omadict/app/MainActivity.java
Other components
- User
Connections 13
- User → Web app shell: opens
- Web app shell → UI and lookup controller: loads
- UI and lookup controller → Bundled dictionary: looks up offline
- UI and lookup controller → Datamuse API: fetches suggestions and relations
- UI and lookup controller → FreeDictionary API: fetches definitions
- UI and lookup controller → Word of the day: shows daily word
- UI and lookup controller → Favorites and history: manages saved words
- UI and lookup controller → Theme preferences: applies themes
- Favorites and history → Browser localStorage: reads and writes
- Theme preferences → Browser localStorage: reads and writes
- UI and lookup controller → System text-to-speech: requests pronunciation
- Capacitor Android host → Web app shell: hosts
- Web app shell → Responsive themes UI: uses styles