How ravirampg54-dev/app-todo-list works
RPG-Todo is an offline-first task manager with RPG-themed presentation, delivered as a web app and wrapped for Android with Capacitor. Users create and manage tasks, review filtered and daily views, and optionally schedule reminders; task data and preferences are stored locally, with JSON import/export available. The app also supports multiple themes and installable/offline use. The main behavior is concentrated in app.js; the sampled excerpts show its initialization, task and reminder operations, and integrations, but not every internal call.
Main entry points: app.js Task workflow · index.html App interface · sw.js Service worker · MainActivity.java Capacitor bridge
Components 13
Task management
- App interface
RPG-Todo/www/index.html - Task workflow
RPG-Todo/www/app.js - Task views
RPG-Todo/www/app.js - Preferences and themes
RPG-Todo/www/app.js
App services
- Browser storage
RPG-Todo/www/app.js - JSON transfer
RPG-Todo/www/app.js - Reminder scheduling
RPG-Todo/www/app.js
Offline and install
- Service worker
RPG-Todo/www/sw.js - PWA and install
RPG-Todo/www/app.js
Android shell
- Capacitor activity
RPG-Todo/android/app/src/main/java/com/rpgtodo/app/MainActivity.java - Capacitor bridge
RPG-Todo/android/app/src/main/java/com/rpgtodo/app/MainActivity.java
Other components
- User
- Local notifications
Connections 13
- User → App interface: uses
- App interface → Task workflow: triggers
RPG-Todo/www/app.js - Task workflow → Browser storage: loads and saves
RPG-Todo/www/app.js - Task workflow → Task views: updates views
RPG-Todo/www/app.js - Preferences and themes → Browser storage: loads and saves
RPG-Todo/www/app.js - Preferences and themes → Task views: applies theme
RPG-Todo/www/app.js - Task workflow → Reminder scheduling: syncs reminders
RPG-Todo/www/app.js - Reminder scheduling → Local notifications: schedules notifications
RPG-Todo/www/app.js - JSON transfer → Browser storage: transfers task data
RPG-Todo/www/app.js - PWA and install → Service worker: registers
RPG-Todo/www/app.js - Service worker → App interface: caches app shell
RPG-Todo/www/sw.js - Capacitor activity → Capacitor bridge: extends
RPG-Todo/android/app/src/main/java/com/rpgtodo/app/MainActivity.java - Capacitor bridge → App interface: hosts web app